summaryrefslogtreecommitdiff
path: root/net-mgmt/mbrowse/Makefile
blob: 8626c7ba3d398f9f0c5643950055e1f6081b2926 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# New ports collection makefile for:	mbrowse
# Date created:			Apr 4, 2002
# Whom:				Mark Pulford <mark@kyne.com.au>
#
# $FreeBSD$
#

PORTNAME=	mbrowse
PORTVERSION=	0.3.0
CATEGORIES=	net
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-snmp-prefix=${LOCALBASE}

.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>