31 lines
511 B
Makefile
31 lines
511 B
Makefile
COMMENT= live CLI display of interface bandwidth, using SNMP
|
|
|
|
GH_ACCOUNT= tenox7
|
|
GH_PROJECT= ttg
|
|
GH_TAGNAME= 2.2
|
|
REVISION= 2
|
|
|
|
CATEGORIES= net
|
|
|
|
HOMEPAGE= http://www.tenox.tc/out/\#ttg
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
WANTLIB += c m netsnmp
|
|
|
|
LIB_DEPENDS= net/net-snmp
|
|
|
|
NO_TEST= Yes
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib -lm -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>
|