Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2014 10:47:30 +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: r343018 - head/irc/p5-POE-Component-IRC-Plugin-QueryDNSBL
Message-ID:  <201402061047.s16AlUJT075413@svn.freebsd.org>

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

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

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

Modified: head/irc/p5-POE-Component-IRC-Plugin-QueryDNSBL/Makefile
==============================================================================
--- head/irc/p5-POE-Component-IRC-Plugin-QueryDNSBL/Makefile	Thu Feb  6 10:46:11 2014	(r343017)
+++ head/irc/p5-POE-Component-IRC-Plugin-QueryDNSBL/Makefile	Thu Feb  6 10:47:30 2014	(r343018)
@@ -20,16 +20,18 @@ RUN_DEPENDS:=	p5-POE>=0:${PORTSDIR}/deve
 		p5-Net-IP>=1.25:${PORTSDIR}/net-mgmt/p5-Net-IP
 
 PLIST_SUB=	EXAMPLESDIR="share/examples/${PORTNAME}"
-USES=		perl5
+USES=		perl5 shebangfix
 USE_PERL5=	configure
 
-MAN3=		POE::Component::IRC::Plugin::QueryDNSBL.3
+SHEBANG_FILES=	examples/*.pl
+PORTEXAMPLES=	*
+
+OPTIONS_DEFINE=	EXAMPLES
+
+.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-QueryDNSBL/pkg-plist
==============================================================================
--- head/irc/p5-POE-Component-IRC-Plugin-QueryDNSBL/pkg-plist	Thu Feb  6 10:46:11 2014	(r343017)
+++ head/irc/p5-POE-Component-IRC-Plugin-QueryDNSBL/pkg-plist	Thu Feb  6 10:47:30 2014	(r343018)
@@ -1,7 +1,6 @@
 %%SITE_PERL%%/POE/Component/IRC/Plugin/QueryDNSBL.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/IRC/Plugin/QueryDNSBL/.packlist
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/synopsis.pl
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
+%%PERL5_MAN3%%/POE::Component::IRC::Plugin::QueryDNSBL.3.gz
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/IRC/Plugin/QueryDNSBL
 @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?201402061047.s16AlUJT075413>