aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/fprobe/Makefile9
-rw-r--r--net-mgmt/fprobe/files/fprobe.in10
2 files changed, 11 insertions, 8 deletions
diff --git a/net-mgmt/fprobe/Makefile b/net-mgmt/fprobe/Makefile
index b8c5dc20f78d..5ba4aeb92971 100644
--- a/net-mgmt/fprobe/Makefile
+++ b/net-mgmt/fprobe/Makefile
@@ -10,16 +10,19 @@ MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Tool that collects network traffic data
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
USES= tar:bzip2
-USE_RC_SUBR= fprobe
GNU_CONFIGURE= yes
-SUB_LIST= NAME=${PORTNAME}
+USE_RC_SUBR= fprobe
+
PLIST_FILES= man/man8/${PORTNAME}.8.gz sbin/fprobe
PORTDOCS= ChangeLog README
OPTIONS_DEFINE= DOCS
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ChangeLog README
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
diff --git a/net-mgmt/fprobe/files/fprobe.in b/net-mgmt/fprobe/files/fprobe.in
index f791fd19639f..dbe64db71379 100644
--- a/net-mgmt/fprobe/files/fprobe.in
+++ b/net-mgmt/fprobe/files/fprobe.in
@@ -6,17 +6,17 @@
# REQUIRE: NETWORKING
# KEYWORD: shutdown
-# Add the following lines to /etc/rc.conf to enable %%NAME%%:
+# Add the following lines to /etc/rc.conf to enable fprobe:
#
-#%%NAME%%_enable="YES"
+# fprobe_enable="YES"
#
-# See fprobe(8) for %%NAME%%_flags
+# See fprobe(8) for fprobe_flags
#
. /etc/rc.subr
-name="%%NAME%%"
-rcvar=%%NAME%%_enable
+name="fprobe"
+rcvar=fprobe_enable
load_rc_config "$name"