aboutsummaryrefslogtreecommitdiff
path: root/net/vnstat/Makefile
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-01-19 11:10:19 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-01-19 11:10:19 +0000
commit2a2e8141f272d18fc3c6cfbe30a5be42f60478c1 (patch)
tree12e9fbbefd205080605c52f09605c09a9847aac9 /net/vnstat/Makefile
parent936e40ace4d28451dea331d4949494672536b3f4 (diff)
downloadports-2a2e8141f272d18fc3c6cfbe30a5be42f60478c1.tar.gz
ports-2a2e8141f272d18fc3c6cfbe30a5be42f60478c1.zip
Use USES=sqlite
- Update manpage location (r523104) - Remove superfluous / before PREFIX and DOCSDIR - Sort PLIST - Update pkg-descr - Update WWW - Take maintainership
Notes
Notes: svn path=/head/; revision=523542
Diffstat (limited to 'net/vnstat/Makefile')
-rw-r--r--net/vnstat/Makefile35
1 files changed, 16 insertions, 19 deletions
diff --git a/net/vnstat/Makefile b/net/vnstat/Makefile
index 80ebbda2968f..b8c10956708c 100644
--- a/net/vnstat/Makefile
+++ b/net/vnstat/Makefile
@@ -6,20 +6,18 @@ PORTVERSION= 2.4
CATEGORIES= net
MASTER_SITES= https://humdi.net/vnstat/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Console-based network traffic monitor
LICENSE= GPLv2
-LIB_DEPENDS= libsqlite3.so:databases/sqlite3
+USES= gmake sqlite
GNU_CONFIGURE= yes
-
-USES= gmake
USE_RC_SUBR= vnstat
-USERS= vnstat
-GROUPS= vnstat
+USERS= vnstat
+GROUPS= vnstat
PORTDOCS= README INSTALL_BSD UPGRADE
SUB_FILES= pkg-message
@@ -27,27 +25,26 @@ SUB_LIST= USERS=${USERS} \
GROUPS=${GROUPS}
OPTIONS_DEFINE= GUI DOCS
-OPTIONS_DEFAULT= GUI
+OPTIONS_DEFAULT=GUI
OPTIONS_SUB= yes
GUI_DESC= Build with graphics/gd dependency
GUI_LIB_DEPENDS= libgd.so:graphics/gd
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/vnstat ${STAGEDIR}/${PREFIX}/bin/vnstat
- ${INSTALL_PROGRAM} ${WRKSRC}/vnstatd ${STAGEDIR}/${PREFIX}/sbin/vnstatd
- ${INSTALL_DATA} ${WRKSRC}/cfg/vnstat.conf ${STAGEDIR}/${PREFIX}/etc/vnstat.conf.sample
- ${INSTALL_MAN} ${WRKSRC}/man/vnstat.1 ${STAGEDIR}/${MANPREFIX}/man/man1/vnstat.1
- ${INSTALL_MAN} ${WRKSRC}/man/vnstatd.8 ${STAGEDIR}/${MANPREFIX}/man/man8/vnstatd.8
- ${INSTALL_MAN} ${WRKSRC}/man/vnstat.conf.5 ${STAGEDIR}/${MANPREFIX}/man/man5/vnstat.conf.5
+ ${INSTALL_PROGRAM} ${WRKSRC}/vnstat ${STAGEDIR}${PREFIX}/bin/vnstat
+ ${INSTALL_DATA} ${WRKSRC}/cfg/vnstat.conf ${STAGEDIR}${PREFIX}/etc/vnstat.conf.sample
+ ${INSTALL_PROGRAM} ${WRKSRC}/vnstatd ${STAGEDIR}${PREFIX}/sbin/vnstatd
+ ${INSTALL_MAN} ${WRKSRC}/man/vnstat.1 ${STAGEDIR}${PREFIX}/share/man/man1/vnstat.1
+ ${INSTALL_MAN} ${WRKSRC}/man/vnstat.conf.5 ${STAGEDIR}${PREFIX}/share/man/man5/vnstat.conf.5
+ ${INSTALL_MAN} ${WRKSRC}/man/vnstatd.8 ${STAGEDIR}${PREFIX}/share/man/man8/vnstatd.8
do-install-GUI-on:
- ${INSTALL_PROGRAM} ${WRKSRC}/vnstati ${STAGEDIR}/${PREFIX}/bin/vnstati
- ${INSTALL_MAN} ${WRKSRC}/man/vnstati.1 ${STAGEDIR}/${MANPREFIX}/man/man1/vnstati.1
+ ${INSTALL_PROGRAM} ${WRKSRC}/vnstati ${STAGEDIR}${PREFIX}/bin/vnstati
+ ${INSTALL_MAN} ${WRKSRC}/man/vnstati.1 ${STAGEDIR}${PREFIX}/share/man/man1/vnstati.1
-post-install-DOCS-on:
- @${ECHO_MSG} "installing additional documentation to ${DOCSDIR}"
- @${MKDIR} ${STAGEDIR}/${DOCSDIR}
- @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}/${DOCSDIR}
+do-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>