aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2006-10-31 17:48:38 +0800
committerjylefort <jylefort@FreeBSD.org>2006-10-31 17:48:38 +0800
commitf0a456bf070fc208edb7155204da7a1b9f51119f (patch)
tree495e777cab2b310a76a097d7af39c2ddc73ca351 /sysutils
parent3e0127b2d761ad6a1232e542ed408364287291b7 (diff)
downloadfreebsd-ports-gnome-f0a456bf070fc208edb7155204da7a1b9f51119f.tar.gz
freebsd-ports-gnome-f0a456bf070fc208edb7155204da7a1b9f51119f.tar.zst
freebsd-ports-gnome-f0a456bf070fc208edb7155204da7a1b9f51119f.zip
Start hald if gnome_enable is set to yes in /etc/rc.conf
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/hal/Makefile3
-rw-r--r--sysutils/hal/files/hald.in7
2 files changed, 6 insertions, 4 deletions
diff --git a/sysutils/hal/Makefile b/sysutils/hal/Makefile
index e0c824e23b66..b7db1d88233c 100644
--- a/sysutils/hal/Makefile
+++ b/sysutils/hal/Makefile
@@ -8,7 +8,7 @@
PORTNAME= hal
PORTVERSION= ${HALVERSION}.${SNAPVERSION}
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES?= sysutils
MASTER_SITES= http://www.marcuscom.com/downloads/
@@ -43,6 +43,7 @@ SNAPVERSION= 20061030
.if !defined(HAL_SLAVE)
USE_RC_SUBR= hald
+USE_GNOME_SUBR= yes
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${HALVERSION}
PLIST_SUB= VERSION=${HALVERSION}
diff --git a/sysutils/hal/files/hald.in b/sysutils/hal/files/hald.in
index f8b42241e3f7..46681859eb6a 100644
--- a/sysutils/hal/files/hald.in
+++ b/sysutils/hal/files/hald.in
@@ -10,10 +10,11 @@
# hald_enable="YES"
#
-hald_enable=${hald_enable-"NO"}
-hald_flags=${hald_flags-""}
-
. %%RC_SUBR%%
+. %%GNOME_SUBR%%
+
+hald_enable=${hald_enable-${gnome_enable}}
+hald_flags=${hald_flags-""}
name=hald
rcvar=`set_rcvar`