91faa22c52
parameter to daemonize, move the parameter from daemon to daemon_flags, so that the user cannot inadvertently prevent it from daemonizing by adjusting the flags. Discussed with ajacoutot and schwarze, this method was suggested by schwarze@ as a simpler alternative to my diff. ok aja@
37 lines
680 B
Makefile
37 lines
680 B
Makefile
# $OpenBSD: Makefile,v 1.9 2011/12/17 22:01:13 sthen Exp $
|
|
|
|
COMMENT = network traffic monitor
|
|
|
|
DISTNAME = vnstat-1.10
|
|
CATEGORIES = net sysutils
|
|
|
|
REVISION = 6
|
|
|
|
HOMEPAGE = http://humdi.net/vnstat/
|
|
|
|
MASTER_SITES = ${HOMEPAGE}
|
|
|
|
MAINTAINER = Pierre-Emmanuel Andre <pea@openbsd.org>
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
WANTLIB = c m gd
|
|
|
|
LIB_DEPENDS = graphics/gd
|
|
|
|
USE_GMAKE = Yes
|
|
|
|
NO_REGRESS = Yes
|
|
|
|
INSTALL_TARGET = bsdinstall
|
|
|
|
LDFLAGS += -L${LOCALBASE}/lib -L/usr/X11R6/lib
|
|
MAKE_FLAGS = CC="${CC}" CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
|
LDFLAGS="${LDFLAGS}"
|
|
|
|
.include <bsd.port.mk>
|