Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2014 10:37:04 +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: r343011 - head/irc/p5-POE-Component-IRC-Plugin-Blowfish
Message-ID:  <201402061037.s16Ab41f070947@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Thu Feb  6 10:37:04 2014
New Revision: 343011
URL: http://svnweb.freebsd.org/changeset/ports/343011
QAT: https://qat.redports.org/buildarchive/r343011/

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

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

Modified: head/irc/p5-POE-Component-IRC-Plugin-Blowfish/Makefile
==============================================================================
--- head/irc/p5-POE-Component-IRC-Plugin-Blowfish/Makefile	Thu Feb  6 10:32:25 2014	(r343010)
+++ head/irc/p5-POE-Component-IRC-Plugin-Blowfish/Makefile	Thu Feb  6 10:37:04 2014	(r343011)
@@ -20,17 +20,19 @@ BUILD_DEPENDS=	p5-POE>=0.37:${PORTSDIR}/
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
 PLIST_SUB=	EXAMPLESDIR="share/examples/${PORTNAME}"
-USES=		perl5
+
+USES=		perl5 shebangfix
 USE_PERL5=	configure
 
-MAN3=		POE::Component::IRC::Plugin::Blowfish.3
+OPTIONS_DEFINE=	EXAMPLES
+
+PORTEXAMPLES=	synopsis.pl
+SHEBANG_FILES=	examples/synopsis.pl
+
+.include <bsd.port.options.mk>
 
-NO_STAGE=	yes
 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/irc/p5-POE-Component-IRC-Plugin-Blowfish/pkg-plist
==============================================================================
--- head/irc/p5-POE-Component-IRC-Plugin-Blowfish/pkg-plist	Thu Feb  6 10:32:25 2014	(r343010)
+++ head/irc/p5-POE-Component-IRC-Plugin-Blowfish/pkg-plist	Thu Feb  6 10:37:04 2014	(r343011)
@@ -1,7 +1,6 @@
 %%SITE_PERL%%/POE/Component/IRC/Plugin/Blowfish.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/IRC/Plugin/Blowfish/.packlist
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/synopsis.pl
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
+%%PERL5_MAN3%%/POE::Component::IRC::Plugin::Blowfish.3.gz
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/IRC/Plugin/Blowfish
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/IRC/Plugin
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/IRC



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