2002-04-04 16:04:25 +02:00
|
|
|
# New ports collection makefile for: mbrowse
|
|
|
|
# Date created: Apr 4, 2002
|
|
|
|
# Whom: Mark Pulford <mark@kyne.com.au>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mbrowse
|
2003-11-21 13:45:54 +01:00
|
|
|
PORTVERSION= 0.3.1
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 8
|
2004-02-23 05:42:13 +01:00
|
|
|
CATEGORIES= net-mgmt
|
2003-02-09 10:33:58 +01:00
|
|
|
MASTER_SITES= http://www.kill-9.org/mbrowse/
|
2002-04-04 16:04:25 +02:00
|
|
|
|
2006-04-15 02:01:12 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-22 18:14:31 +01:00
|
|
|
COMMENT= An SNMP MIB Browser for X
|
2002-04-04 16:04:25 +02:00
|
|
|
|
2003-02-09 10:33:58 +01:00
|
|
|
.if defined(WITH_NET_SNMP4)
|
2004-02-23 05:42:13 +01:00
|
|
|
LIB_DEPENDS= snmp.4:${PORTSDIR}/net-mgmt/net-snmp4
|
2003-02-09 10:33:58 +01:00
|
|
|
.else
|
2008-03-27 11:58:30 +01:00
|
|
|
LIB_DEPENDS= netsnmp.16:${PORTSDIR}/net-mgmt/net-snmp
|
2003-02-09 10:33:58 +01:00
|
|
|
.endif
|
2002-04-04 16:04:25 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2004-02-06 14:12:53 +01:00
|
|
|
PLIST_FILES= bin/mbrowse
|
2004-05-06 21:54:14 +02:00
|
|
|
USE_GNOME= gtk12 gnometarget
|
|
|
|
CONFIGURE_ARGS+= --with-snmp-prefix=${PREFIX}
|
2002-04-04 16:04:25 +02:00
|
|
|
|
2003-02-09 10:33:58 +01:00
|
|
|
.if defined(WITH_NET_SNMP4)
|
|
|
|
CONFIGURE_ARGS+= --with-snmp-type=ucd
|
|
|
|
.else
|
2004-05-06 21:54:14 +02:00
|
|
|
CONFIGURE_ENV+= LDFLAGS="`net-snmp-config --libs`" \
|
|
|
|
CPPFLAGS="`net-snmp-config --cflags`"
|
2003-02-09 10:33:58 +01:00
|
|
|
CONFIGURE_ARGS+= --with-snmp-type=net
|
|
|
|
.endif
|
2002-04-04 16:04:25 +02:00
|
|
|
|
2004-10-08 11:30:28 +02:00
|
|
|
.include <bsd.port.mk>
|