summaryrefslogtreecommitdiff
path: root/sysutils/hal/Makefile
diff options
context:
space:
mode:
authorhasso <hasso@pkgsrc.org>2008-11-24 21:13:19 +0000
committerhasso <hasso@pkgsrc.org>2008-11-24 21:13:19 +0000
commit7af6b2adf3da48fda8d133fc9ba5f65adea3d504 (patch)
treede47dd836a2bf687eb63fd3de16de543d21ee831 /sysutils/hal/Makefile
parenta35151c7a2fc9c4538ddaa52b70da9309562eeae (diff)
downloadpkgsrc-7af6b2adf3da48fda8d133fc9ba5f65adea3d504.tar.gz
* Make it work on DragonFly with FreeBSD backend. It's largely untested,
but certainly already usable. * Fix paths to [pci|usb].ids files. * Bump PKGREVISION.
Diffstat (limited to 'sysutils/hal/Makefile')
-rw-r--r--sysutils/hal/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/sysutils/hal/Makefile b/sysutils/hal/Makefile
index 113bbb0f992..920e04c449e 100644
--- a/sysutils/hal/Makefile
+++ b/sysutils/hal/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2008/11/24 01:23:12 jmcneill Exp $
+# $NetBSD: Makefile,v 1.4 2008/11/24 21:13:19 hasso Exp $
#
DISTNAME= hal-0.5.11
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= http://hal.freedesktop.org/releases/
EXTRACT_SUFX= .tar.bz2
@@ -30,8 +30,8 @@ EGDIR= ${PREFIX}/share/examples/hal
CONF_FILES= ${EGDIR}/hal.conf ${PREFIX}/etc/dbus-1/system.d/hal.conf
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
-CONFIGURE_ARGS+= --with-pci-ids=${PREFIX}/share/pciids/pci.ids
-CONFIGURE_ARGS+= --with-usb-ids=${PREFIX}/share/usbids/usb.ids
+CONFIGURE_ARGS+= --with-pci-ids=${PREFIX}/share/pciids
+CONFIGURE_ARGS+= --with-usb-ids=${PREFIX}/share/usbids
CONFIGURE_ARGS+= --with-hal-user=${HAL_USER}
CONFIGURE_ARGS+= --with-hal-group=${HAL_GROUP}
@@ -39,6 +39,8 @@ CONFIGURE_ARGS+= --with-hal-group=${HAL_GROUP}
.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly"
CONFIGURE_ARGS+= --with-eject=/usr/sbin/cdcontrol
+CONFIGURE_ARGS+= --with-backend=freebsd
+PLIST_SRC= PLIST.FreeBSD PLIST
.endif
REPLACE_INTERPRETER+= bash