aboutsummaryrefslogtreecommitdiff
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
parent1ebcf0d8eb1aed8036f805b4842a5c2eaaeb2d4d (diff)
downloadports-e971a6b6366b20d5b0be9dfef4c5cdb46b78f367.tar.gz
ports-e971a6b6366b20d5b0be9dfef4c5cdb46b78f367.zip
Notes
-rw-r--r--net/p5-IO-Socket-Multicast/Makefile14
-rw-r--r--net/p5-IO-Socket-Multicast/pkg-plist1
2 files changed, 7 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>
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