diff options
author | jylefort <jylefort@FreeBSD.org> | 2006-10-31 17:40:42 +0800 |
---|---|---|
committer | jylefort <jylefort@FreeBSD.org> | 2006-10-31 17:40:42 +0800 |
commit | 3e0127b2d761ad6a1232e542ed408364287291b7 (patch) | |
tree | cc6179d1556d7a650140c72b788d1c38c3031c23 /sysutils/policykit | |
parent | 1a9f48987354d823db257b38fc89f056cc5a3d6e (diff) | |
download | freebsd-ports-gnome-3e0127b2d761ad6a1232e542ed408364287291b7.tar.gz freebsd-ports-gnome-3e0127b2d761ad6a1232e542ed408364287291b7.tar.zst freebsd-ports-gnome-3e0127b2d761ad6a1232e542ed408364287291b7.zip |
Start polkitd if gnome_enable is set to yes in /etc/rc.conf
Diffstat (limited to 'sysutils/policykit')
-rw-r--r-- | sysutils/policykit/Makefile | 3 | ||||
-rw-r--r-- | sysutils/policykit/files/polkitd.in | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/sysutils/policykit/Makefile b/sysutils/policykit/Makefile index 68a6b9c12107..03065efaf153 100644 --- a/sysutils/policykit/Makefile +++ b/sysutils/policykit/Makefile @@ -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) diff --git a/sysutils/policykit/files/polkitd.in b/sysutils/policykit/files/polkitd.in index 3ded54522dff..0e2a829c6f54 100644 --- a/sysutils/policykit/files/polkitd.in +++ b/sysutils/policykit/files/polkitd.in @@ -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` |