Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jun 2014 18:54:20 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r359902 - head/net-mgmt/pancho
Message-ID:  <201406301854.s5UIsK4j057750@svn.freebsd.org>

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



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