aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2010-10-15 14:42:48 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2010-10-15 14:42:48 +0000
commit51223530db7189ff7252cc7fc7319c6bb61067bc (patch)
tree45a88aac1640aa8ac1f4277a305cde47d03042e7
parent257678796f542b3de354784bb7309b8e5d9f4b6d (diff)
downloadports-51223530db7189ff7252cc7fc7319c6bb61067bc.tar.gz
ports-51223530db7189ff7252cc7fc7319c6bb61067bc.zip
Notes
-rw-r--r--devel/p5-Test-Pod/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/devel/p5-Test-Pod/Makefile b/devel/p5-Test-Pod/Makefile
index 20f55df59248..9a1bb03a659a 100644
--- a/devel/p5-Test-Pod/Makefile
+++ b/devel/p5-Test-Pod/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Test-Pod
PORTVERSION= 1.44
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,11 +15,14 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Check for POD errors in files
-BUILD_DEPENDS= ${SITE_PERL}/Pod/Simple.pm:${PORTSDIR}/textproc/p5-Pod-Simple
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
PERL_MODBUILD= yes
MAN3= Test::Pod.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500905
+RUN_DEPENDS+= p5-Pod-Simple>=3.05:${PORTSDIR}/textproc/p5-Pod-Simple
+.endif
+
+.include <bsd.port.post.mk>