aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-Text-Padding/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/p5-Text-Padding/Makefile')
-rw-r--r--textproc/p5-Text-Padding/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/textproc/p5-Text-Padding/Makefile b/textproc/p5-Text-Padding/Makefile
index e44b29b8be46..e0834309c086 100644
--- a/textproc/p5-Text-Padding/Makefile
+++ b/textproc/p5-Text-Padding/Makefile
@@ -22,8 +22,14 @@ RUN_DEPENDS= p5-Moose>=0:${PORTSDIR}/devel/p5-Moose \
p5-MooseX-Has-Sugar>=0:${PORTSDIR}/devel/p5-MooseX-Has-Sugar \
p5-Text-Truncate>=0:${PORTSDIR}/textproc/p5-Text-Truncate
-PERL_MODBUILD= yes
+PERL_MODBUILD= 5.12.0+
MAN3= Text::Padding.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501001
+TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>