aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-ExtUtils-PkgConfig/Makefile
blob: edc7d802c15712b4e5de7726595c6bb407380447 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# New ports collection makefile for:    ExtUtils-PkgConfig
# Date created:    18 October 2003
# Whom:        Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#

PORTNAME=   ExtUtils-PkgConfig
PORTVERSION=    1.03
CATEGORIES= devel perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ExtUtils
PKGNAMEPREFIX=  p5-

MAINTAINER= skv@FreeBSD.org
COMMENT=    Simplistic interface to pkg-config

RUN_DEPENDS=    pkg-config:${PORTSDIR}/devel/pkgconfig

PERL_CONFIGURE= yes

MAN3=       ExtUtils::PkgConfig.3

post-patch:
    @${PERL} -pi -e '$$_="" if $$.==1' ${WRKSRC}/Makefile.PL

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500800
EXTRA_PATCHES=  ${PATCHDIR}/500600-Makefile.PL
.endif

.include <bsd.port.post.mk>