svn commit: r359902 - head/net-mgmt/pancho

William Grzybowski wg at FreeBSD.org
Mon Jun 30 18:54:21 UTC 2014


Author: wg
Date: Mon Jun 30 18:54:20 2014
New Revision: 359902
URL: http://svnweb.freebsd.org/changeset/ports/359902
QAT: https://qat.redports.org/buildarchive/r359902/

Log:
  net-mgmt/pancho: support stage
  
  PR:		191495
  Submitted by:	maintainer

Modified:
  head/net-mgmt/pancho/Makefile
  head/net-mgmt/pancho/pkg-plist

Modified: head/net-mgmt/pancho/Makefile
==============================================================================
--- head/net-mgmt/pancho/Makefile	Mon Jun 30 18:52:56 2014	(r359901)
+++ head/net-mgmt/pancho/Makefile	Mon Jun 30 18:54:20 2014	(r359902)
@@ -18,20 +18,15 @@ WRKSRC=		${WRKDIR}/Pancho-${PORTVERSION}
 USES=		perl5
 USE_PERL5=	configure
 
-MAN1=		pancho.1
-
 DOCS=		README README.plugins Plugin.sample
 
-NO_STAGE=	yes
 post-patch:
 	@${MV} ${WRKSRC}/lib/Pancho/Plugins/README ${WRKSRC}/README.plugins
 	@${MV} ${WRKSRC}/lib/Pancho/Plugins/Plugin.sample ${WRKSRC}/
 
 post-install:
-	@${INSTALL_DATA} ${WRKSRC}/samples/sample.conf ${PREFIX}/etc/pancho.conf.sample
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
-.endif
+	${INSTALL_DATA} ${WRKSRC}/samples/sample.conf ${STAGEDIR}${PREFIX}/etc/pancho.conf.sample
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/net-mgmt/pancho/pkg-plist
==============================================================================
--- head/net-mgmt/pancho/pkg-plist	Mon Jun 30 18:52:56 2014	(r359901)
+++ head/net-mgmt/pancho/pkg-plist	Mon Jun 30 18:54:20 2014	(r359902)
@@ -1,5 +1,6 @@
 bin/pancho
-etc/pancho.conf.sample
+ at sample etc/pancho.conf.sample
+man/man1/pancho.1.gz
 %%SITE_PERL%%/Pancho/Util.pm
 %%SITE_PERL%%/Pancho/Snmp.pm
 %%SITE_PERL%%/Pancho/Log.pm


More information about the svn-ports-head mailing list