aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/netdisco
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-11-03 04:53:54 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-11-03 04:53:54 +0000
commit6bb71bde72b4091bf9dab42da8699c15b1863557 (patch)
tree31cfca33f76f468a67291c8e8454b100a787b949 /net-mgmt/netdisco
parent7163c18bd76f5bc504bb49ec154f3e4dd4408c20 (diff)
downloadports-6bb71bde72b4091bf9dab42da8699c15b1863557.tar.gz
ports-6bb71bde72b4091bf9dab42da8699c15b1863557.zip
Notes
Diffstat (limited to 'net-mgmt/netdisco')
-rw-r--r--net-mgmt/netdisco/Makefile7
-rw-r--r--net-mgmt/netdisco/files/netdisco.in1
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