openbsd-ports/net/vnstat/Makefile
ajacoutot a526b77730 Make the documentation a bit clearer.
ok pea@ (maintainer)
2013-09-02 16:02:40 +00:00

38 lines
730 B
Makefile

# $OpenBSD: Makefile,v 1.17 2013/09/02 16:02:40 ajacoutot Exp $
COMMENT = network traffic monitor
DISTNAME = vnstat-1.11
REVISION = 6
CATEGORIES = net sysutils
HOMEPAGE = http://humdi.net/vnstat/
MASTER_SITES = ${HOMEPAGE}
MAINTAINER = Pierre-Emmanuel Andre <pea@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
WANTLIB = c gd m
LIB_DEPENDS = graphics/gd
USE_GMAKE = Yes
NO_TEST = Yes
INSTALL_TARGET = bsdinstall
MAKE_FLAGS = CC="${CC}" CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
post-configure:
perl -pi -e 's,/var/lib,/var/db,g' ${WRKSRC}/man/*.1
post-install:
${INSTALL_DATA} ${WRKSRC}/examples/vnstat.cgi ${PREFIX}/share/examples/vnstat/
.include <bsd.port.mk>