aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Devel-Cover
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-09-17 07:36:42 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-09-17 07:36:42 +0000
commitee1a1fa7d5fe75a7d6ddae67073c3a417a064dc6 (patch)
treef34bd4cf5f296138e9fc82e2f50291f2a38cc20c /devel/p5-Devel-Cover
parent8bb921a38566c8a2e43edc4104a46b4ba19813c8 (diff)
Notes
Diffstat (limited to 'devel/p5-Devel-Cover')
-rw-r--r--devel/p5-Devel-Cover/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/devel/p5-Devel-Cover/Makefile b/devel/p5-Devel-Cover/Makefile
index 1910e8c45915..66cc5358e704 100644
--- a/devel/p5-Devel-Cover/Makefile
+++ b/devel/p5-Devel-Cover/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Devel-Cover
PORTVERSION= 0.79
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -20,9 +21,7 @@ LICENSE_COMB= dual
BUILD_DEPENDS= p5-Template-Toolkit>=2:${PORTSDIR}/www/p5-Template-Toolkit \
p5-Pod-Coverage>=0.06:${PORTSDIR}/devel/p5-Pod-Coverage \
p5-PPI-HTML>=1.07:${PORTSDIR}/textproc/p5-PPI-HTML \
- p5-JSON-PP>=0:${PORTSDIR}/converters/p5-JSON-PP \
p5-Parallel-Iterator>=0:${PORTSDIR}/devel/p5-Parallel-Iterator
-
RUN_DEPENDS:= ${BUILD_DEPENDS}
TEST_DEPENDS= p5-Test-Differences>=0:${PORTSDIR}/devel/p5-Test-Differences \
@@ -76,4 +75,11 @@ post-install:
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501400
+BUILD_DEPENDS+= p5-JSON-PP>=0:${PORTSDIR}/converters/p5-JSON-PP
+RUN_DEPENDS+= p5-JSON-PP>=0:${PORTSDIR}/converters/p5-JSON-PP
+.endif
+
+.include <bsd.port.post.mk>