aboutsummaryrefslogtreecommitdiff
path: root/www/p5-Catalyst-Controller-BindLex/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/p5-Catalyst-Controller-BindLex/Makefile')
-rw-r--r--www/p5-Catalyst-Controller-BindLex/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/www/p5-Catalyst-Controller-BindLex/Makefile b/www/p5-Catalyst-Controller-BindLex/Makefile
index 99291c736194..0c94bc3f2039 100644
--- a/www/p5-Catalyst-Controller-BindLex/Makefile
+++ b/www/p5-Catalyst-Controller-BindLex/Makefile
@@ -3,7 +3,7 @@
PORTNAME= Catalyst-Controller-BindLex
PORTVERSION= 0.03
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:NUFFIN
@@ -19,11 +19,16 @@ BUILD_DEPENDS= p5-Catalyst-Runtime>=0:${PORTSDIR}/www/p5-Catalyst-Runtime \
p5-Array-RefElem>=0:${PORTSDIR}/misc/p5-Array-RefElem \
p5-Devel-Caller>=0:${PORTSDIR}/devel/p5-Devel-Caller \
p5-Devel-LexAlias>=0:${PORTSDIR}/devel/p5-Devel-LexAlias \
- p5-PadWalker>=0:${PORTSDIR}/devel/p5-PadWalker \
- p5-Test-use-ok>=0:${PORTSDIR}/devel/p5-Test-use-ok
+ p5-PadWalker>=0:${PORTSDIR}/devel/p5-PadWalker
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= modbuild
-.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>