aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Carp-Assert-More
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2008-10-01 08:03:26 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2008-10-01 08:03:26 +0000
commit078ee20cbcf1ceb593a17e91d0270f5eb461a5fc (patch)
treeeda9079377dbe8c3ab936564edc68980d9d623da /devel/p5-Carp-Assert-More
parentd31e3e47eab331d5fc342c7860e2d30704232aa3 (diff)
downloadports-078ee20cbcf1ceb593a17e91d0270f5eb461a5fc.tar.gz
ports-078ee20cbcf1ceb593a17e91d0270f5eb461a5fc.zip
Notes
Diffstat (limited to 'devel/p5-Carp-Assert-More')
-rw-r--r--devel/p5-Carp-Assert-More/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/devel/p5-Carp-Assert-More/Makefile b/devel/p5-Carp-Assert-More/Makefile
index 00bc6dcada11..a735fa149a05 100644
--- a/devel/p5-Carp-Assert-More/Makefile
+++ b/devel/p5-Carp-Assert-More/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Carp-Assert-More
PORTVERSION= 1.12
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,14 +15,17 @@ PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
COMMENT= Convenience wrappers around Carp::Assert
-BUILD_DEPENDS= ${SITE_PERL}/Carp/Assert.pm:${PORTSDIR}/devel/p5-Carp-Assert \
- ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \
- ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils \
- ${SITE_PERL}/Test/Exception.pm:${PORTSDIR}/devel/p5-Test-Exception
-RUN_DEPENDS= ${BUILD_DEPENDS}
+BUILD_DEPENDS= p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception
+RUN_DEPENDS= p5-Carp-Assert>=0:${PORTSDIR}/devel/p5-Carp-Assert
MAN3= Carp::Assert::More.3
PERL_CONFIGURE= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+RUN_DEPENDS+= p5-Scalar-List-Utils>=0:${PORTSDIR}/lang/p5-Scalar-List-Utils
+.endif
+
+.include <bsd.port.post.mk>