aboutsummaryrefslogtreecommitdiff
path: root/www/p5-Template-Plugin-JSON
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2015-06-24 16:29:25 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2015-06-24 16:29:25 +0000
commitbd48f3018817b3e74bc4dc371e6a072649b0abbf (patch)
treee6273a1c16a31c1f575721d9eb86248e44b517d3 /www/p5-Template-Plugin-JSON
parent3a660746f7cc25b8eec1756e4c88d9b71da0da3c (diff)
downloadports-bd48f3018817b3e74bc4dc371e6a072649b0abbf.tar.gz
ports-bd48f3018817b3e74bc4dc371e6a072649b0abbf.zip
Notes
Diffstat (limited to 'www/p5-Template-Plugin-JSON')
-rw-r--r--www/p5-Template-Plugin-JSON/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/www/p5-Template-Plugin-JSON/Makefile b/www/p5-Template-Plugin-JSON/Makefile
index ba12a49bbcef..b080bd6622b5 100644
--- a/www/p5-Template-Plugin-JSON/Makefile
+++ b/www/p5-Template-Plugin-JSON/Makefile
@@ -14,9 +14,14 @@ BUILD_DEPENDS= p5-JSON>=2.12:${PORTSDIR}/converters/p5-JSON \
p5-Moose>0:${PORTSDIR}/devel/p5-Moose \
p5-Template-Toolkit>=2.20:${PORTSDIR}/www/p5-Template-Toolkit
RUN_DEPENDS:= ${BUILD_DEPENDS}
-TEST_DEPENDS= p5-Test-use-ok>=0:${PORTSDIR}/devel/p5-Test-use-ok
USES= perl5
USE_PERL5= configure
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 502200
+TEST_DEPENDS+= p5-Test-Simple>=1.001.014:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>