2011-11-15 19:10:31 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2011/11/16 00:10:31 sthen Exp $
|
2003-11-22 17:42:30 -05:00
|
|
|
|
2007-09-15 18:36:51 -04:00
|
|
|
COMMENT= tool to monitor interface bandwidth usage
|
2003-11-22 17:42:30 -05:00
|
|
|
|
2004-04-18 19:33:17 -04:00
|
|
|
DISTNAME= ifstat-1.1
|
2011-11-15 19:10:31 -05:00
|
|
|
REVISION= 2
|
2003-11-22 17:42:30 -05:00
|
|
|
CATEGORIES= net
|
|
|
|
|
|
|
|
HOMEPAGE= http://gael.roualland.free.fr/ifstat/
|
|
|
|
|
2005-11-11 04:26:44 -05:00
|
|
|
MAINTAINER= Johan Fredin <johan@spelaroll.se>
|
2003-11-22 17:42:30 -05:00
|
|
|
|
2011-11-15 19:10:31 -05:00
|
|
|
# GPLv2+
|
2003-11-22 17:42:30 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2010-07-12 18:07:37 -04:00
|
|
|
|
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
|
2010-11-19 17:31:32 -05:00
|
|
|
USE_GROFF = Yes
|
2003-11-22 17:42:30 -05:00
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2004-05-15 11:19:20 -04:00
|
|
|
FLAVORS= snmp
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L} == "snmp"
|
2010-11-19 17:31:32 -05:00
|
|
|
WANTLIB += netsnmp
|
|
|
|
LIB_DEPENDS= 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>
|