summaryrefslogtreecommitdiffstats
path: root/sysutils/hal/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-14 18:33:48 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-14 18:33:48 +0800
commit1b3327761c8bcb98d89b529daeae9600844b4361 (patch)
tree0be1cd4eb5fec6661da4798906b0d9bd522e794f /sysutils/hal/Makefile
parenta65aedbb59fd9dfb33a4633611777da99ec4dcd5 (diff)
downloadmarcuscom-ports-1b3327761c8bcb98d89b529daeae9600844b4361.tar
marcuscom-ports-1b3327761c8bcb98d89b529daeae9600844b4361.tar.gz
marcuscom-ports-1b3327761c8bcb98d89b529daeae9600844b4361.tar.bz2
marcuscom-ports-1b3327761c8bcb98d89b529daeae9600844b4361.tar.lz
marcuscom-ports-1b3327761c8bcb98d89b529daeae9600844b4361.tar.xz
marcuscom-ports-1b3327761c8bcb98d89b529daeae9600844b4361.tar.zst
marcuscom-ports-1b3327761c8bcb98d89b529daeae9600844b4361.zip
Clean out MarcusCom after the big import into ports.
Next stop, GNOME 2.17. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7799 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils/hal/Makefile')
-rw-r--r--sysutils/hal/Makefile113
1 files changed, 0 insertions, 113 deletions
diff --git a/sysutils/hal/Makefile b/sysutils/hal/Makefile
deleted file mode 100644
index d7f4c8661..000000000
--- a/sysutils/hal/Makefile
+++ /dev/null
@@ -1,113 +0,0 @@
-# New ports collection makefile for: HAL
-# Date Created: 02 May 2006
-# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
-#
-# $FreeBSD$
-# $MCom: ports/sysutils/hal/Makefile,v 1.25 2006/10/08 02:27:53 mezz Exp $
-#
-
-PORTNAME= hal
-PORTVERSION= ${HALVERSION}.${SNAPVERSION}
-PORTREVISION?= 1
-CATEGORIES?= sysutils
-MASTER_SITES= http://www.marcuscom.com/downloads/
-
-MAINTAINER= gnome@FreeBSD.org
-COMMENT?= Hardware Abstraction Layer for simplifying device access
-
-.if !defined(HAL_SLAVE)
-LIB_DEPENDS= polkit.0:${PORTSDIR}/sysutils/policykit
-RUN_DEPENDS= ${LOCALBASE}/share/pciids/pci.ids:${PORTSDIR}/misc/pciids \
- isoinfo:${PORTSDIR}/sysutils/cdrtools
-.endif
-
-USE_BZIP2= yes
-USE_GETTEXT= yes
-USE_GMAKE= yes
-USE_GNOME= gnomehack gnometarget intlhack ltverhack
-USE_AUTOTOOLS= libtool:15
-USE_LDCONFIG= yes
-USE_PYTHON= yes
-CONFIGURE_ARGS= --disable-gtk-doc \
- --with-hwdata=${LOCALBASE}/share/pciids \
- --with-backend=freebsd \
- --with-socket-dir=/var/run/hald \
- --with-pid-file=/var/run/hald/hald.pid
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib" \
- GTKDOC="false"
-
-HALVERSION= 0.5.8
-SNAPVERSION= 20060917
-
-.if !defined(HAL_SLAVE)
-USE_RC_SUBR= hald
-DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${HALVERSION}
-PLIST_SUB= VERSION=${HALVERSION}
-
-PRIV_FILES= hal-power-hibernate \
- hal-power-poweroff \
- hal-power-reboot \
- hal-power-suspend \
- hal-storage-fixed-mount-change-uid \
- hal-storage-fixed-mount \
- hal-storage-removable-mount-change-uid \
- hal-storage-removable-mount
-PRIV_FILES:= ${PRIV_FILES:S|$|.privilege|}
-
-RC_FILES= hal.conf:${PREFIX}/etc/dbus-1/system.d \
- ${PRIV_FILES:S|$|:${PREFIX}/etc/PolicyKit/privilege.d|}
-PLIST_FILES= ${PRIV_FILES:S|^|%%DATADIR%%/dist/|}
-
-SUB_FILES= pkg-install pkg-deinstall
-SUB_LIST= RC_FILES="${RC_FILES}"
-.else # Slave port stuff
-LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal
-RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/dbus/__init__.py:${PORTSDIR}/devel/py-dbus
-
-USE_GNOME+= pygnome2
-DESKTOP_ENTRIES="Device Manager" \
- "Examine your devices" \
- "${DATADIR}/device-manager/hal-bus-pci.png" \
- "hal-device-manager" \
- "Application;System;" \
- true
-BUILD_WRKSRC= ${WRKSRC}/tools/device-manager
-INSTALL_WRKSRC= ${BUILD_WRKSRC}
-.endif
-
-.include <bsd.port.pre.mk>
-
-.if !defined(HAL_SLAVE) && (${ARCH}=="i386" || ${ARCH}=="amd64" || ${ARCH}=="ia64")
-RUN_DEPENDS+= dmidecode:${PORTSDIR}/sysutils/dmidecode
-.endif
-
-post-patch:
-.if !defined(HAL_SLAVE)
- @${REINPLACE_CMD} -e 's|device-manager||' \
- ${WRKSRC}/tools/Makefile.in
-.endif
- @${REINPLACE_CMD} -e '/^scriptdir = /s|libdir|libexecdir|' \
- ${WRKSRC}/tools/Makefile.in \
- ${WRKSRC}/tools/freebsd/Makefile.in
- @${REINPLACE_CMD} -e 's|[(]libdir[)]/hal/scripts|(libexecdir)/hal/scripts|' \
- ${WRKSRC}/hald/Makefile.in
- @${REINPLACE_CMD} -e '/^SUBDIRS/ s|txt||' \
- ${WRKSRC}/policy/Makefile.in
- @${REINPLACE_CMD} -e 's|user="0"|group="operator"|g' \
- ${WRKSRC}/hal.conf.in
-
-post-install:
-.if !defined(HAL_SLAVE)
- ${MKDIR} ${DATADIR}/dist
- ${INSTALL_DATA} ${WRKSRC}/hal.conf ${WRKSRC}/policy/txt/*.privilege \
- ${DATADIR}/dist
- @${SETENV} PKG_PREFIX=${PREFIX} PACKAGE_BUILDING=${PACKAGE_BUILDING} \
- ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-.if !defined(NOPORTDOCS)
- ${INSTALL_DATA} ${WRKSRC}/hald/freebsd/README \
- ${DOCSDIR}/README.freebsd
-.endif
-.endif
-
-.include <bsd.port.post.mk>