aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-MooseX-POE
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-01-26 14:53:49 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-01-26 14:53:49 +0000
commitacaa871bee014c82b4eba7befcd2e7b9955e21d9 (patch)
treeec39448425e9e8ce869b31eafc0c98e6d66a196b /devel/p5-MooseX-POE
parentf01e0d99a9de8299b2f2b97b6127026e239b7d5e (diff)
downloadports-acaa871bee014c82b4eba7befcd2e7b9955e21d9.tar.gz
ports-acaa871bee014c82b4eba7befcd2e7b9955e21d9.zip
Notes
Diffstat (limited to 'devel/p5-MooseX-POE')
-rw-r--r--devel/p5-MooseX-POE/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/devel/p5-MooseX-POE/Makefile b/devel/p5-MooseX-POE/Makefile
index 0e4711eaf772..7830fb32b658 100644
--- a/devel/p5-MooseX-POE/Makefile
+++ b/devel/p5-MooseX-POE/Makefile
@@ -23,9 +23,9 @@ BUILD_DEPENDS= p5-Moose>=0.90:${PORTSDIR}/devel/p5-Moose \
p5-Sub-Name>=0:${PORTSDIR}/devel/p5-Sub-Name
RUN_DEPENDS:= ${BUILD_DEPENDS}
-TEST_DEPENDS= p5-Test-Simple>=0.89:${PORTSDIR}/devel/p5-Test-Simple \
- p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception \
- p5-Test-Fatal>=0:${PORTSDIR}/devel/p5-Test-Fatal
+TEST_DEPENDS= p5-MooseX-Daemonize>=0:${PORTSDIR}/devel/p5-MooseX-Daemonize \
+ p5-MooseX-Declare>=0:${PORTSDIR}/devel/p5-MooseX-Declare \
+ p5-Test-Fatal>=0.003:${PORTSDIR}/devel/p5-Test-Fatal
PERL_CONFIGURE= yes
@@ -44,4 +44,10 @@ MAN3= MooseX::POE.3 \
post-extract:
@${PERL} -i -ne 'print unless m,build_requires,' ${WRKSRC}/Makefile.PL
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501001
+TEST_DEPENDS+= p5-Test-Simple>=0.90:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>