diff options
author | kwm <kwm@FreeBSD.org> | 2013-03-19 18:40:22 +0800 |
---|---|---|
committer | kwm <kwm@FreeBSD.org> | 2013-03-19 18:40:22 +0800 |
commit | 4f3e737e3339df65a7737d86948a5c8dacedae60 (patch) | |
tree | 7a5f4c1c91d14d9fcab2b30589db732cde4a3725 /sysutils/hal | |
parent | 38d22f91997e71dd03618ec2d16c51e19e000cd9 (diff) | |
download | freebsd-ports-gnome-4f3e737e3339df65a7737d86948a5c8dacedae60.tar.gz freebsd-ports-gnome-4f3e737e3339df65a7737d86948a5c8dacedae60.tar.zst freebsd-ports-gnome-4f3e737e3339df65a7737d86948a5c8dacedae60.zip |
Convert almost all gnome@ ports to OptionsNG, trim header, use USES=pathfix
instead of gnomehack and pet portlint.
Add conflicts with future gnome3 versions.
Reviewed by: miwi, bapt
Diffstat (limited to 'sysutils/hal')
-rw-r--r-- | sysutils/hal/Makefile | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/sysutils/hal/Makefile b/sysutils/hal/Makefile index bf6c84955b8c..fd9c6dc327ad 100644 --- a/sysutils/hal/Makefile +++ b/sysutils/hal/Makefile @@ -1,10 +1,6 @@ -# New ports collection makefile for: HAL -# Date Created: 02 May 2006 -# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> -# +# Created by: Joe Marcus Clarke <marcus@FreeBSD.org> # $FreeBSD$ # $MCom: ports/sysutils/hal/Makefile,v 1.81 2010/04/13 02:49:07 mezz Exp $ -# PORTNAME= hal DISTVERSION= 0.5.14 @@ -16,14 +12,15 @@ MAINTAINER= gnome@FreeBSD.org COMMENT= Hardware Abstraction Layer for simplifying device access BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:${PORTSDIR}/multimedia/v4l_compat -LIB_DEPENDS= polkit.2:${PORTSDIR}/sysutils/policykit \ - volume_id.0:${PORTSDIR}/devel/libvolume_id \ - ck-connector.0:${PORTSDIR}/sysutils/consolekit +LIB_DEPENDS= polkit:${PORTSDIR}/sysutils/policykit \ + volume_id:${PORTSDIR}/devel/libvolume_id \ + ck-connector:${PORTSDIR}/sysutils/consolekit RUN_DEPENDS= ${LOCALBASE}/share/pciids/pci.ids:${PORTSDIR}/misc/pciids USE_GETTEXT= yes USE_GMAKE= yes -USE_GNOME= gnomehack intlhack ltverhack +USES= pathfix +USE_GNOME= intlhack ltverhack USE_AUTOTOOLS= libtool USE_LDCONFIG= yes USE_PYTHON= yes @@ -71,7 +68,14 @@ MAN1= hal-disable-polling.1 hal-find-by-capability.1 \ hal-lock.1 hal-set-property.1 lshal.1 MAN8= hald.8 -OPTIONS= FIXED_MOUNTPOINTS "use fixed mountpoints" off +OPTIONS_DEFINE= FIXED_MOUNTPOINTS +FIXED_MOUNTPOINTS_DESC= use fixed mountpoints + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MFIXED_MOUNTPOINTS} +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-tools_hal-storage-mount.c +.endif .include <bsd.port.pre.mk> @@ -79,10 +83,6 @@ OPTIONS= FIXED_MOUNTPOINTS "use fixed mountpoints" off RUN_DEPENDS+= dmidecode:${PORTSDIR}/sysutils/dmidecode .endif -.if defined(WITH_FIXED_MOUNTPOINTS) -EXTRA_PATCHES+= ${FILESDIR}/extra-patch-tools_hal-storage-mount.c -.endif - .if ${OSVERSION} >= 800063 PLIST_SUB+= USB2="" .else @@ -113,7 +113,7 @@ post-install: @${SETENV} PKG_PREFIX=${PREFIX} \ ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL .endif -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/hald/freebsd/README \ ${DOCSDIR}/README.freebsd |