summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/p5-Pod-Parser/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/textproc/p5-Pod-Parser/Makefile b/textproc/p5-Pod-Parser/Makefile
index b4a71d0445cc..a017fba1ef3f 100644
--- a/textproc/p5-Pod-Parser/Makefile
+++ b/textproc/p5-Pod-Parser/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Pod-Parser
PORTVERSION= 1.35
+PORTREVISION= 1
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -27,4 +28,10 @@ post-patch:
@${REINPLACE_CMD} -e '/EXE_FILES/d' ${WRKSRC}/Makefile.PL
@${FIND} ${WRKSRC} -name \*.orig -exec ${RM} {} \;
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500808
+BUILD_DEPENDS+= p5-Test-Simple>=0.60:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>