aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-Pod-Simple
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/p5-Pod-Simple')
-rw-r--r--textproc/p5-Pod-Simple/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/textproc/p5-Pod-Simple/Makefile b/textproc/p5-Pod-Simple/Makefile
index f60532e36e35..a068ccda99b7 100644
--- a/textproc/p5-Pod-Simple/Makefile
+++ b/textproc/p5-Pod-Simple/Makefile
@@ -6,6 +6,7 @@
PORTNAME= Pod-Simple
PORTVERSION= 3.07
+PORTREVISION= 1
CATEGORIES= textproc devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -13,10 +14,6 @@ PKGNAMEPREFIX= p5-
MAINTAINER= mat@FreeBSD.org
COMMENT= Framework for parsing Pod
-BUILD_DEPENDS= ${SITE_PERL}/Text/Wrap.pm:${PORTSDIR}/textproc/p5-Text-Tabs+Wrap \
- ${SITE_PERL}/Pod/Escapes.pm:${PORTSDIR}/textproc/p5-Pod-Escapes
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
PERL_CONFIGURE= yes
MAN3= Pod::Simple.3 \
@@ -44,4 +41,10 @@ MAN3= Pod::Simple.3 \
perlpod.3 \
perlpodspec.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500903
+RUN_DEPENDS+= p5-Pod-Escapes>=1.04:${PORTSDIR}/textproc/p5-Pod-Escapes
+.endif
+
+.include <bsd.port.post.mk>