summaryrefslogtreecommitdiff
path: root/sysutils/system-tools-backends
diff options
context:
space:
mode:
authorjmcneill <jmcneill@pkgsrc.org>2008-11-23 16:21:05 +0000
committerjmcneill <jmcneill@pkgsrc.org>2008-11-23 16:21:05 +0000
commit3b29c6f51c3c63b6b700e2dcf428867e247b2878 (patch)
tree2e6f682312ba31d9bb250ef785ee3a68e694fa2c /sysutils/system-tools-backends
parent9456b3579b68346091ea8060a880f0c747a69e1e (diff)
downloadpkgsrc-3b29c6f51c3c63b6b700e2dcf428867e247b2878.tar.gz
Pull in policykit and hal, fix handling of dbus config files.
Diffstat (limited to 'sysutils/system-tools-backends')
-rw-r--r--sysutils/system-tools-backends/Makefile23
-rw-r--r--sysutils/system-tools-backends/PLIST5
2 files changed, 24 insertions, 4 deletions
diff --git a/sysutils/system-tools-backends/Makefile b/sysutils/system-tools-backends/Makefile
index 8e2c53a16a3..508465d01a3 100644
--- a/sysutils/system-tools-backends/Makefile
+++ b/sysutils/system-tools-backends/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/11/15 18:28:56 jmcneill Exp $
+# $NetBSD: Makefile,v 1.2 2008/11/23 16:21:05 jmcneill Exp $
#
DISTNAME= system-tools-backends-2.6.0
+PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://system-tools-backends.freedesktop.org/downloads/2.6/
@@ -11,14 +12,32 @@ COMMENT= DBus interface for system configuration
PKG_DESTDIR_SUPPORT= user-destdir
+PKG_OPTIONS_VAR= PKG_OPTIONS.system-tools-backends
+PKG_SUPPORTED_OPTIONS+= hal
+PKG_SUGGESTED_OPTIONS+= hal
+
+.include "../../mk/bsd.options.mk"
+.if !empty(PKG_OPTIONS:Mhal)
+.include "../../security/policykit/buildlink3.mk"
+.include "../../sysutils/hal/buildlink3.mk"
+.endif
+
+EGDIR= ${PREFIX}/share/examples/system-tools-backends
+CONF_FILES+= ${EGDIR}/system-tools-backends.conf ${PKG_SYSCONFDIR}/dbus-1/system.d/system-tools-backends.conf
+
GNU_CONFIGURE= YES
USE_DIRS+= xdg-1.4
USE_PKGLOCALEDIR= YES
USE_TOOLS+= gmake intltool msgfmt perl pkg-config
USE_LIBTOOL= YES
-CONFIGURE_ARGS+= --with-stb-group=${ROOT_GROUP}
+STB_GROUP?= stb-admin
+PKG_GROUPS= ${STB_GROUP}
+PKG_GROUPS_VARS+= STB_GROUP
+
+CONFIGURE_ARGS+= --with-stb-group=${STB_GROUP}
CONFIGURE_ARGS+= --localstatedir=/var
+CONFIGURE_ARGS+= --with-dbus-sys=${EGDIR}
DEPENDS+= p5-XML-Twig>=3.32:../../textproc/p5-XML-Twig
DEPENDS+= p5-Net-DBus>=0.33.6:../../net/p5-Net-DBus
diff --git a/sysutils/system-tools-backends/PLIST b/sysutils/system-tools-backends/PLIST
index 7163228fac9..4dd5eeeebf1 100644
--- a/sysutils/system-tools-backends/PLIST
+++ b/sysutils/system-tools-backends/PLIST
@@ -1,6 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2008/11/15 18:28:56 jmcneill Exp $
+@comment $NetBSD: PLIST,v 1.2 2008/11/23 16:21:05 jmcneill Exp $
bin/system-tools-backends
-etc/dbus-1/system.d/system-tools-backends.conf
lib/pkgconfig/system-tools-backends-2.0.pc
share/dbus-1/system-services/org.freedesktop.SystemToolsBackends.GroupsConfig.service
share/dbus-1/system-services/org.freedesktop.SystemToolsBackends.HostsConfig.service
@@ -14,6 +13,7 @@ share/dbus-1/system-services/org.freedesktop.SystemToolsBackends.TimeConfig.serv
share/dbus-1/system-services/org.freedesktop.SystemToolsBackends.UserConfig.service
share/dbus-1/system-services/org.freedesktop.SystemToolsBackends.UsersConfig.service
share/dbus-1/system-services/org.freedesktop.SystemToolsBackends.service
+share/examples/system-tools-backends/system-tools-backends.conf
share/system-tools-backends-2.0/files/general_gprs_chatscript
share/system-tools-backends-2.0/files/general_isdn_ppp_options
share/system-tools-backends-2.0/files/general_pppoe_ppp_options
@@ -51,6 +51,7 @@ share/system-tools-backends-2.0/scripts/Utils/Replace.pm
share/system-tools-backends-2.0/scripts/Utils/Report.pm
share/system-tools-backends-2.0/scripts/Utils/Util.pm
share/system-tools-backends-2.0/scripts/Utils/XML.pm
+@dirrm share/examples/system-tools-backends
@dirrm share/system-tools-backends-2.0/scripts/Utils
@dirrm share/system-tools-backends-2.0/scripts/Users
@dirrm share/system-tools-backends-2.0/scripts/Time