aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-Pod-Tree
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2012-03-13 16:15:36 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2012-03-13 16:15:36 +0000
commitb59621d3ae883bef429a8fae6073bfa293a55222 (patch)
treeb415c7b2903cf47ada68c5557c3c6ac33a25fc41 /textproc/p5-Pod-Tree
parente93c09b8f3675471a176b72ae1e6f085f7a607ad (diff)
Notes
Diffstat (limited to 'textproc/p5-Pod-Tree')
-rw-r--r--textproc/p5-Pod-Tree/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/textproc/p5-Pod-Tree/Makefile b/textproc/p5-Pod-Tree/Makefile
index 66838ed82e41..a145acba97c1 100644
--- a/textproc/p5-Pod-Tree/Makefile
+++ b/textproc/p5-Pod-Tree/Makefile
@@ -18,7 +18,7 @@ COMMENT= Create a static syntax tree for a POD
RUN_DEPENDS= p5-HTML-Stream>=1.49:${PORTSDIR}/www/p5-HTML-Stream \
p5-IO-String>=1:${PORTSDIR}/devel/p5-IO-String \
p5-Text-Template>=1:${PORTSDIR}/textproc/p5-Text-Template
-BUILD_DEPENDS:= ${RUN_DEPENDS}
+BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
@@ -41,4 +41,10 @@ post-patch:
${REINPLACE_CMD} -e '/pod2html/d' ${WRKSRC}/MANIFEST
${RM} ${WRKSRC}/t/pod2html.t
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500903
+RUN_DEPENDS+= p5-Pod-Escapes>=1.02:${PORTSDIR}/textproc/p5-Pod-Escapes
+.endif
+
+.include <bsd.port.post.mk>