diff options
author | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2012-03-13 16:15:36 +0000 |
---|---|---|
committer | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2012-03-13 16:15:36 +0000 |
commit | b59621d3ae883bef429a8fae6073bfa293a55222 (patch) | |
tree | b415c7b2903cf47ada68c5557c3c6ac33a25fc41 /devel/p5-POE | |
parent | e93c09b8f3675471a176b72ae1e6f085f7a607ad (diff) | |
download | ports-b59621d3ae883bef429a8fae6073bfa293a55222.tar.gz ports-b59621d3ae883bef429a8fae6073bfa293a55222.zip |
Notes
Diffstat (limited to 'devel/p5-POE')
-rw-r--r-- | devel/p5-POE/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/devel/p5-POE/Makefile b/devel/p5-POE/Makefile index 9d3d15d68b8c..1a314005dfe5 100644 --- a/devel/p5-POE/Makefile +++ b/devel/p5-POE/Makefile @@ -56,6 +56,12 @@ MAN3= POE.3 POE::Component.3 POE::Component::Client::TCP.3 \ POE::Wheel::ReadWrite.3 POE::Wheel::Run.3 \ POE::Wheel::SocketFactory.3 +.include <bsd.port.pre.mk> +.if ${PERL_LEVEL} < 501001 +BUILD_DEPENDS+= p5-IO>=1.24:${PORTSDIR}/devel/p5-IO +RUN_DEPENDS+= p5-IO>=1.24:${PORTSDIR}/devel/p5-IO +.endif + post-install: .ifndef(NOPORTEXAMPLES) @${ECHO_MSG} "===> Installing examples for ${PKGNAME}" @@ -63,4 +69,7 @@ post-install: ${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${EXAMPLESDIR} .endif -.include <bsd.port.mk> +test: build + @(cd ${WRKSRC}; make test) + +.include <bsd.port.post.mk> |