aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/mrtg/Makefile
diff options
context:
space:
mode:
authorJames FitzGibbon <jfitz@FreeBSD.org>1999-03-29 17:09:04 +0000
committerJames FitzGibbon <jfitz@FreeBSD.org>1999-03-29 17:09:04 +0000
commit52b39be8090fe6dd98708a478f9c19c9fcccc36e (patch)
tree8e678d432fbe574723362dfeb17d49122c325d4f /net-mgmt/mrtg/Makefile
parentc59f503857126975b332b348127297c1678c3633 (diff)
downloadports-52b39be8090fe6dd98708a478f9c19c9fcccc36e.tar.gz
ports-52b39be8090fe6dd98708a478f9c19c9fcccc36e.zip
Upgrade to v2.7.2
PR: ports/10598, ports/10831 Submitted by: mharo@area51.fremont.ca.us (10831), dima@Chg.RU (10598)
Notes
Notes: svn path=/head/; revision=17437
Diffstat (limited to 'net-mgmt/mrtg/Makefile')
-rw-r--r--net-mgmt/mrtg/Makefile21
1 files changed, 13 insertions, 8 deletions
diff --git a/net-mgmt/mrtg/Makefile b/net-mgmt/mrtg/Makefile
index ced5bab7c32a..65e17f25fe80 100644
--- a/net-mgmt/mrtg/Makefile
+++ b/net-mgmt/mrtg/Makefile
@@ -3,10 +3,10 @@
# Date created: April 18th 1997
# Whom: James FitzGibbon <jfitz@FreeBSD.org>
#
-# $Id: Makefile,v 1.10 1998/10/10 02:09:30 smace Exp $
+# $Id$
#
-DISTNAME= mrtg-2.6.6
+DISTNAME= mrtg-2.7.2
CATEGORIES= net
MASTER_SITES= http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/pub/
@@ -25,13 +25,18 @@ CONFIGURE_ARGS= --with-gd-lib=${PREFIX}/lib \
CONFIGURE_ENV= PERL=${PERL}
do-install:
- ${MKDIR} -p -m 755 ${PREFIX}/etc/mrtg
- ${MKDIR} -p -m 755 ${PREFIX}/lib/perl5/site_perl/${PERL_VER}
- ${MKDIR} -p -m 755 ${PREFIX}/share/mrtg
- ${MKDIR} -p -m 755 ${PREFIX}/share/doc/mrtg
- for file in ANNOUNCE CHANGES COPYING COPYRIGHT MANIFEST README doc/config.html doc/config.pod doc/config.txt doc/htaccess.txt doc/logfile-format.txt doc/manual.html doc/manual.txt doc/mibhelp.txt doc/squid.txt ; do \
+ ${MKDIR} -m 755 ${PREFIX}/etc/mrtg
+ ${MKDIR} -m 755 ${PREFIX}/lib/perl5/site_perl/${PERL_VER}
+ ${MKDIR} -m 755 ${PREFIX}/share/mrtg
+.if !defined(NOPORTDOCS)
+ ${MKDIR} -m 755 ${PREFIX}/share/doc/mrtg
+ for file in ANNOUNCE CHANGES COPYING COPYRIGHT MANIFEST README \
+ doc/config.html doc/config.pod doc/config.txt doc/htaccess.txt \
+ doc/logfile-format.txt doc/manual.html doc/manual.txt \
+ doc/mibhelp.txt doc/squid.txt ; do \
${INSTALL_DATA} ${WRKSRC}/$$file ${PREFIX}/share/doc/mrtg/; \
done
+.endif
${INSTALL_DATA} ${WRKSRC}/doc/sample-mrtg.cfg ${PREFIX}/etc/mrtg
for file in ${WRKSRC}/images/*.gif; do \
${INSTALL_DATA} $$file ${PREFIX}/share/mrtg/; \
@@ -40,7 +45,7 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/run/$$file ${PREFIX}/lib/perl5/site_perl/${PERL_VER}; \
done
${INSTALL_PROGRAM} ${WRKSRC}/run/rateup ${PREFIX}/bin/
- for file in mrtg cfgmaker indexmaker; do \
+ for file in mrtg cfgmaker cfgmaker_ip indexmaker; do \
${INSTALL_SCRIPT} ${WRKSRC}/run/$$file ${PREFIX}/bin/; \
done