aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-ExtUtils-ParseXS
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2009-04-03 09:56:31 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2009-04-03 09:56:31 +0000
commit059170763f4513d1568817fe6e387307787a27e9 (patch)
tree82d3c3ef5374b43907cee427e7c4bb8c10313f3f /devel/p5-ExtUtils-ParseXS
parent8d0083b178eb77052593df9ceede4750d3621f92 (diff)
downloadports-059170763f4513d1568817fe6e387307787a27e9.tar.gz
ports-059170763f4513d1568817fe6e387307787a27e9.zip
Notes
Diffstat (limited to 'devel/p5-ExtUtils-ParseXS')
-rw-r--r--devel/p5-ExtUtils-ParseXS/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/devel/p5-ExtUtils-ParseXS/Makefile b/devel/p5-ExtUtils-ParseXS/Makefile
index 52bdaaf61198..ba528274356f 100644
--- a/devel/p5-ExtUtils-ParseXS/Makefile
+++ b/devel/p5-ExtUtils-ParseXS/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ExtUtils-ParseXS
PORTVERSION= 2.19
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,11 +15,15 @@ PKGNAMEPREFIX= p5-
MAINTAINER= demon@FreeBSD.org
COMMENT= Converts Perl XS code into C code
-BUILD_DEPENDS= ${SITE_PERL}/ExtUtils/CBuilder.pm:${PORTSDIR}/devel/p5-ExtUtils-CBuilder
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
PERL_CONFIGURE= yes
MAN3= ExtUtils::ParseXS.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500903
+BUILD_DEPENDS+= p5-ExtUtils-CBuilder>=0:${PORTSDIR}/devel/p5-ExtUtils-CBuilder
+RUN_DEPENDS+= ${BUILD_DEPENDS}
+.endif
+
+.include <bsd.port.post.mk>