summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/devkitd/DESCR7
-rw-r--r--sysutils/devkitd/Makefile28
-rw-r--r--sysutils/devkitd/PLIST7
-rw-r--r--sysutils/devkitd/distinfo6
-rw-r--r--sysutils/devkitd/patches/patch-aa13
5 files changed, 61 insertions, 0 deletions
diff --git a/sysutils/devkitd/DESCR b/sysutils/devkitd/DESCR
new file mode 100644
index 00000000000..0072bede093
--- /dev/null
+++ b/sysutils/devkitd/DESCR
@@ -0,0 +1,7 @@
+DeviceKit is an abstraction for enumerating devices and listening
+to device events. Any application on the system can access the
+org.freedesktop.DeviceKit service via the system message bus. On
+GNU/Linux, DeviceKit can be considered a simple D-Bus frontend to
+udev(7).
+
+This is a modified version of the DeviceKit daemon for NetBSD.
diff --git a/sysutils/devkitd/Makefile b/sysutils/devkitd/Makefile
new file mode 100644
index 00000000000..3668b9dabe3
--- /dev/null
+++ b/sysutils/devkitd/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/09/16 19:03:48 wiz Exp $
+#
+
+DISTNAME= devkitd-jmcneill-003
+PKGNAME= ${DISTNAME:S/-jmcneill//}
+CATEGORIES= sysutils
+MASTER_SITES= http://www.invisible.ca/~jmcneill/devkitd/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.invisible.ca/~jmcneill/devkitd/
+COMMENT= NetBSD port of devkitd (for DeviceKit)
+LICENSE= gnu-lgpl-v2 AND gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+ONLY_FOR_PLATFORM= NetBSD-*-*
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= gmake pkg-config
+
+CONF_FILES+= share/examples/GConf/org.freedesktop.DeviceKit.conf \
+ ${PKG_SYSCONFBASEDIR}/dbus-1/system.d/org.freedesktop.DeviceKit.conf
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../sysutils/dbus-glib/buildlink3.mk"
+.include "../../sysutils/libdevkit-gobject/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/devkitd/PLIST b/sysutils/devkitd/PLIST
new file mode 100644
index 00000000000..02b57cf4ca1
--- /dev/null
+++ b/sysutils/devkitd/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/09/16 19:03:48 wiz Exp $
+libexec/devkit-daemon
+share/dbus-1/interfaces/org.freedesktop.DeviceKit.xml
+share/dbus-1/system-services/org.freedesktop.DeviceKit.service
+share/devkitd-netbsd/devkitd-subsystem-map.plist
+share/examples/GConf/org.freedesktop.DeviceKit.conf
+@pkgdir var/run/devkit
diff --git a/sysutils/devkitd/distinfo b/sysutils/devkitd/distinfo
new file mode 100644
index 00000000000..d5f579d5ff1
--- /dev/null
+++ b/sysutils/devkitd/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/09/16 19:03:48 wiz Exp $
+
+SHA1 (devkitd-jmcneill-003.tar.gz) = 56c94a626a89d56a99b232f01b0d42aaf80c16cf
+RMD160 (devkitd-jmcneill-003.tar.gz) = 88b166f04061579fa18a510d57593fd3eec453e0
+Size (devkitd-jmcneill-003.tar.gz) = 336408 bytes
+SHA1 (patch-aa) = be3c58564b3763cdb3a18b7a9c36180b35580641
diff --git a/sysutils/devkitd/patches/patch-aa b/sysutils/devkitd/patches/patch-aa
new file mode 100644
index 00000000000..36eff4f165e
--- /dev/null
+++ b/sysutils/devkitd/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/09/16 19:03:48 wiz Exp $
+
+--- Makefile.in.orig 2009-07-18 16:00:12.000000000 +0000
++++ Makefile.in
+@@ -259,7 +259,7 @@ service_in_files = org.freedesktop.Devic
+ service_DATA = $(service_in_files:.service.in=.service)
+ subsystemmapdir = $(datadir)/devkitd-netbsd
+ subsystemmap_DATA = devkitd-subsystem-map.plist
+-dbusconfdir = $(sysconfdir)/dbus-1/system.d
++dbusconfdir = $(PREFIX)/share/examples/GConf
+ dbusconf_in_files = org.freedesktop.DeviceKit.conf.in
+ dbusconf_DATA = $(dbusconf_in_files:.conf.in=.conf)
+ CLEANFILES = $(BUILT_SOURCES) $(service_DATA) $(dbusconf_DATA)