diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2013-11-03 12:53:54 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2013-11-03 12:53:54 +0800 |
commit | 6278f3c10d861d45b839cea39b8089ebe38305db (patch) | |
tree | 31cfca33f76f468a67291c8e8454b100a787b949 /net-mgmt | |
parent | 37a765d1a78d28df2d361b4ae1c639254c66572e (diff) | |
download | freebsd-ports-gnome-6278f3c10d861d45b839cea39b8089ebe38305db.tar.gz freebsd-ports-gnome-6278f3c10d861d45b839cea39b8089ebe38305db.tar.zst freebsd-ports-gnome-6278f3c10d861d45b839cea39b8089ebe38305db.zip |
- Add missing rcvar in rc.d script
- Bump PORTREVISION for package change
- While I'm here, use bsd.port.mk instead of bsd.port.pre.mk + bsd.port.post.mk
PR: ports/182277
Submitted by: Loic Blot <loic.blot@unix-experience.fr>
Approved by: maintainer (timeout, 7 weeks)
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/netdisco/Makefile | 7 | ||||
-rw-r--r-- | net-mgmt/netdisco/files/netdisco.in | 1 |
2 files changed, 5 insertions, 3 deletions
diff --git a/net-mgmt/netdisco/Makefile b/net-mgmt/netdisco/Makefile index c0adffdda651..b2922e17e96a 100644 --- a/net-mgmt/netdisco/Makefile +++ b/net-mgmt/netdisco/Makefile @@ -3,6 +3,7 @@ PORTNAME= netdisco PORTVERSION= 1.3.2 +PORTREVISION= 1 CATEGORIES= net-mgmt www MASTER_SITES= SF @@ -38,6 +39,7 @@ USE_APACHE_RUN= 22+ USE_RC_SUBR= netdisco NO_BUILD= yes +NO_STAGE= yes NETDISCO_RUNDIR=/var/run NETDISCO_DBDIR= /var/db/netdisco @@ -56,8 +58,7 @@ CONFIG_FILES= netdisco.conf netdisco.crontab netdisco-topology.txt \ DOCFILES= ChangeLog doc/*.pod INSTALL README* UPGRADE -NO_STAGE= yes -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> MIBSDIR= ${PREFIX}/share/netdisco-mibs .if ${PORT_OPTIONS:MMIBS} @@ -150,4 +151,4 @@ post-install: . endif @${CAT} ${PKGMESSAGE} -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/net-mgmt/netdisco/files/netdisco.in b/net-mgmt/netdisco/files/netdisco.in index b75e338f9abd..f2adf9fa4dd4 100644 --- a/net-mgmt/netdisco/files/netdisco.in +++ b/net-mgmt/netdisco/files/netdisco.in @@ -10,6 +10,7 @@ . /etc/rc.subr name="netdisco" +rcvar="netdisco_enable" load_rc_config $name |