diff --git a/net/mrtg/Makefile b/net/mrtg/Makefile index 301f664c53c..24c943e9186 100644 --- a/net/mrtg/Makefile +++ b/net/mrtg/Makefile @@ -1,15 +1,14 @@ -# $OpenBSD: Makefile,v 1.13 1999/10/26 04:56:38 turan Exp $ - -BROKEN= bad packing lists +# $OpenBSD: Makefile,v 1.14 1999/10/29 03:41:34 brad Exp $ DISTNAME= mrtg-2.8.8 CATEGORIES= net MASTER_SITES= http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/pub/ +HOMEPAGE= http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html + NEED_VERSION= 1.73 MAINTAINER= brad@openbsd.org -HOMEPAGE= http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html LIB_DEPENDS= png.1.3:${PORTSDIR}/graphics/png \ gd.1.6:${PORTSDIR}/graphics/gd @@ -22,23 +21,22 @@ do-install: @${MKDIR} ${PREFIX}/share/mrtg @${MKDIR} ${PREFIX}/share/doc/mrtg @${MKDIR} ${PREFIX}/lib/mrtg - @for file in ${WRKSRC}/doc/*; do \ ${INSTALL_DATA} $$file ${PREFIX}/share/doc/mrtg; \ done @for file in ${WRKSRC}/images/*.gif; do \ ${INSTALL_DATA} $$file ${PREFIX}/share/mrtg; \ done - @${INSTALL_PROGRAM} ${WRKSRC}/run/rateup ${PREFIX}/bin - @${INSTALL_SCRIPT} ${WRKSRC}/run/cfgmaker ${PREFIX}/bin - @${INSTALL_SCRIPT} ${WRKSRC}/run/cfgmaker_ip ${PREFIX}/bin - @${INSTALL_SCRIPT} ${WRKSRC}/run/indexmaker ${PREFIX}/bin - @${INSTALL_SCRIPT} ${WRKSRC}/run/mrtg ${PREFIX}/bin - @${INSTALL_SCRIPT} ${WRKSRC}/run/locales_mrtg.pm ${PREFIX}/lib/mrtg - @${INSTALL_SCRIPT} ${WRKSRC}/run/BER.pm ${PREFIX}/lib/mrtg - @${INSTALL_SCRIPT} ${WRKSRC}/run/SNMP_Session.pm ${PREFIX}/lib/mrtg - @${INSTALL_SCRIPT} ${WRKSRC}/run/SNMP_util.pm ${PREFIX}/lib/mrtg - @${INSTALL_DATA} ${WRKSRC}/doc/sample-mrtg.cfg ${PREFIX}/lib/mrtg/mrtg.cfg.sample + ${INSTALL_PROGRAM} ${WRKSRC}/run/rateup ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/run/cfgmaker ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/run/cfgmaker_ip ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/run/indexmaker ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/run/mrtg ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/run/locales_mrtg.pm ${PREFIX}/lib/mrtg + ${INSTALL_SCRIPT} ${WRKSRC}/run/BER.pm ${PREFIX}/lib/mrtg + ${INSTALL_SCRIPT} ${WRKSRC}/run/SNMP_Session.pm ${PREFIX}/lib/mrtg + ${INSTALL_SCRIPT} ${WRKSRC}/run/SNMP_util.pm ${PREFIX}/lib/mrtg + ${INSTALL_DATA} ${WRKSRC}/doc/sample-mrtg.cfg ${PREFIX}/lib/mrtg/mrtg.cfg.sample post-install: @PKG_PREFIX="${PREFIX}" ${SH} ${PKGDIR}/INSTALL ${DISTNAME} POST-INSTALL