aboutsummaryrefslogtreecommitdiff
path: root/sysutils/policykit
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2006-10-31 09:40:42 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2006-10-31 09:40:42 +0000
commite6f9b2c46c4e08b2ce8d205d43f5273fcba6f0b5 (patch)
treebb17bf499fa01e6c08c0af293ae5219d4a2f814d /sysutils/policykit
parent09eb686da1a871101fb32ce98e156655ca73dd3a (diff)
Notes
Diffstat (limited to 'sysutils/policykit')
-rw-r--r--sysutils/policykit/Makefile3
-rw-r--r--sysutils/policykit/files/polkitd.in5
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`