Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2014 10:44:38 +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: r343016 - head/irc/p5-POE-Component-IRC-Plugin-POE-Knee
Message-ID:  <201402061044.s16Aic1O074871@svn.freebsd.org>

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



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