aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-08-25 12:29:02 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-08-25 12:29:02 +0800
commitcf5937af2e213270e2010a02ed8b3240c59d2b6b (patch)
tree92d6c2c21bd5bea2e9d1c2879f0e9755fbe39b71
parentbc03212467504bef11d6845ed28f66d7e0550810 (diff)
downloadfreebsd-ports-gnome-cf5937af2e213270e2010a02ed8b3240c59d2b6b.tar.gz
freebsd-ports-gnome-cf5937af2e213270e2010a02ed8b3240c59d2b6b.tar.zst
freebsd-ports-gnome-cf5937af2e213270e2010a02ed8b3240c59d2b6b.zip
- Sort *_DEPENDS
- Convert to new options framework
-rw-r--r--devel/p5-POE/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/devel/p5-POE/Makefile b/devel/p5-POE/Makefile
index 7665b1dc041e..211c950fe120 100644
--- a/devel/p5-POE/Makefile
+++ b/devel/p5-POE/Makefile
@@ -16,12 +16,12 @@ LICENSE_COMB= dual
BUILD_DEPENDS= p5-Curses>=1.08:${PORTSDIR}/devel/p5-Curses \
p5-HTTP-Message>=0:${PORTSDIR}/www/p5-HTTP-Message \
+ p5-IO-Pipely>=0.005:${PORTSDIR}/devel/p5-IO-Pipely \
p5-IO-Tty>=1.08:${PORTSDIR}/devel/p5-IO-Tty \
p5-POE-Test-Loops>=1.352:${PORTSDIR}/devel/p5-POE-Test-Loops \
p5-Socket-GetAddrInfo>=0.20:${PORTSDIR}/net/p5-Socket-GetAddrInfo \
p5-Term-ReadKey>=2.21:${PORTSDIR}/devel/p5-Term-ReadKey \
p5-URI>=1.30:${PORTSDIR}/net/p5-URI \
- p5-IO-Pipely>=0.005:${PORTSDIR}/devel/p5-IO-Pipely \
p5-libwww>=5.79:${PORTSDIR}/www/p5-libwww
RUN_DEPENDS:= ${BUILD_DEPENDS}
@@ -51,8 +51,10 @@ 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.options.mk>
+
post-install:
-.ifndef(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
@${ECHO_MSG} "===> Installing examples for ${PKGNAME}"
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${EXAMPLESDIR}