From a679cc060388a28b735ab0fcf8e3a128b205fd69 Mon Sep 17 00:00:00 2001 From: markp Date: Sun, 9 Feb 2003 09:33:58 +0000 Subject: Update to 0.3.0 Update web site URL Add support for netsnmp.5 --- net-mgmt/mbrowse/Makefile | 19 +++++++++++++------ net-mgmt/mbrowse/distinfo | 2 +- net-mgmt/mbrowse/pkg-descr | 2 +- 3 files changed, 15 insertions(+), 8 deletions(-) (limited to 'net-mgmt') diff --git a/net-mgmt/mbrowse/Makefile b/net-mgmt/mbrowse/Makefile index 74519cc3bcf8..8626c7ba3d39 100644 --- a/net-mgmt/mbrowse/Makefile +++ b/net-mgmt/mbrowse/Makefile @@ -6,21 +6,28 @@ # PORTNAME= mbrowse -PORTVERSION= 0.2.3 +PORTVERSION= 0.3.0 CATEGORIES= net -MASTER_SITES= http://goldplated.atlcartel.com/ +MASTER_SITES= http://www.kill-9.org/mbrowse/ MAINTAINER= markp@FreeBSD.org +.if defined(WITH_NET_SNMP4) LIB_DEPENDS= snmp.4:${PORTSDIR}/net/net-snmp4 +.else +LIB_DEPENDS= netsnmp.5:${PORTSDIR}/net/net-snmp +.endif GNU_CONFIGURE= yes USE_GNOMENG= yes USE_GNOME= gtk12 -CONFIGURE_ARGS+= --with-ucdsnmp-prefix=${LOCALBASE} +CONFIGURE_ARGS+= --with-snmp-prefix=${LOCALBASE} -post-patch: - @${PERL} -pi -e 'print "#include \n" if !$$a; $$a=1' \ - ${WRKSRC}/src/callbacks.h +.if defined(WITH_NET_SNMP4) +CONFIGURE_ARGS+= --with-snmp-type=ucd +.else +CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS+= --with-snmp-type=net +.endif .include diff --git a/net-mgmt/mbrowse/distinfo b/net-mgmt/mbrowse/distinfo index 5d22dd93043c..b26cb87ade63 100644 --- a/net-mgmt/mbrowse/distinfo +++ b/net-mgmt/mbrowse/distinfo @@ -1 +1 @@ -MD5 (mbrowse-0.2.3.tar.gz) = be4e56cd7bd1293d68e71856a674c267 +MD5 (mbrowse-0.3.0.tar.gz) = f32e8481115b3051973414a24e5505bc diff --git a/net-mgmt/mbrowse/pkg-descr b/net-mgmt/mbrowse/pkg-descr index 2e52feaea63e..8f2851e03c8b 100644 --- a/net-mgmt/mbrowse/pkg-descr +++ b/net-mgmt/mbrowse/pkg-descr @@ -1,3 +1,3 @@ Mbrowse is a GUI MIB browser and query tool based on GTK and Net-SNMP. -WWW: http://goldplated.atlcartel.com/mbrowse.html +WWW: http://www.kill-9.org/mbrowse/ -- cgit