aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/mrtg-ping-probe
diff options
context:
space:
mode:
authorsanpei <sanpei@FreeBSD.org>2014-06-11 17:38:35 +0800
committersanpei <sanpei@FreeBSD.org>2014-06-11 17:38:35 +0800
commitafd6989d7f878a801a57992cdd4f574022024c38 (patch)
tree77634b8bcf23f8bed6d98e9ffa6d5d397dadcd2c /net-mgmt/mrtg-ping-probe
parentf17da7f113e9854fb06824b730804886744359f3 (diff)
downloadfreebsd-ports-gnome-afd6989d7f878a801a57992cdd4f574022024c38.tar.gz
freebsd-ports-gnome-afd6989d7f878a801a57992cdd4f574022024c38.tar.zst
freebsd-ports-gnome-afd6989d7f878a801a57992cdd4f574022024c38.zip
Add staging support.
Diffstat (limited to 'net-mgmt/mrtg-ping-probe')
-rw-r--r--net-mgmt/mrtg-ping-probe/Makefile12
-rw-r--r--net-mgmt/mrtg-ping-probe/pkg-plist1
2 files changed, 6 insertions, 7 deletions
diff --git a/net-mgmt/mrtg-ping-probe/Makefile b/net-mgmt/mrtg-ping-probe/Makefile
index e71615eaca32..147d8d98fefd 100644
--- a/net-mgmt/mrtg-ping-probe/Makefile
+++ b/net-mgmt/mrtg-ping-probe/Makefile
@@ -16,17 +16,15 @@ FETCH_BEFORE_ARGS= -p # MASTER_SITE needs PASSIVE FTP.
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>
diff --git a/net-mgmt/mrtg-ping-probe/pkg-plist b/net-mgmt/mrtg-ping-probe/pkg-plist
index abef662a5bd1..cc63af07d80e 100644
--- a/net-mgmt/mrtg-ping-probe/pkg-plist
+++ b/net-mgmt/mrtg-ping-probe/pkg-plist
@@ -1,3 +1,4 @@
bin/mrtg-ping-cfg
bin/mrtg-ping-probe
etc/mrtg/mrtg.cfg-ping
+man/man1/mrtg-ping-probe.1.gz