diff options
author | James E. Housley <jeh@FreeBSD.org> | 2000-10-13 02:03:33 +0000 |
---|---|---|
committer | James E. Housley <jeh@FreeBSD.org> | 2000-10-13 02:03:33 +0000 |
commit | 44d6106a7158d1b3950572619deb710d58fe9e7a (patch) | |
tree | c388b9490b462a515a44a5034ab9336d236d1924 /net-mgmt/mrtg/Makefile | |
parent | 627742b5cf5a42a95345405ae7076be0ef432ca1 (diff) |
Update to 2.9.1.
- Update to 2.9.1 and not 2.9.0
- Sorted pkg-plist
- Remove whatis.* files that weren't installed
MAINTAINER unreachable
PR: 21787
Submitted by: Dmitry S. Sivachenko <dima@Chg.RU>
Notes
Notes:
svn path=/head/; revision=33750
Diffstat (limited to 'net-mgmt/mrtg/Makefile')
-rw-r--r-- | net-mgmt/mrtg/Makefile | 37 |
1 files changed, 19 insertions, 18 deletions
diff --git a/net-mgmt/mrtg/Makefile b/net-mgmt/mrtg/Makefile index e240f0fba91d..e08b33c6cf48 100644 --- a/net-mgmt/mrtg/Makefile +++ b/net-mgmt/mrtg/Makefile @@ -6,7 +6,7 @@ # PORTNAME= mrtg -PORTVERSION= 2.8.12 +PORTVERSION= 2.9.1 CATEGORIES= net MASTER_SITES= http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/pub/ @@ -19,34 +19,35 @@ MAKE_ENV+= PERL=${PERL} GNU_CONFIGURE= YES -CONFIGURE_ARGS= --with-gd-lib=${PREFIX}/lib \ - --with-gd-inc=${PREFIX}/include/gd +CONFIGURE_ARGS= --with-gd-lib=${LOCALBASE}/lib \ + --with-gd-inc=${LOCALBASE}/include/gd CONFIGURE_ENV= PERL=${PERL} +MAN1= cfgmaker.1 contrib.1 faq.1 forum.1 indexmaker.1 logfile.1 \ + mibhelp.1 mrtg-rrd.1 nt-guide.1 reference.1 squid.1 \ + unix-guide.1 webserver.1 mrtg.1 + 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 .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 UPGRADING ; do \ + 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/; \ done .endif - ${INSTALL_DATA} ${WRKSRC}/doc/sample-mrtg.cfg ${PREFIX}/etc/mrtg - for file in ${WRKSRC}/images/*; do \ - ${INSTALL_DATA} $$file ${PREFIX}/share/mrtg/; \ - done - for file in SNMP_Session.pm SNMP_util.pm BER.pm locales_mrtg.pm; do \ - ${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 cfgmaker_ip cfgmaker_phys indexmaker; do \ - ${INSTALL_SCRIPT} ${WRKSRC}/run/$$file ${PREFIX}/bin/; \ + ${INSTALL_DATA} ${WRKSRC}/contrib/mrtgmk/cfg/mrtg.cfg ${PREFIX}/etc/mrtg/mrtg.cfg.sample + ${INSTALL_DATA} ${WRKSRC}/images/* ${PREFIX}/share/mrtg + ${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 + ${INSTALL_PROGRAM} ${WRKSRC}/bin/rateup ${PREFIX}/bin/ + for file in mrtg cfgmaker indexmaker; do \ + ${INSTALL_SCRIPT} ${WRKSRC}/bin/$$file ${PREFIX}/bin/; \ done post-install: @@ -55,7 +56,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} "# A sample configuration file is installed as mrtg.cfg.sample #" @${ECHO} "############################################################################" .endif |