summaryrefslogtreecommitdiffstats
path: root/net-mgmt/mrtg/Makefile
diff options
context:
space:
mode:
authorjfitz <jfitz@FreeBSD.org>1999-03-29 17:09:04 +0000
committerjfitz <jfitz@FreeBSD.org>1999-03-29 17:09:04 +0000
commit50fb885684e8936b9658ba137ab4462fafff5676 (patch)
treeff5667876e907201b4cfcfe2c0cfabe06eda8a13 /net-mgmt/mrtg/Makefile
parent52842ee7c4dc69274837e5c9d05abc255a4e9e92 (diff)
downloadFreeBSD-ports-50fb885684e8936b9658ba137ab4462fafff5676.zip
FreeBSD-ports-50fb885684e8936b9658ba137ab4462fafff5676.tar.gz
Upgrade to v2.7.2
PR: ports/10598, ports/10831 Submitted by: mharo@area51.fremont.ca.us (10831), dima@Chg.RU (10598)
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 ced5bab..65e17f2 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
OpenPOWER on IntegriCloud