svn commit: r343016 - head/irc/p5-POE-Component-IRC-Plugin-POE-Knee

Emanuel Haupt ehaupt at FreeBSD.org
Thu Feb 6 10:44:39 UTC 2014


Author: ehaupt
Date: Thu Feb  6 10:44:38 2014
New Revision: 343016
URL: http://svnweb.freebsd.org/changeset/ports/343016
QAT: https://qat.redports.org/buildarchive/r343016/

Log:
  - Support staging
  - Use shebangfix
  - Convert to new options framework

Modified:
  head/irc/p5-POE-Component-IRC-Plugin-POE-Knee/Makefile
  head/irc/p5-POE-Component-IRC-Plugin-POE-Knee/pkg-plist

Modified: head/irc/p5-POE-Component-IRC-Plugin-POE-Knee/Makefile
==============================================================================
--- head/irc/p5-POE-Component-IRC-Plugin-POE-Knee/Makefile	Thu Feb  6 10:41:39 2014	(r343015)
+++ head/irc/p5-POE-Component-IRC-Plugin-POE-Knee/Makefile	Thu Feb  6 10:44:38 2014	(r343016)
@@ -17,16 +17,18 @@ BUILD_DEPENDS=	p5-Math-Random>=0.69:${PO
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
 PLIST_SUB=	EXAMPLESDIR="share/examples/${PORTNAME}"
-USES=		perl5
+USES=		perl5 shebangfix
 USE_PERL5=	configure
 
-MAN3=		POE::Component::IRC::Plugin::POE::Knee.3
+OPTIONS_DEFINE=	EXAMPLES
+
+PORTEXAMPLES=	*
+SHEBANG_FILES=	examples/*.pl
+
+.include <bsd.port.options.mk>
 
-NO_STAGE=	yes
 post-install:
-.ifndef(NOPORTEXAMPLES)
-	@${MKDIR} ${EXAMPLESDIR}
-	${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${EXAMPLESDIR}
-.endif
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>

Modified: head/irc/p5-POE-Component-IRC-Plugin-POE-Knee/pkg-plist
==============================================================================
--- head/irc/p5-POE-Component-IRC-Plugin-POE-Knee/pkg-plist	Thu Feb  6 10:41:39 2014	(r343015)
+++ head/irc/p5-POE-Component-IRC-Plugin-POE-Knee/pkg-plist	Thu Feb  6 10:44:38 2014	(r343016)
@@ -1,7 +1,6 @@
 %%SITE_PERL%%/POE/Component/IRC/Plugin/POE/Knee.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/IRC/Plugin/POE/Knee/.packlist
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/synopsis.pl
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
+%%PERL5_MAN3%%/POE::Component::IRC::Plugin::POE::Knee.3.gz
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/IRC/Plugin/POE/Knee
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/IRC/Plugin/POE
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/IRC/Plugin


More information about the svn-ports-all mailing list