diff options
author | Mark Felder <feld@FreeBSD.org> | 2013-06-27 20:40:35 +0000 |
---|---|---|
committer | Mark Felder <feld@FreeBSD.org> | 2013-06-27 20:40:35 +0000 |
commit | a7ab4c2a5a0e262cb8d92ddf9163ebd2126c39ec (patch) | |
tree | 498d0e5e0cd6af246bbb8722dbe0072d78995c37 /net/vnstat/Makefile | |
parent | ce8324b4515079f0d96a30290d12c1c2f8f46f21 (diff) | |
download | ports-a7ab4c2a5a0e262cb8d92ddf9163ebd2126c39ec.tar.gz ports-a7ab4c2a5a0e262cb8d92ddf9163ebd2126c39ec.zip |
- Add rc script
- Add vnstat to UIDs and GIDs
PR: ports/179271
Approved by: crees (mentor)
Notes
Notes:
svn path=/head/; revision=321902
Diffstat (limited to 'net/vnstat/Makefile')
-rw-r--r-- | net/vnstat/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/net/vnstat/Makefile b/net/vnstat/Makefile index 29824e464d2c..71633ce403bd 100644 --- a/net/vnstat/Makefile +++ b/net/vnstat/Makefile @@ -3,7 +3,7 @@ PORTNAME= vnstat PORTVERSION= 1.11 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MASTER_SITES= http://humdi.net/vnstat/ \ http://mirror.mcx2.org/ @@ -15,11 +15,18 @@ MAKE_ARGS= CC="${CC}" CFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" INSTALL_TARGET= bsdinstall +USE_RC_SUBR= vnstat + +USERS= vnstat +GROUPS= vnstat + MAN1= vnstat.1 vnstatd.1 MAN5= vnstat.conf.5 MANCOMPRESSED= yes PORTDOCS= README INSTALL_BSD UPGRADE vnstat-cron SUB_FILES= pkg-message +SUB_LIST= USERS=${USERS} \ + GROUPS=${GROUPS} # will compile with image output OPTIONS_DEFINE= GUI DOCS @@ -34,7 +41,7 @@ PLIST_FILES= bin/vnstat \ etc/vnstat.conf.sample .if ${PORT_OPTIONS:MGUI} -LIB_DEPENDS+= gd.4:${PORTSDIR}/graphics/gd +LIB_DEPENDS+= gd:${PORTSDIR}/graphics/gd PLIST_SUB+= GUI="" MAN1+= vnstati.1 .else |