summaryrefslogtreecommitdiff
path: root/sysutils/hal
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2006-10-31 09:48:38 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2006-10-31 09:48:38 +0000
commit8d7c49ec901fe0d8bff5195e71afec4293703681 (patch)
tree04f831a98ebbcaca6ff5f89b046c9a60c5b7aa5f /sysutils/hal
parentStart polkitd if gnome_enable is set to yes in /etc/rc.conf (diff)
Start hald if gnome_enable is set to yes in /etc/rc.conf
Notes
Notes: svn path=/head/; revision=175773
Diffstat (limited to 'sysutils/hal')
-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`