summaryrefslogtreecommitdiff
path: root/net/mrtg/Makefile
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-02-25 13:42:13 +0000
committertron <tron@pkgsrc.org>2001-02-25 13:42:13 +0000
commit702be3feca6f9d01f5a40e609c66c6bca8b16e4e (patch)
treeff8fe003c1bbfc253d9475cb682f924d931dc958 /net/mrtg/Makefile
parent154ab96c385b714aa361b022cb3db33658326f97 (diff)
downloadpkgsrc-702be3feca6f9d01f5a40e609c66c6bca8b16e4e.tar.gz
Only install manual pages for "cfgmaker" as "mrtgcfgmaker.1" and for
"indexmaker" as "mrtgindexmaker.1" to avoid name conflicts. All manual pages are installed to "share/doc/mrtg" again.
Diffstat (limited to 'net/mrtg/Makefile')
-rw-r--r--net/mrtg/Makefile26
1 files changed, 14 insertions, 12 deletions
diff --git a/net/mrtg/Makefile b/net/mrtg/Makefile
index b154a470cd6..57c636c5fae 100644
--- a/net/mrtg/Makefile
+++ b/net/mrtg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2001/02/25 13:30:41 tron Exp $
+# $NetBSD: Makefile,v 1.24 2001/02/25 13:42:13 tron Exp $
# FreeBSD Id: Makefile,v 1.7 1997/12/16 19:42:17 vanilla Exp
#
@@ -46,19 +46,21 @@ do-install:
${INSTALL_DATA_DIR} ${PREFIX}/etc/mrtg
${INSTALL_DATA_DIR} ${PREFIX}/share/mrtg
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mrtg
- for file in ${WRKSRC}/doc/*; do \
- ${INSTALL_DATA} $$file ${PREFIX}/share/doc/mrtg; \
+ for FILE in ${WRKSRC}/doc/*; do \
+ ${INSTALL_DATA} $$FILE ${PREFIX}/share/doc/mrtg; \
done
- ${MV} ${PREFIX}/share/doc/mrtg/*.1 ${PREFIX}/man/man1
- for file in ANNOUNCE CHANGES COPYING COPYRIGHT README; do \
- ${INSTALL_DATA} ${WRKSRC}/$$file ${PREFIX}/share/doc/mrtg; \
+ for FILE in cfgmaker.1 indexmaker.1; do \
+ ${INSTALL_DATA} ${WRKSRC}/doc/$$FILE ${PREFIX}/man/man1/mrtg$$FILE; \
done
- for file in ${WRKSRC}/images/*.png; do \
- ${INSTALL_DATA} $$file ${PREFIX}/share/mrtg; \
+ for FILE in ANNOUNCE CHANGES COPYING COPYRIGHT README; do \
+ ${INSTALL_DATA} ${WRKSRC}/$$FILE ${PREFIX}/share/doc/mrtg; \
+ done
+ for FILE in ${WRKSRC}/images/*.png; do \
+ ${INSTALL_DATA} $$FILE ${PREFIX}/share/mrtg; \
done
${INSTALL_DATA} ${WRKDIR}/mrtg.conf.example ${PREFIX}/etc/mrtg
- for file in netstat2mrtg sys2mrtg; do \
- ${INSTALL_SCRIPT} ${WRKDIR}/$$file ${PREFIX}/libexec; \
+ for FILE in netstat2mrtg sys2mrtg; do \
+ ${INSTALL_SCRIPT} ${WRKDIR}/$$FILE ${PREFIX}/libexec; \
done
${INSTALL_DATA_DIR} ${PERL5_SITELIB}
${INSTALL_SCRIPT} ${WRKSRC}/lib/mrtg2/BER.pm \
@@ -69,8 +71,8 @@ do-install:
${PERL5_SITELIB}
${INSTALL_PROGRAM} ${WRKSRC}/bin/rateup ${PREFIX}/libexec/
${INSTALL_SCRIPT} ${WRKSRC}/bin/mrtg ${PREFIX}/bin/
- for file in cfgmaker indexmaker; do \
- ${INSTALL_SCRIPT} ${WRKSRC}/bin/$$file ${PREFIX}/bin/mrtg$$file; \
+ for FILE in cfgmaker indexmaker; do \
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/$$FILE ${PREFIX}/bin/mrtg$$FILE; \
done
.include "../../mk/bsd.pkg.mk"