Start polkitd if gnome_enable is set to yes in /etc/rc.conf

This commit is contained in:
Jean-Yves Lefort 2006-10-31 09:40:42 +00:00
parent 09eb686da1
commit e6f9b2c46c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=175772
2 changed files with 5 additions and 3 deletions

View File

@ -8,7 +8,7 @@
PORTNAME= policykit
PORTVERSION= 0.1.20060514
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= sysutils gnome
MASTER_SITES= http://www.marcuscom.com/downloads/
DISTNAME= PolicyKit-${PORTVERSION}
@ -31,6 +31,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
GTKDOC="false"
USE_RC_SUBR= polkitd
USE_GNOME_SUBR= yes
post-install:
.if !defined(PACKAGE_BUILDING)

View File

@ -10,9 +10,10 @@
# polkitd_enable="YES"
#
polkitd_enable=${polkitd_enable-"NO"}
. %%RC_SUBR%%
. %%GNOME_SUBR%%
polkitd_enable=${polkitd_enable-${gnome_enable}}
name=polkitd
rcvar=`set_rcvar`