merge modification from the upgrade proposed in PR:

- p5-POE-Test-Loops expected is >=1.050
- add dependency on p5-IO depending on the version perl

PR:		ports/156501
Submitted by:	Jase Thew <freebsd _at_ beardz.net>
This commit is contained in:
Baptiste Daroussin 2011-04-23 06:44:52 +00:00
parent 96fd8e451a
commit 8a3adf20f7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=273087

View file

@ -18,7 +18,7 @@ LICENSE_COMB= dual
LICENSE= ART20 GPLv1
BUILD_DEPENDS= p5-IO-Tty>=1.08:${PORTSDIR}/devel/p5-IO-Tty \
p5-POE-Test-Loops>=1.040:${PORTSDIR}/devel/p5-POE-Test-Loops
p5-POE-Test-Loops>=1.050:${PORTSDIR}/devel/p5-POE-Test-Loops
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
@ -46,6 +46,13 @@ 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}"
@ -56,4 +63,4 @@ post-install:
test: build
@(cd ${WRKSRC}; make test)
.include <bsd.port.mk>
.include <bsd.port.post.mk>