diff options
author | sanpei <sanpei@FreeBSD.org> | 2014-06-11 17:38:35 +0800 |
---|---|---|
committer | sanpei <sanpei@FreeBSD.org> | 2014-06-11 17:38:35 +0800 |
commit | afd6989d7f878a801a57992cdd4f574022024c38 (patch) | |
tree | 77634b8bcf23f8bed6d98e9ffa6d5d397dadcd2c /net-mgmt/mrtg-ping-probe | |
parent | f17da7f113e9854fb06824b730804886744359f3 (diff) | |
download | freebsd-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/Makefile | 12 | ||||
-rw-r--r-- | net-mgmt/mrtg-ping-probe/pkg-plist | 1 |
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 |