Start polkitd if gnome_enable is set to yes in /etc/rc.conf
This commit is contained in:
parent
09eb686da1
commit
e6f9b2c46c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=175772
@ -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)
|
||||
|
@ -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`
|
||||
|
Loading…
Reference in New Issue
Block a user