svn commit: r357446 - head/net-mgmt/mrtg-ping-probe
MIHIRA Sanpei Yoshiro
sanpei at FreeBSD.org
Wed Jun 11 09:38:36 UTC 2014
Author: sanpei
Date: Wed Jun 11 09:38:35 2014
New Revision: 357446
URL: http://svnweb.freebsd.org/changeset/ports/357446
QAT: https://qat.redports.org/buildarchive/r357446/
Log:
Add staging support.
Modified:
head/net-mgmt/mrtg-ping-probe/Makefile
head/net-mgmt/mrtg-ping-probe/pkg-plist
Modified: head/net-mgmt/mrtg-ping-probe/Makefile
==============================================================================
--- head/net-mgmt/mrtg-ping-probe/Makefile Wed Jun 11 09:31:13 2014 (r357445)
+++ head/net-mgmt/mrtg-ping-probe/Makefile Wed Jun 11 09:38:35 2014 (r357446)
@@ -16,17 +16,15 @@ FETCH_BEFORE_ARGS= -p # MASTER_SITE
USES= perl5
-MAN1= ${PORTNAME}.1
-
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|%%PERL%%|${PERL5}|' ${WRKSRC}/${PORTNAME}
@${CHMOD} +x ${WRKSRC}/${PORTNAME}
do-install:
- @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
- @${INSTALL_SCRIPT} ${WRKSRC}/mrtg-ping-cfg ${PREFIX}/bin
- @${INSTALL_DATA} ${WRKSRC}/mrtg.cfg-ping ${PREFIX}/etc/mrtg
- @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${PREFIX}/man/man1
+ @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ @${INSTALL_SCRIPT} ${WRKSRC}/mrtg-ping-cfg ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${PREFIX}/etc/mrtg
+ @${INSTALL_DATA} ${WRKSRC}/mrtg.cfg-ping ${STAGEDIR}${PREFIX}/etc/mrtg
+ @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
.include <bsd.port.mk>
Modified: head/net-mgmt/mrtg-ping-probe/pkg-plist
==============================================================================
--- head/net-mgmt/mrtg-ping-probe/pkg-plist Wed Jun 11 09:31:13 2014 (r357445)
+++ head/net-mgmt/mrtg-ping-probe/pkg-plist Wed Jun 11 09:38:35 2014 (r357446)
@@ -1,3 +1,4 @@
bin/mrtg-ping-cfg
bin/mrtg-ping-probe
etc/mrtg/mrtg.cfg-ping
+man/man1/mrtg-ping-probe.1.gz
More information about the svn-ports-all
mailing list