aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/mrtg/Makefile
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2010-08-03 01:52:18 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2010-08-03 01:52:18 +0000
commitfef4df01a338b1dbac40f78d494453d6450e1e3a (patch)
treec806a1431f3acd4d2fbf577dff51a4ccb1b2113b /net-mgmt/mrtg/Makefile
parent27d6250bfb31ff19e8fe5c5f912910f4a038c7f2 (diff)
downloadports-fef4df01a338b1dbac40f78d494453d6450e1e3a.tar.gz
ports-fef4df01a338b1dbac40f78d494453d6450e1e3a.zip
Notes
Diffstat (limited to 'net-mgmt/mrtg/Makefile')
-rw-r--r--net-mgmt/mrtg/Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/net-mgmt/mrtg/Makefile b/net-mgmt/mrtg/Makefile
index b8467f5d0fd4..e89bc88b47a1 100644
--- a/net-mgmt/mrtg/Makefile
+++ b/net-mgmt/mrtg/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= mrtg
-PORTVERSION= 2.16.2
-PORTREVISION= 6
+PORTVERSION= 2.16.4
PORTEPOCH= 1
CATEGORIES= net-mgmt ipv6
MASTER_SITES= http://oss.oetiker.ch/mrtg/pub/ \
@@ -67,6 +66,14 @@ SCRIPTS= cfgmaker indexmaker mrtg mrtg-traffic-sum
OPTIONS= IPV6 "Enable IPv6 support" OFF \
SNMP "Enable use of SNMPv3" OFF
+.if !defined(NOPORTDOCS)
+PORTDOCS= *
+.endif
+
+.if !defined(NOPORTEXAMPLES)
+PORTEXAMPLES= *
+.endif
+
.include <bsd.port.pre.mk>
.if defined(WITH_IPV6)
@@ -92,7 +99,8 @@ do-install:
@${MKDIR} ${ETCDIR}
@${INSTALL_DATA} ${WRKSRC}/contrib/mrtgmk/cfg/mrtg.cfg ${ETCDIR}/mrtg.cfg.sample
@${INSTALL_DATA} ${MAN1:S,^,${WRKSRC}/doc/,} ${MAN1PREFIX}/man/man1
- @${CP} -p ${WRKSRC}/lib/mrtg2/*.pm ${SITE_PERL}/
+ @${MKDIR} ${PREFIX}/${SITE_PERL_REL}
+ @${CP} -p ${WRKSRC}/lib/mrtg2/*.pm ${PREFIX}/${SITE_PERL_REL}
@${INSTALL_PROGRAM} ${WRKSRC}/bin/rateup ${PREFIX}/bin
@${INSTALL_SCRIPT} ${SCRIPTS:S,^,${WRKSRC}/bin/,} ${PREFIX}/bin