openbsd-ports/net/mrtg/Makefile

44 lines
1.3 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.20 2000/02/15 05:04:56 turan Exp $
1999-02-23 16:59:39 -05:00
DISTNAME= mrtg-2.8.11
1999-02-23 16:59:39 -05:00
CATEGORIES= net
MASTER_SITES= http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/pub/
1999-10-28 23:41:34 -04:00
HOMEPAGE= http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html
1999-03-31 18:25:50 -05:00
NEED_VERSION= 1.73
1999-02-23 16:59:39 -05:00
MAINTAINER= brad@openbsd.org
2000-02-12 03:02:07 -05:00
LICENSE_TYPE= GPL
PERMIT_PACKAGE_CDROM= YES
PERMIT_PACKAGE_FTP= YES
PERMIT_DISTFILES_CDROM= YES
PERMIT_DISTFILES_FTP= YES
2000-02-12 03:02:07 -05:00
LIB_DEPENDS= gd.17:${PORTSDIR}/graphics/gd
1999-02-23 16:59:39 -05:00
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-gd-inc="${LOCALBASE}/include" \
--with-gd-lib="${LOCALBASE}/lib" \
--with-png-inc="${LOCALBASE}/include" \
--with-png-lib="${LOCALBASE}/lib"
1999-02-23 16:59:39 -05:00
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/mrtg
${INSTALL_DATA_DIR} ${PREFIX}/share/mrtg
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mrtg
${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/mrtg
${INSTALL_DATA} ${WRKSRC}/images/*.gif ${PREFIX}/share/mrtg
1999-10-28 23:41:34 -04:00
${INSTALL_PROGRAM} ${WRKSRC}/run/rateup ${PREFIX}/bin
cd ${WRKSRC}/run; ${INSTALL_SCRIPT} cfgmaker cfgmaker_ip \
indexmaker mrtg ${PREFIX}/bin
cd ${WRKSRC}/run; ${INSTALL_SCRIPT} locales_mrtg.pm BER.pm \
SNMP_Session.pm SNMP_util.pm ${PREFIX}/lib/mrtg
1999-10-28 23:41:34 -04:00
${INSTALL_DATA} ${WRKSRC}/doc/sample-mrtg.cfg ${PREFIX}/lib/mrtg/mrtg.cfg.sample
post-install:
@PKG_PREFIX="${PREFIX}" sh ${PKGDIR}/INSTALL ${DISTNAME} POST-INSTALL
1999-02-23 16:59:39 -05:00
.include <bsd.port.mk>