Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Feb 2014 10:46:23 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343452 - head/net/p5-IO-Socket-Multicast
Message-ID:  <201402091046.s19AkNou064631@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Sun Feb  9 10:46:23 2014
New Revision: 343452
URL: http://svnweb.freebsd.org/changeset/ports/343452
QAT: https://qat.redports.org/buildarchive/r343452/

Log:
  Support staging

Modified:
  head/net/p5-IO-Socket-Multicast/Makefile
  head/net/p5-IO-Socket-Multicast/pkg-plist

Modified: head/net/p5-IO-Socket-Multicast/Makefile
==============================================================================
--- head/net/p5-IO-Socket-Multicast/Makefile	Sun Feb  9 10:41:47 2014	(r343451)
+++ head/net/p5-IO-Socket-Multicast/Makefile	Sun Feb  9 10:46:23 2014	(r343452)
@@ -13,17 +13,15 @@ COMMENT=	Perl module to send and receive
 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>

Modified: head/net/p5-IO-Socket-Multicast/pkg-plist
==============================================================================
--- head/net/p5-IO-Socket-Multicast/pkg-plist	Sun Feb  9 10:41:47 2014	(r343451)
+++ head/net/p5-IO-Socket-Multicast/pkg-plist	Sun Feb  9 10:46:23 2014	(r343452)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402091046.s19AkNou064631>