aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Parse-CPAN-Packages/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-Parse-CPAN-Packages/Makefile')
-rw-r--r--devel/p5-Parse-CPAN-Packages/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/devel/p5-Parse-CPAN-Packages/Makefile b/devel/p5-Parse-CPAN-Packages/Makefile
index a0a28844d3fd..835e16fb0654 100644
--- a/devel/p5-Parse-CPAN-Packages/Makefile
+++ b/devel/p5-Parse-CPAN-Packages/Makefile
@@ -30,4 +30,13 @@ MAN3= Parse::CPAN::Packages.3 \
Parse::CPAN::Packages::Distribution.3 \
Parse::CPAN::Packages::Package.3
-.include <bsd.port.mk>
+regression-test: build
+ cd ${WRKSRC}/ && ${MAKE} test
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500903
+RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
+.endif
+
+.include <bsd.port.post.mk>