From aead6c2a80b23cad644f8835c3172bf8c21d5f98 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Mon, 26 Aug 2019 09:02:39 +0000 Subject: [PATCH] - Add LICENSE - Pet portlint - Switch to options helpers - Update WWW Approved by: portmgr blanket --- net-mgmt/darkstat/Makefile | 7 +++++-- net-mgmt/darkstat/pkg-descr | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/net-mgmt/darkstat/Makefile b/net-mgmt/darkstat/Makefile index bc9781a938f6..948aa2cd1cd6 100644 --- a/net-mgmt/darkstat/Makefile +++ b/net-mgmt/darkstat/Makefile @@ -9,17 +9,20 @@ MASTER_SITES= https://unix4lyfe.org/darkstat/ MAINTAINER= emikulic@gmail.com COMMENT= Network statistics gatherer and reporter -USE_RC_SUBR= darkstat +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING.GPL USES= tar:bzip2 GNU_CONFIGURE= yes +USE_RC_SUBR= darkstat + PORTDOCS= AUTHORS INSTALL README PLIST_FILES= sbin/darkstat man/man8/darkstat.8.gz OPTIONS_DEFINE= DOCS -post-install: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} diff --git a/net-mgmt/darkstat/pkg-descr b/net-mgmt/darkstat/pkg-descr index 745ce9cf2aa9..7bef654b8c1b 100644 --- a/net-mgmt/darkstat/pkg-descr +++ b/net-mgmt/darkstat/pkg-descr @@ -3,4 +3,4 @@ and smaller than ntop, it uses libpcap to capture network traffic and serves up Web page reports of statistics such as data transferred by host, port, and protocol. It also has a neat bandwidth usage graph. -WWW: http://unix4lyfe.org/darkstat/ +WWW: https://unix4lyfe.org/darkstat/