aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Object-Pluggable/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-Object-Pluggable/Makefile')
-rw-r--r--devel/p5-Object-Pluggable/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/p5-Object-Pluggable/Makefile b/devel/p5-Object-Pluggable/Makefile
index 600286596587..e058d227df71 100644
--- a/devel/p5-Object-Pluggable/Makefile
+++ b/devel/p5-Object-Pluggable/Makefile
@@ -27,6 +27,12 @@ MAN3= Object::Pluggable.3 \
Object::Pluggable::Constants.3 \
Object::Pluggable::Pipeline.3
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501001
+BUILD_DEPENDS+= p5-Pod-Parser>=1.36:${PORTSDIR}/textproc/p5-Pod-Parser
+.endif
+
post-install:
.ifndef(NOPORTEXAMPLES)
@${ECHO_MSG} "===> Installing examples for ${PKGNAME}"
@@ -34,4 +40,4 @@ post-install:
${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${EXAMPLESDIR}/
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>