aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2001-07-15 08:21:18 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2001-07-15 08:21:18 +0000
commit927f19e6e804e8d9b5cebfdc2a80d0f93bfb03af (patch)
tree038452c8b7f86c19fe60a6fcd57fb277e2b9e5a0 /net-mgmt
parent9b943320add84cac772a870c068ed61a78f1f75e (diff)
downloadports-927f19e6e804e8d9b5cebfdc2a80d0f93bfb03af.tar.gz
ports-927f19e6e804e8d9b5cebfdc2a80d0f93bfb03af.zip
Utilize DATADIR and DOCSDIR.
Notes
Notes: svn path=/head/; revision=45137
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/mrtg/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/net-mgmt/mrtg/Makefile b/net-mgmt/mrtg/Makefile
index 451df466acc8..5f6643aeeb65 100644
--- a/net-mgmt/mrtg/Makefile
+++ b/net-mgmt/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