svn commit: r343083 - head/net/p5-POE-Component-Client-Traceroute

Emanuel Haupt ehaupt at FreeBSD.org
Thu Feb 6 14:03:20 UTC 2014


Author: ehaupt
Date: Thu Feb  6 14:03:19 2014
New Revision: 343083
URL: http://svnweb.freebsd.org/changeset/ports/343083
QAT: https://qat.redports.org/buildarchive/r343083/

Log:
  - Support staging
  - Use shebangfix

Modified:
  head/net/p5-POE-Component-Client-Traceroute/Makefile
  head/net/p5-POE-Component-Client-Traceroute/pkg-plist

Modified: head/net/p5-POE-Component-Client-Traceroute/Makefile
==============================================================================
--- head/net/p5-POE-Component-Client-Traceroute/Makefile	Thu Feb  6 13:59:20 2014	(r343082)
+++ head/net/p5-POE-Component-Client-Traceroute/Makefile	Thu Feb  6 14:03:19 2014	(r343083)
@@ -13,17 +13,18 @@ COMMENT=	A non-blocking traceroute clien
 RUN_DEPENDS=	p5-POE>=0.11:${PORTSDIR}/devel/p5-POE
 BUILD_DEPENDS:=	${RUN_DEPENDS}
 
-USES=		perl5
+USES=		perl5 shebangfix
 USE_PERL5=	configure
 
-MAN3=	POE::Component::Client::Traceroute.3
+OPTIONS_DEFINE=	EXAMPLES
+
+PORTEXAMPLES=	*
+SHEBANG_FILES=	examples/poe-traceroute.pl
+
+.include <bsd.port.options.mk>
 
-NO_STAGE=	yes
 post-install:
-.if !defined(NOPORTDOCS)
-	@${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-POE-Component-Client-Traceroute/pkg-plist
==============================================================================
--- head/net/p5-POE-Component-Client-Traceroute/pkg-plist	Thu Feb  6 13:59:20 2014	(r343082)
+++ head/net/p5-POE-Component-Client-Traceroute/pkg-plist	Thu Feb  6 14:03:19 2014	(r343083)
@@ -1,6 +1,6 @@
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/Client/Traceroute/.packlist
 %%SITE_PERL%%/POE/Component/Client/Traceroute.pm
-%%PORTDOCS%%%%EXAMPLESDIR%%/poe-traceroute.pl
+%%PERL5_MAN3%%/POE::Component::Client::Traceroute.3.gz
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/Client/Traceroute
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/Client
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component
@@ -8,4 +8,3 @@
 @dirrmtry %%SITE_PERL%%/POE/Component/Client
 @dirrmtry %%SITE_PERL%%/POE/Component
 @dirrmtry %%SITE_PERL%%/POE
-%%PORTDOCS%%@dirrmtry %%EXAMPLESDIR%%


More information about the svn-ports-head mailing list