1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

net-mgmt/pancho: support stage

PR:		191495
Submitted by:	maintainer
This commit is contained in:
William Grzybowski 2014-06-30 18:54:20 +00:00
parent fa31171c2f
commit 6922a1410a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359902
2 changed files with 5 additions and 9 deletions

View File

@ -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>

View File

@ -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