aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-Pod-Strip
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2009-04-13 05:38:50 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2009-04-13 05:38:50 +0000
commit8a11f9b3741d46424f20438c6c83d520092ee4ad (patch)
treec765d660e597d80c4b051292e6ef17e7428c7d87 /textproc/p5-Pod-Strip
parent33bd043b66236a1ed087a6c44dd2a4c015471aea (diff)
downloadports-8a11f9b3741d46424f20438c6c83d520092ee4ad.tar.gz
ports-8a11f9b3741d46424f20438c6c83d520092ee4ad.zip
Notes
Diffstat (limited to 'textproc/p5-Pod-Strip')
-rw-r--r--textproc/p5-Pod-Strip/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/textproc/p5-Pod-Strip/Makefile b/textproc/p5-Pod-Strip/Makefile
index 73f0f7cf2a7b..d2bd1399c56f 100644
--- a/textproc/p5-Pod-Strip/Makefile
+++ b/textproc/p5-Pod-Strip/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Pod-Strip
PORTVERSION= 1.02
+PORTREVISION= 1
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= Pod
@@ -15,11 +16,15 @@ PKGNAMEPREFIX= p5-
MAINTAINER= clsung@FreeBSD.org
COMMENT= Remove POD from Perl code
-RUN_DEPENDS= ${SITE_PERL}/Pod/Simple.pm:${PORTSDIR}/textproc/p5-Pod-Simple
-BUILD_DEPENDS= ${RUN_DEPENDS}
-
PERL_MODBUILD= yes
MAN3= Pod::Strip.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500903
+RUN_DEPENDS+= p5-Pod-Simple>=3.00:${PORTSDIR}/textproc/p5-Pod-Simple
+BUILD_DEPENDS+= ${RUN_DEPENDS}
+.endif
+
+.include <bsd.port.post.mk>