Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2014 14:03:19 +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: r343083 - head/net/p5-POE-Component-Client-Traceroute
Message-ID:  <201402061403.s16E3Jde057801@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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%%



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