2014-03-24 21:45:27 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.3 2014/03/25 01:45:27 sthen Exp $
|
2012-07-16 11:22:05 -04:00
|
|
|
|
|
|
|
COMMENT= live CLI display of interface bandwidth, using SNMP
|
|
|
|
|
2014-03-24 21:45:27 -04:00
|
|
|
DISTNAME= ttg-2.1
|
2012-07-16 11:22:05 -04:00
|
|
|
|
|
|
|
CATEGORIES= net
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.tenox.tc/out/\#ttg
|
|
|
|
|
|
|
|
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
|
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
|
|
|
WANTLIB += c netsnmp
|
|
|
|
|
|
|
|
# Mirrored from http://www.tenox.tc/out/ttg.c
|
|
|
|
MASTER_SITES= http://spacehopper.org/mirrors/
|
|
|
|
|
|
|
|
LIB_DEPENDS= net/net-snmp
|
|
|
|
|
2013-03-11 07:35:43 -04:00
|
|
|
NO_TEST= Yes
|
2012-07-16 11:22:05 -04:00
|
|
|
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib -lnetsnmp
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC}; ${MAKE_PROGRAM} CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="${LDFLAGS}" ttg
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ttg ${PREFIX}/bin
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|