diff options
author | jylefort <jylefort@FreeBSD.org> | 2006-10-31 17:48:38 +0800 |
---|---|---|
committer | jylefort <jylefort@FreeBSD.org> | 2006-10-31 17:48:38 +0800 |
commit | f0a456bf070fc208edb7155204da7a1b9f51119f (patch) | |
tree | 495e777cab2b310a76a097d7af39c2ddc73ca351 /sysutils | |
parent | 3e0127b2d761ad6a1232e542ed408364287291b7 (diff) | |
download | freebsd-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/Makefile | 3 | ||||
-rw-r--r-- | sysutils/hal/files/hald.in | 7 |
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` |