2000-09-24 03:03:59 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.32 2000/09/24 07:04:12 brad Exp $
|
1999-02-23 16:59:39 -05:00
|
|
|
|
2000-03-04 19:34:26 -05:00
|
|
|
DISTNAME= mrtg-2.8.12
|
1999-02-23 16:59:39 -05:00
|
|
|
CATEGORIES= net
|
2000-09-24 03:03:59 -04:00
|
|
|
NEED_VERSION= 1.330
|
2000-03-04 19:55:07 -05:00
|
|
|
MASTER_SITES= ftp://ftp.ou.edu/mirrors/mrtg/ \
|
|
|
|
ftp://ftp.sunet.se/pub/network/monitoring/mrtg/ \
|
|
|
|
http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/pub/
|
1999-02-23 16:59:39 -05:00
|
|
|
|
2000-03-15 14:20:05 -05:00
|
|
|
HOMEPAGE= http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html
|
2000-03-04 19:34:26 -05:00
|
|
|
|
2000-03-24 18:28:01 -05:00
|
|
|
LIB_DEPENDS= gd.18::graphics/gd
|
1999-03-31 18:25:50 -05:00
|
|
|
|
2000-09-24 03:03:59 -04:00
|
|
|
MAINTAINER= Brad Smith <brad@openbsd.org>
|
1999-02-23 16:59:39 -05:00
|
|
|
|
2000-03-04 19:34:26 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-02-12 03:02:07 -05:00
|
|
|
|
2000-06-12 13:42:45 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
1999-11-28 00:22:43 -05:00
|
|
|
CONFIGURE_ARGS= --with-gd-inc="${LOCALBASE}/include" \
|
|
|
|
--with-gd-lib="${LOCALBASE}/lib" \
|
|
|
|
--with-png-inc="${LOCALBASE}/include" \
|
|
|
|
--with-png-lib="${LOCALBASE}/lib"
|
2000-03-30 17:59:58 -05:00
|
|
|
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -ljpeg"
|
1999-02-23 16:59:39 -05:00
|
|
|
|
|
|
|
do-install:
|
2000-01-20 18:07:39 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/mrtg
|
2000-07-25 06:03:29 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/libdata/perl5/site_perl
|
2000-01-20 18:07:39 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/mrtg
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mrtg
|
2000-03-04 19:34:26 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/images/*.png ${PREFIX}/share/mrtg
|
1999-10-28 23:41:34 -04:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/run/rateup ${PREFIX}/bin
|
2000-03-04 19:34:26 -05:00
|
|
|
cd ${WRKSRC}/doc; ${INSTALL_DATA} *.cfg *.html *.pod *.txt \
|
|
|
|
${PREFIX}/share/doc/mrtg
|
2000-01-20 18:07:39 -05:00
|
|
|
cd ${WRKSRC}/run; ${INSTALL_SCRIPT} cfgmaker cfgmaker_ip \
|
|
|
|
indexmaker mrtg ${PREFIX}/bin
|
|
|
|
cd ${WRKSRC}/run; ${INSTALL_SCRIPT} locales_mrtg.pm BER.pm \
|
2000-07-25 06:03:29 -04:00
|
|
|
SNMP_Session.pm SNMP_util.pm ${PREFIX}/libdata/perl5/site_perl
|
1999-10-28 23:41:34 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/sample-mrtg.cfg ${PREFIX}/lib/mrtg/mrtg.cfg.sample
|
1999-04-27 15:25:27 -04:00
|
|
|
|
1999-02-23 16:59:39 -05:00
|
|
|
.include <bsd.port.mk>
|