aboutsummaryrefslogtreecommitdiff
path: root/net/p5-IO-Socket-Multicast/Makefile
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-09 10:46:23 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-09 10:46:23 +0000
commite971a6b6366b20d5b0be9dfef4c5cdb46b78f367 (patch)
treeeb7be5c0167cc5af365b0359e0c931d0859be843 /net/p5-IO-Socket-Multicast/Makefile
parent1ebcf0d8eb1aed8036f805b4842a5c2eaaeb2d4d (diff)
downloadports-e971a6b6366b20d5b0be9dfef4c5cdb46b78f367.tar.gz
ports-e971a6b6366b20d5b0be9dfef4c5cdb46b78f367.zip
Support staging
Notes
Notes: svn path=/head/; revision=343452
Diffstat (limited to 'net/p5-IO-Socket-Multicast/Makefile')
-rw-r--r--net/p5-IO-Socket-Multicast/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/net/p5-IO-Socket-Multicast/Makefile b/net/p5-IO-Socket-Multicast/Makefile
index e4d3672e079f..a9e144a87bec 100644
--- a/net/p5-IO-Socket-Multicast/Makefile
+++ b/net/p5-IO-Socket-Multicast/Makefile
@@ -13,17 +13,15 @@ COMMENT= Perl module to send and receive multicast messages
RUN_DEPENDS= p5-IO-Interface>=0:${PORTSDIR}/net/p5-IO-Interface
BUILD_DEPENDS:= ${RUN_DEPENDS}
-MAN3= IO::Socket::Multicast.3
-
USES= perl5
USE_PERL5= configure
-NO_STAGE= yes
+OPTIONS_DEFINE= EXAMPLES
+
+.include <bsd.port.options.mk>
+
post-install:
-.ifndef(NOPORTEXAMPLES)
- @${ECHO_MSG} "===> Installing examples for ${PKGNAME}"
- @${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${EXAMPLESDIR}
-.endif
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>