aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Smart-Comments/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-Smart-Comments/Makefile')
-rw-r--r--devel/p5-Smart-Comments/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/devel/p5-Smart-Comments/Makefile b/devel/p5-Smart-Comments/Makefile
index 142665c608fd..d5ca21bd06a1 100644
--- a/devel/p5-Smart-Comments/Makefile
+++ b/devel/p5-Smart-Comments/Makefile
@@ -20,4 +20,14 @@ PERL_MODBUILD= yes
MAN3= Smart::Comments.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500900
+RUN_DEPENDS+= p5-version>=0:${PORTSDIR}/devel/p5-version
+.endif
+
+.if ${PERL_LEVEL} < 500905
+RUN_DEPENDS+= p5-Text-Balanced>=2:${PORTSDIR}/textproc/p5-Text-Balanced
+.endif
+
+.include <bsd.port.post.mk>