aboutsummaryrefslogtreecommitdiff
path: root/net/mrtg
diff options
context:
space:
mode:
authorJames FitzGibbon <jfitz@FreeBSD.org>1999-03-10 15:02:23 +0000
committerJames FitzGibbon <jfitz@FreeBSD.org>1999-03-10 15:02:23 +0000
commit4b0dca9c1f0df78eca414cae5dfa6e92fe6be8ca (patch)
treea1c781827e7fc3462740931678a4d72a24936044 /net/mrtg
parent19c6563b221037ade0eff7f6c6ff197c99cad69c (diff)
downloadports-4b0dca9c1f0df78eca414cae5dfa6e92fe6be8ca.tar.gz
ports-4b0dca9c1f0df78eca414cae5dfa6e92fe6be8ca.zip
Notes
Diffstat (limited to 'net/mrtg')
-rw-r--r--net/mrtg/Makefile30
-rw-r--r--net/mrtg/distinfo2
-rw-r--r--net/mrtg/pkg-plist21
3 files changed, 33 insertions, 20 deletions
diff --git a/net/mrtg/Makefile b/net/mrtg/Makefile
index 83e6a479284f..ced5bab7c32a 100644
--- a/net/mrtg/Makefile
+++ b/net/mrtg/Makefile
@@ -1,42 +1,47 @@
# New ports collection makefile for: MRTG
-# Version required: 2.5.3
+# Version required: 2.6.6
# Date created: April 18th 1997
# Whom: James FitzGibbon <jfitz@FreeBSD.org>
#
-# $Id: Makefile,v 1.9 1998/09/28 17:11:12 smace Exp $
+# $Id: Makefile,v 1.10 1998/10/10 02:09:30 smace Exp $
#
-DISTNAME= mrtg-2.5.3
+DISTNAME= mrtg-2.6.6
CATEGORIES= net
MASTER_SITES= http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/pub/
MAINTAINER= jfitz@FreeBSD.ORG
BUILD_DEPENDS= ${PREFIX}/lib/libgd.a:${PORTSDIR}/graphics/gd
-RUN_DEPENDS= ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/PV.pm:${PORTSDIR}/devel/p5-PV
USE_PERL5= YES
MAKE_ENV+= PERL=${PERL}
-ALL_TARGET= rateup substitute
+GNU_CONFIGURE= YES
+
+CONFIGURE_ARGS= --with-gd-lib=${PREFIX}/lib \
+ --with-gd-inc=${PREFIX}/include/gd
+
+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 readme.html readme.txt mibhelp.txt INSTALL COPYING COPYRIGHT Changes Contributors Todo; do \
+ 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
- for file in ${WRKSRC}/*.gif; do \
+ ${INSTALL_DATA} ${WRKSRC}/doc/sample-mrtg.cfg ${PREFIX}/etc/mrtg
+ for file in ${WRKSRC}/images/*.gif; do \
${INSTALL_DATA} $$file ${PREFIX}/share/mrtg/; \
done
- for file in SNMP_Session.pm BER.pm; do \
- ${INSTALL_DATA} ${WRKSRC}/$$file ${PREFIX}/lib/perl5/site_perl/${PERL_VER}; \
+ for file in SNMP_Session.pm SNMP_util.pm BER.pm; do \
+ ${INSTALL_DATA} ${WRKSRC}/run/$$file ${PREFIX}/lib/perl5/site_perl/${PERL_VER}; \
done
- ${INSTALL_PROGRAM} ${WRKSRC}/rateup ${PREFIX}/bin/
- for file in mrtg cfgmaker convert indexmaker; do \
- ${INSTALL_SCRIPT} ${WRKSRC}/$$file ${PREFIX}/bin/; \
+ ${INSTALL_PROGRAM} ${WRKSRC}/run/rateup ${PREFIX}/bin/
+ for file in mrtg cfgmaker indexmaker; do \
+ ${INSTALL_SCRIPT} ${WRKSRC}/run/$$file ${PREFIX}/bin/; \
done
post-install:
@@ -45,6 +50,7 @@ post-install:
@${ECHO} "############################################################################"
@${ECHO} "# Please create a MRTG config file in ${PREFIX}/etc/mrtg #"
@${ECHO} "# A configuration file can be automatically generated with cfgmaker #"
+ @${ECHO} "# A sample configuration file is installed as sample-mrtg.cfg #"
@${ECHO} "############################################################################"
.endif
diff --git a/net/mrtg/distinfo b/net/mrtg/distinfo
index 27861e8ef578..6a086c3ad414 100644
--- a/net/mrtg/distinfo
+++ b/net/mrtg/distinfo
@@ -1 +1 @@
-MD5 (mrtg-2.5.3.tar.gz) = 32d4da17cedbbd2b3a999edfc389e4a0
+MD5 (mrtg-2.6.6.tar.gz) = e5b1b5c63ddcc13c3fd096cd90b3a5a3
diff --git a/net/mrtg/pkg-plist b/net/mrtg/pkg-plist
index 581bd8f8608a..69573fca9b7e 100644
--- a/net/mrtg/pkg-plist
+++ b/net/mrtg/pkg-plist
@@ -1,23 +1,30 @@
bin/cfgmaker
-bin/convert
bin/indexmaker
bin/mrtg
bin/rateup
+etc/mrtg/sample-mrtg.cfg
lib/perl5/site_perl/%%PERL_VER%%/BER.pm
lib/perl5/site_perl/%%PERL_VER%%/SNMP_Session.pm
+lib/perl5/site_perl/%%PERL_VER%%/SNMP_util.pm
share/mrtg/mrtg-l.gif
share/mrtg/mrtg-m.gif
share/mrtg/mrtg-r.gif
share/mrtg/mrtg-ti.gif
+share/doc/mrtg/ANNOUNCE
+share/doc/mrtg/CHANGES
share/doc/mrtg/COPYING
share/doc/mrtg/COPYRIGHT
-share/doc/mrtg/INSTALL
-share/doc/mrtg/Changes
-share/doc/mrtg/Contributors
-share/doc/mrtg/Todo
+share/doc/mrtg/MANIFEST
+share/doc/mrtg/README
+share/doc/mrtg/config.html
+share/doc/mrtg/config.pod
+share/doc/mrtg/config.txt
+share/doc/mrtg/htaccess.txt
+share/doc/mrtg/logfile-format.txt
+share/doc/mrtg/manual.html
+share/doc/mrtg/manual.txt
share/doc/mrtg/mibhelp.txt
-share/doc/mrtg/readme.html
-share/doc/mrtg/readme.txt
+share/doc/mrtg/squid.txt
@dirrm etc/mrtg
@dirrm share/doc/mrtg
@dirrm share/mrtg