Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Dec 2017 11:53:44 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r456625 - in head/net-mgmt/fprobe: . files
Message-ID:  <201712181153.vBIBriDj072132@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Dec 18 11:53:44 2017
New Revision: 456625
URL: https://svnweb.freebsd.org/changeset/ports/456625

Log:
  - Add LICENSE
  - Switch to options helpers
  - Simplify port

Modified:
  head/net-mgmt/fprobe/Makefile
  head/net-mgmt/fprobe/files/fprobe.in

Modified: head/net-mgmt/fprobe/Makefile
==============================================================================
--- head/net-mgmt/fprobe/Makefile	Mon Dec 18 11:51:39 2017	(r456624)
+++ head/net-mgmt/fprobe/Makefile	Mon Dec 18 11:53:44 2017	(r456625)
@@ -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}

Modified: head/net-mgmt/fprobe/files/fprobe.in
==============================================================================
--- head/net-mgmt/fprobe/files/fprobe.in	Mon Dec 18 11:51:39 2017	(r456624)
+++ head/net-mgmt/fprobe/files/fprobe.in	Mon Dec 18 11:53:44 2017	(r456625)
@@ -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"
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712181153.vBIBriDj072132>