From e971a6b6366b20d5b0be9dfef4c5cdb46b78f367 Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Sun, 9 Feb 2014 10:46:23 +0000 Subject: Support staging --- net/p5-IO-Socket-Multicast/Makefile | 14 ++++++-------- net/p5-IO-Socket-Multicast/pkg-plist | 1 + 2 files changed, 7 insertions(+), 8 deletions(-) (limited to 'net/p5-IO-Socket-Multicast') 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 + 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 diff --git a/net/p5-IO-Socket-Multicast/pkg-plist b/net/p5-IO-Socket-Multicast/pkg-plist index 6a0441a712bd..c5250fdd5b6b 100644 --- a/net/p5-IO-Socket-Multicast/pkg-plist +++ b/net/p5-IO-Socket-Multicast/pkg-plist @@ -4,6 +4,7 @@ %%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/Socket/Multicast/Multicast.so %%PORTEXAMPLES%%%%EXAMPLESDIR%%/client.pl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/server.pl +%%PERL5_MAN3%%/IO::Socket::Multicast.3.gz @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/Socket/Multicast @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/IO/Socket @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/IO -- cgit v1.2.3