2004-12-15 19:31:20 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2004/12/16 00:31:22 alek Exp $
|
2003-11-22 17:42:30 -05:00
|
|
|
|
|
|
|
COMMENT= "tool to monitor interface bandwidth usage"
|
|
|
|
|
2004-04-18 19:33:17 -04:00
|
|
|
DISTNAME= ifstat-1.1
|
2003-11-22 17:42:30 -05:00
|
|
|
CATEGORIES= net
|
|
|
|
|
|
|
|
HOMEPAGE= http://gael.roualland.free.fr/ifstat/
|
|
|
|
|
|
|
|
MAINTAINER= Johan Fredin <griffin@legonet.org>
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-15 19:31:20 -05:00
|
|
|
WANTLIB= c
|
2003-11-22 17:42:30 -05:00
|
|
|
|
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu dest
|
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2004-05-15 11:19:20 -04:00
|
|
|
FLAVORS= snmp
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L} == "snmp"
|
2004-10-12 23:31:32 -04:00
|
|
|
LIB_DEPENDS= netsnmp.6.2::net/net-snmp
|
2004-05-15 11:19:20 -04:00
|
|
|
CONFIGURE_ARGS+= --with-snmp=${LOCALBASE}
|
2004-12-15 19:31:20 -05:00
|
|
|
WANTLIB+= crypto m
|
2004-05-15 11:19:20 -04:00
|
|
|
.else
|
2003-11-22 17:42:30 -05:00
|
|
|
CONFIGURE_ARGS+= --without-snmp
|
2004-05-15 11:19:20 -04:00
|
|
|
.endif
|
2003-11-22 17:42:30 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|