2013-03-11 07:35:43 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.15 2013/03/11 11:35:58 espie Exp $
|
2010-10-25 06:14:53 -04:00
|
|
|
|
2012-05-17 03:30:27 -04:00
|
|
|
COMMENT = network traffic monitor
|
2010-10-25 06:14:53 -04:00
|
|
|
|
2012-05-17 03:30:27 -04:00
|
|
|
DISTNAME = vnstat-1.11
|
2013-03-08 05:37:03 -05:00
|
|
|
REVISION = 3
|
2012-05-17 03:30:27 -04:00
|
|
|
CATEGORIES = net sysutils
|
2010-10-25 06:14:53 -04:00
|
|
|
|
2012-05-17 03:30:27 -04:00
|
|
|
HOMEPAGE = http://humdi.net/vnstat/
|
2010-10-25 06:14:53 -04:00
|
|
|
|
|
|
|
MASTER_SITES = ${HOMEPAGE}
|
|
|
|
|
2012-05-17 03:30:27 -04:00
|
|
|
MAINTAINER = Pierre-Emmanuel Andre <pea@openbsd.org>
|
2010-10-25 06:14:53 -04:00
|
|
|
|
|
|
|
# GPLv2
|
2012-05-17 03:30:27 -04:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
2010-10-25 06:14:53 -04:00
|
|
|
|
2012-05-17 03:30:27 -04:00
|
|
|
WANTLIB = c gd m
|
2010-10-25 06:14:53 -04:00
|
|
|
|
2012-05-17 03:30:27 -04:00
|
|
|
LIB_DEPENDS = graphics/gd
|
2010-10-25 06:14:53 -04:00
|
|
|
|
2012-05-17 03:30:27 -04:00
|
|
|
USE_GMAKE = Yes
|
2010-10-25 06:14:53 -04:00
|
|
|
|
2013-03-11 07:35:43 -04:00
|
|
|
NO_TEST = Yes
|
2010-10-25 06:14:53 -04:00
|
|
|
|
|
|
|
INSTALL_TARGET = bsdinstall
|
|
|
|
|
2012-05-17 03:30:27 -04:00
|
|
|
MAKE_FLAGS = CC="${CC}" CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
2012-03-09 04:33:03 -05:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
|
2010-10-25 06:14:53 -04:00
|
|
|
|
2013-03-08 05:37:03 -05:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/vnstat.cgi ${PREFIX}/share/examples/vnstat/
|
|
|
|
|
2010-10-25 06:14:53 -04:00
|
|
|
.include <bsd.port.mk>
|