aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authormarkp <markp@FreeBSD.org>2003-02-09 17:33:58 +0800
committermarkp <markp@FreeBSD.org>2003-02-09 17:33:58 +0800
commita679cc060388a28b735ab0fcf8e3a128b205fd69 (patch)
treeb7bc40146cef5ae4e184b03882514963d65ef06c /net-mgmt
parent53f59047d35d80ecc4c376a3f1692fc34d7e5822 (diff)
downloadfreebsd-ports-gnome-a679cc060388a28b735ab0fcf8e3a128b205fd69.tar.gz
freebsd-ports-gnome-a679cc060388a28b735ab0fcf8e3a128b205fd69.tar.zst
freebsd-ports-gnome-a679cc060388a28b735ab0fcf8e3a128b205fd69.zip
Update to 0.3.0
Update web site URL Add support for netsnmp.5
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/mbrowse/Makefile19
-rw-r--r--net-mgmt/mbrowse/distinfo2
-rw-r--r--net-mgmt/mbrowse/pkg-descr2
3 files changed, 15 insertions, 8 deletions
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 <sys/types.h>\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 <bsd.port.mk>
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/