aboutsummaryrefslogtreecommitdiffstats
path: root/net/mrtg
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2001-07-15 16:21:18 +0800
committerdemon <demon@FreeBSD.org>2001-07-15 16:21:18 +0800
commit3c5e5ff71b26161e9900ac6f0f910839185c9a3d (patch)
treefc1b9ed1e549a7a753cb6ba93f6a50eed0dd4099 /net/mrtg
parent9873a450109992b511053a44689b661ec7565aeb (diff)
downloadfreebsd-ports-gnome-3c5e5ff71b26161e9900ac6f0f910839185c9a3d.tar.gz
freebsd-ports-gnome-3c5e5ff71b26161e9900ac6f0f910839185c9a3d.tar.zst
freebsd-ports-gnome-3c5e5ff71b26161e9900ac6f0f910839185c9a3d.zip
Utilize DATADIR and DOCSDIR.
Diffstat (limited to 'net/mrtg')
-rw-r--r--net/mrtg/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/mrtg/Makefile b/net/mrtg/Makefile
index 451df466acc8..5f6643aeeb65 100644
--- a/net/mrtg/Makefile
+++ b/net/mrtg/Makefile
@@ -35,16 +35,16 @@ do-install:
${MKDIR} -m 755 ${PREFIX}/etc/mrtg
${MKDIR} -m 755 ${PREFIX}/lib/perl5/site_perl/${PERL_VER}
${MKDIR} -m 755 ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/Pod
- ${MKDIR} -m 755 ${PREFIX}/share/mrtg
+ ${MKDIR} -m 755 ${DATADIR}
.if !defined(NOPORTDOCS)
- ${MKDIR} -m 755 ${PREFIX}/share/doc/mrtg
+ ${MKDIR} -m 755 ${DOCSDIR}
for file in ANNOUNCE CHANGES COPYRIGHT MANIFEST README \
doc/*.html doc/*.pod doc/*.txt doc/*wml doc/*.png ; do \
- ${INSTALL_DATA} ${WRKSRC}/$$file ${PREFIX}/share/doc/mrtg/; \
+ ${INSTALL_DATA} ${WRKSRC}/$$file ${DOCSDIR}; \
done
.endif
${INSTALL_DATA} ${WRKSRC}/contrib/mrtgmk/cfg/mrtg.cfg ${PREFIX}/etc/mrtg/mrtg.cfg.sample
- ${INSTALL_DATA} ${WRKSRC}/images/* ${PREFIX}/share/mrtg
+ ${INSTALL_DATA} ${WRKSRC}/images/* ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.1 ${PREFIX}/man/man1
${INSTALL_DATA} ${WRKSRC}/lib/mrtg2/*.pm ${PREFIX}/lib/perl5/site_perl/${PERL_VER}
${INSTALL_DATA} ${WRKSRC}/lib/mrtg2/Pod/*.pm ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/Pod