aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-File-HomeDir-PathClass/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-File-HomeDir-PathClass/Makefile')
-rw-r--r--devel/p5-File-HomeDir-PathClass/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/devel/p5-File-HomeDir-PathClass/Makefile b/devel/p5-File-HomeDir-PathClass/Makefile
index 0fc2770db5d9..ed4938dce45c 100644
--- a/devel/p5-File-HomeDir-PathClass/Makefile
+++ b/devel/p5-File-HomeDir-PathClass/Makefile
@@ -22,8 +22,14 @@ RUN_DEPENDS= p5-File-HomeDir>=0.93:${PORTSDIR}/devel/p5-File-HomeDir \
p5-Path-Class>=0:${PORTSDIR}/devel/p5-Path-Class \
p5-Sub-Exporter>=0:${PORTSDIR}/devel/p5-Sub-Exporter
-PERL_MODBUILD= yes
+PERL_MODBUILD= 5.10.0+
MAN3= File::HomeDir::PathClass.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>