Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Dec 2013 23:29:34 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337464 - in head: audio/alure audio/fpc-openal audio/freealut audio/hs-ALUT audio/hs-OpenAL audio/py-al audio/py-openal deskutils/xneur devel/allegro-devel devel/love devel/love07 deve...
Message-ID:  <201312252329.rBPNTY87062947@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Wed Dec 25 23:29:34 2013
New Revision: 337464
URL: http://svnweb.freebsd.org/changeset/ports/337464

Log:
  Convert the tree to USES=openal
  
  Approved by:	portmgr (bapt)

Modified:
  head/audio/alure/Makefile
  head/audio/fpc-openal/Makefile
  head/audio/freealut/Makefile
  head/audio/hs-ALUT/Makefile
  head/audio/hs-OpenAL/Makefile
  head/audio/py-al/Makefile
  head/audio/py-openal/Makefile
  head/deskutils/xneur/Makefile
  head/devel/allegro-devel/Makefile
  head/devel/love/Makefile
  head/devel/love07/Makefile
  head/devel/sfml/Makefile
  head/devel/simgear/Makefile
  head/emulators/dolphin-emu/Makefile
  head/emulators/higan/Makefile
  head/emulators/wine-devel/Makefile
  head/emulators/wine/Makefile
  head/emulators/yabause/Makefile
  head/games/0ad/Makefile
  head/games/alienarena/Makefile
  head/games/allacrost/Makefile
  head/games/apricots/Makefile
  head/games/arx-libertatis/Makefile
  head/games/assaultcube/Makefile
  head/games/atr3d/Makefile
  head/games/avp-demo/Makefile
  head/games/battletanks/Makefile
  head/games/blackshadeselite/Makefile
  head/games/chromium-bsu/Makefile
  head/games/deng/Makefile
  head/games/el/Makefile
  head/games/ember/Makefile
  head/games/evq3/Makefile
  head/games/excido/Makefile
  head/games/flightgear/Makefile
  head/games/freeminer/Makefile
  head/games/gemrb/Makefile
  head/games/glest/Makefile
  head/games/ioquake3/Makefile
  head/games/linwarrior/Makefile
  head/games/lugaru/Makefile
  head/games/megaglest/Makefile
  head/games/minecraft-client/Makefile
  head/games/minetest/Makefile
  head/games/naev/Makefile
  head/games/openastromenace/Makefile
  head/games/openlierox/Makefile
  head/games/py-fife/Makefile
  head/games/scorched3d/Makefile
  head/games/solarus/Makefile
  head/games/spring/Makefile
  head/games/springlobby/Makefile
  head/games/sumwars/Makefile
  head/games/supertux-devel/Makefile
  head/games/supertuxkart/Makefile
  head/games/torcs/Makefile
  head/games/tremulous/Makefile
  head/games/trigger/Makefile
  head/games/ufoai/Makefile
  head/games/ultimatestunts/Makefile
  head/games/uqm/Makefile
  head/games/valyriatear/Makefile
  head/games/vamos/Makefile
  head/games/vavoom/Makefile
  head/games/vegastrike/Makefile
  head/games/warsow/Makefile
  head/games/warzone2100/Makefile
  head/games/worldofpadman/Makefile
  head/games/xpilot-ng-server/Makefile
  head/graphics/Coin/Makefile
  head/graphics/blender/Makefile
  head/graphics/py-pyglet/Makefile
  head/graphics/py-soya3d/Makefile
  head/graphics/reallyslick/Makefile
  head/lang/fpc/Makefile.units
  head/multimedia/aegisub/Makefile
  head/multimedia/mplayer/Makefile.options
  head/multimedia/mplayer/Makefile.optvars

Modified: head/audio/alure/Makefile
==============================================================================
--- head/audio/alure/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/audio/alure/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -14,8 +14,7 @@ LICENSE=	MIT
 
 LIB_DEPENDS=	libsndfile.so:${PORTSDIR}/audio/libsndfile
 
-USES=		cmake pkgconfig
-USE_OPENAL=	soft
+USES=		cmake openal:soft pkgconfig
 USE_LDCONFIG=	yes
 
 CFLAGS+=	-I${LOCALBASE}/include -L${LOCALBASE}/lib

Modified: head/audio/fpc-openal/Makefile
==============================================================================
--- head/audio/fpc-openal/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/audio/fpc-openal/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -19,4 +19,6 @@ OPTIONS_DEFINE=	OPENAL
 OPENAL_DESC=	Install openal library
 OPTIONS_DEFAULT=	OPENAL
 
+OPENAL_USES=	openal:soft
+
 .include "${MASTERDIR}/Makefile"

Modified: head/audio/freealut/Makefile
==============================================================================
--- head/audio/freealut/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/audio/freealut/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -15,8 +15,7 @@ NO_STAGE=	yes
 GNU_CONFIGURE=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
-USES=		gmake pathfix pkgconfig
-USE_OPENAL=	al
+USES=		gmake openal:al pathfix pkgconfig
 USE_LDCONFIG=	yes
 
 .include <bsd.port.pre.mk>

Modified: head/audio/hs-ALUT/Makefile
==============================================================================
--- head/audio/hs-ALUT/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/audio/hs-ALUT/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -13,7 +13,7 @@ LICENSE=	BSD
 
 USE_CABAL=	OpenAL StateVar
 NO_STAGE=	yes
-USE_OPENAL=	al alut
+USES=		openal:al,alut
 
 INSTALL_PORTEXAMPLES=	@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
 

Modified: head/audio/hs-OpenAL/Makefile
==============================================================================
--- head/audio/hs-OpenAL/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/audio/hs-OpenAL/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -13,7 +13,7 @@ LICENSE=	BSD
 
 USE_CABAL=	ObjectName StateVar Tensor
 NO_STAGE=	yes
-USE_OPENAL=	al
+USES=		openal:al
 
 INSTALL_PORTEXAMPLES=	@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
 

Modified: head/audio/py-al/Makefile
==============================================================================
--- head/audio/py-al/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/audio/py-al/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -10,7 +10,7 @@ DISTNAME=	PyAL-${PORTVERSION}
 MAINTAINER=	mva@FreeBSD.org
 COMMENT=	PyAL is a binding of OpenAL for Python
 
-USE_OPENAL=	al
+USES=		openal:al
 USE_PYTHON=	yes
 USE_PYDISTUTILS=	yes
 PYDISTUTILS_AUTOPLIST=	yes

Modified: head/audio/py-openal/Makefile
==============================================================================
--- head/audio/py-openal/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/audio/py-openal/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -13,7 +13,7 @@ MAINTAINER=	acm@FreeBSD.org
 COMMENT=	PyOpenAL is a binding of OpenAL for Python
 
 DIST_SUBDIR=	python
-USE_OPENAL=	al alut
+USES=		openal:al,alut
 NO_STAGE=	yes
 USE_PYTHON=	yes
 USE_PYDISTUTILS=	yes

Modified: head/deskutils/xneur/Makefile
==============================================================================
--- head/deskutils/xneur/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/deskutils/xneur/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -57,7 +57,7 @@ CONFIGURE_ARGS+=	--without-x
 USE_GSTREAMER=	yes
 CONFIGURE_ARGS+=	--with-sound=gstreamer
 .elif ${PORT_OPTIONS:MOPENAL}
-USE_OPENAL=		al alut
+USES+=			openal:al,alut
 CONFIGURE_ARGS+=	--with-sound=openal
 .else
 CONFIGURE_ARGS+=	--with-sound=no

Modified: head/devel/allegro-devel/Makefile
==============================================================================
--- head/devel/allegro-devel/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/devel/allegro-devel/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -23,9 +23,8 @@ LIB_DEPENDS+=	libjack.so:${PORTSDIR}/aud
 		libFLAC.so:${PORTSDIR}/audio/flac \
 		libphysfs.so:${PORTSDIR}/devel/physfs
 
-USES=		gmake cmake pkgconfig
+USES=		gmake cmake openal:soft pkgconfig
 USE_XORG=	x11 xpm xext xcursor xxf86vm xxf86dga
-USE_OPENAL=	soft
 USE_GL=		gl glu
 USE_FREETYPE=	yes
 USE_LDCONFIG=	yes

Modified: head/devel/love/Makefile
==============================================================================
--- head/devel/love/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/devel/love/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -20,8 +20,7 @@ LIB_DEPENDS=	libIL.so:${PORTSDIR}/graphi
 		libfreetype.so:${PORTSDIR}/print/freetype2
 BUILD_DEPENDS=	${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
 
-USES=		gmake
-USE_OPENAL=	yes
+USES=		gmake openal
 USE_SDL=	sdl mixer
 USE_GL=		gl glu
 USE_LUA=	5.1+

Modified: head/devel/love07/Makefile
==============================================================================
--- head/devel/love07/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/devel/love07/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -23,8 +23,7 @@ BUILD_DEPENDS=	${LOCALBASE}/include/boos
 
 PORTSCOUT=	limit:^0\.7\.
 
-USES=		gmake
-USE_OPENAL=	yes
+USES=		gmake openal
 USE_SDL=	sdl mixer
 USE_GL=		gl glu
 USE_LUA=	5.1+

Modified: head/devel/sfml/Makefile
==============================================================================
--- head/devel/sfml/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/devel/sfml/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -16,8 +16,7 @@ LIB_DEPENDS=	libsndfile.so:${PORTSDIR}/a
 		libpng.so:${PORTSDIR}/graphics/png \
 		libfreetype.so:${PORTSDIR}/print/freetype2
 
-USES=		gmake pkgconfig
-USE_OPENAL=	al
+USES=		gmake openal:al pkgconfig
 USE_XORG=	x11 xrandr
 USE_GL=		gl glu
 USE_LDCONFIG=	yes

Modified: head/devel/simgear/Makefile
==============================================================================
--- head/devel/simgear/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/devel/simgear/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -21,9 +21,8 @@ LIB_DEPENDS=	libjpeg.so:${PORTSDIR}/grap
 
 USE_BZIP2=	yes
 USE_XORG=	ice sm x11 xext xi xt xmu
-USE_OPENAL=	al alut
 USE_GL=		gl glu glut
-USES=		cmake
+USES=		cmake openal:al,alut
 CMAKE_ARGS+=	-DJPEG_FACTORY:BOOL=ON
 
 .include <bsd.port.mk>

Modified: head/emulators/dolphin-emu/Makefile
==============================================================================
--- head/emulators/dolphin-emu/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/emulators/dolphin-emu/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -22,7 +22,6 @@ LIB_DEPENDS=	libexecinfo.so:${PORTSDIR}/
 		libpolarssl.so:${PORTSDIR}/security/polarssl
 
 USE_SDL=	sdl
-USE_OPENAL=	yes
 USE_XORG=	ice xext x11 xrandr xi
 USE_WX=		2.9+
 WX_UNICODE=	yes
@@ -30,7 +29,7 @@ USE_GL=	gl glew glu
 
 USE_GCC=	yes
 
-USES=		dos2unix cmake pkgconfig iconv
+USES=		dos2unix cmake iconv openal pkgconfig
 DOS2UNIX_REGEX=	.*\.(h|c|cpp)
 
 # Disable ALSA (emulated) and ao (buggy)

Modified: head/emulators/higan/Makefile
==============================================================================
--- head/emulators/higan/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/emulators/higan/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -84,7 +84,7 @@ VIDEO_DRIVER+=	video.sdl
 .endif
 
 .if ${PORT_OPTIONS:MOPENAL}
-USE_OPENAL+=	al
+USES+=		openal:al
 AUDIO_DRIVER+=	audio.openal
 .endif
 

Modified: head/emulators/wine-devel/Makefile
==============================================================================
--- head/emulators/wine-devel/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/emulators/wine-devel/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -53,6 +53,9 @@ WINEMAKER_DESC=	Fully support winemaker 
 GECKO_DESC=	Bundle Gecko MSI package for Wine
 MONO_DESC=	Bundle Mono MSI package for Wine
 
+# USES needs to be before bsd.port.pre.mk
+OPENAL_USES=	openal
+
 PORTDATA=	l_intl.nls wine.inf
 
 .include <bsd.port.pre.mk>
@@ -98,7 +101,6 @@ CONFIGURE_ARGS+=	--without-xslt
 
 .if ${PORT_OPTIONS:MOPENAL}
 CONFIGURE_ARGS+=	--with-openal
-USE_OPENAL=		yes
 .else
 CONFIGURE_ARGS+=	--without-openal
 .endif

Modified: head/emulators/wine/Makefile
==============================================================================
--- head/emulators/wine/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/emulators/wine/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -58,6 +58,9 @@ WINEMAKER_DESC=	Fully support winemaker 
 GECKO_DESC=	Bundle Gecko MSI package for Wine
 MONO_DESC=	Bundle Mono MSI package for Wine
 
+# USES needs to be before bsd.port.pre.mk
+OPENAL_USES=	openal
+
 PORTDATA=	fonts/ generic.ppd l_intl.nls wine.inf
 
 PORTSCOUT=	limitw:1,even
@@ -105,7 +108,6 @@ CONFIGURE_ARGS+=	--without-xslt
 
 .if ${PORT_OPTIONS:MOPENAL}
 CONFIGURE_ARGS+=	--with-openal
-USE_OPENAL=		yes
 PLIST_SUB+=		OPENAL=""
 .else
 CONFIGURE_ARGS+=	--without-openal

Modified: head/emulators/yabause/Makefile
==============================================================================
--- head/emulators/yabause/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/emulators/yabause/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -14,10 +14,9 @@ LIB_DEPENDS=	gtkglext-x11-1.0.0:${PORTSD
 
 USE_AUTOTOOLS=	automake:env autoconf:env aclocal:env
 GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
+USES=		gmake openal:soft
 USE_GL=		gl glu glut
 USE_GNOME=	#
-USE_OPENAL=	soft
 USE_SDL=	yes
 
 SUB_FILES=	pkg-message

Modified: head/games/0ad/Makefile
==============================================================================
--- head/games/0ad/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/0ad/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -24,13 +24,11 @@ LIB_DEPENDS=	libboost_thread.so:${PORTSD
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}-alpha
 BUILD_WRKSRC=	${WRKSRC}/build/workspaces/gcc
 MAKE_ARGS=	config=release
-USES=		compiler:c++11-lang gmake pkgconfig
+USES=		compiler:c++11-lang dos2unix gmake openal:al pkgconfig
 USE_XZ=		yes
 USE_SDL=	sdl
 USE_GNOME=	libxml2 gtk20
 USE_GL=		gl
-USE_OPENAL=	al
-USE_DOS2UNIX=	yes
 DOS2UNIX_REGEX=	.*\.([ch]p{0,2}|make)
 
 USE_WX=		2.8

Modified: head/games/alienarena/Makefile
==============================================================================
--- head/games/alienarena/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/alienarena/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -20,8 +20,7 @@ COMMENT=	Alien Arena (native version)
 
 RUN_DEPENDS=	${DATADIR}/data1/default.cfg:${PORTSDIR}/games/alienarena-data
 
-USE_DOS2UNIX=	yes
-USE_GMAKE=	yes
+USES=		dos2unix gmake
 GNU_CONFIGURE=	yes
 CONFIGURE_WRKSRC=${WRKDIR}/${PORTNAME}-7.66/
 CONFIGURE_ENV=	LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
@@ -52,14 +51,13 @@ NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MCLIENT}
-USES+=		pkgconfig
+USES+=		openal:soft,alut pkgconfig
 LIB_DEPENDS+=	curl:${PORTSDIR}/ftp/curl \
 		freetype.9:${PORTSDIR}/print/freetype2 \
 		jpeg.11:${PORTSDIR}/graphics/jpeg \
 		png15:${PORTSDIR}/graphics/png \
 		vorbis.4:${PORTSDIR}/audio/libvorbis
 USE_GL=		yes
-USE_OPENAL=	soft alut
 USE_XORG=	xxf86dga xxf86vm
 .endif
 

Modified: head/games/allacrost/Makefile
==============================================================================
--- head/games/allacrost/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/allacrost/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -20,8 +20,7 @@ LIB_DEPENDS=	libjpeg.so:${PORTSDIR}/grap
 LICENSE=	GPLv2
 
 GNU_CONFIGURE=	yes
-USES=		gmake gettext
-USE_OPENAL=	al
+USES=		gettext gmake openal:al
 USE_LUA=	5.1
 USE_SDL=	sdl ttf net
 USE_GL=		yes

Modified: head/games/apricots/Makefile
==============================================================================
--- head/games/apricots/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/apricots/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -33,7 +33,7 @@ OPTIONS_DEFAULT=OPENAL
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MOPENAL}
-USE_OPENAL=	al alut
+USES+=		openal:al,alut
 CPPFLAGS+=	-DAP_AUDIO_OPENAL
 LDFLAGS+=	-L${LOCALBASE}/lib -lopenal -lalut
 .endif

Modified: head/games/arx-libertatis/Makefile
==============================================================================
--- head/games/arx-libertatis/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/arx-libertatis/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -19,10 +19,9 @@ LIB_DEPENDS=	libIL.so:${PORTSDIR}/graphi
 		libboost_program_options.so:${PORTSDIR}/devel/boost-libs
 
 USE_XZ=		yes
-USE_OPENAL=	yes
 USE_SDL=	sdl
 USE_GL=		gl glu
-USES=		cmake
+USES=		cmake openal
 CMAKE_ARGS=	-DCMAKE_INSTALL_MANDIR="man" -DDATA_DIR=arx
 
 SUB_FILES=	pkg-message

Modified: head/games/assaultcube/Makefile
==============================================================================
--- head/games/assaultcube/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/assaultcube/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -23,8 +23,7 @@ LICENSE_FILE_OTHER=	${WRKSRC}/docs/packa
 LICENSE_PERMS_OTHER=	dist-mirror pkg-mirror auto-accept
 
 USE_BZIP2=	yes
-USE_OPENAL=	al
-USES=	gmake
+USES=		gmake openal:al
 GNU_CONFIGURE=	yes
 ALL_TARGET=	libenet
 WRKSRC=		${WRKDIR}/AssaultCube_v${PORTVERSION}

Modified: head/games/atr3d/Makefile
==============================================================================
--- head/games/atr3d/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/atr3d/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -34,7 +34,7 @@ NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MOPENAL}
-USE_OPENAL=		alut
+USES+=			openal:alut
 CONFIGURE_ARGS+=	--enable-sound
 .else
 CONFIGURE_ARGS+=	--disable-sound

Modified: head/games/avp-demo/Makefile
==============================================================================
--- head/games/avp-demo/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/avp-demo/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -12,12 +12,11 @@ MAINTAINER=	devel@stasyan.com
 COMMENT=	Aliens versus predator unofficial port from icculus.org
 
 USE_SDL=	mixer sdl
-USE_GMAKE=	yes
+USES=		gmake openal
 USE_GL=		gl
 
 WRKSRC=		${WRKDIR}
 BUILD_WRKSRC=	${WRKDIR}/avp_git
-USE_OPENAL=	yes
 
 NO_STAGE=	yes
 .include <bsd.port.pre.mk>

Modified: head/games/battletanks/Makefile
==============================================================================
--- head/games/battletanks/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/battletanks/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -16,12 +16,11 @@ LIB_DEPENDS=	libsigc-2.0.so:${PORTSDIR}/
 		libvorbisfile.so:${PORTSDIR}/audio/libvorbis \
 		libsmpeg.so:${PORTSDIR}/multimedia/smpeg
 
-USES=		pkgconfig
+USES=		openal:al pkgconfig
 USE_BZIP2=	yes
 USE_GCC=	yes
 USE_LDCONFIG=	yes
 USE_LUA=	5.0+
-USE_OPENAL=	al
 USE_SDL=	image sdl
 USE_SCONS=	yes
 USE_PYTHON=	yes

Modified: head/games/blackshadeselite/Makefile
==============================================================================
--- head/games/blackshadeselite/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/blackshadeselite/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -13,11 +13,10 @@ COMMENT=	Psychic Bodyguard FPS - protect
 
 LIB_DEPENDS=	libvorbis.so:${PORTSDIR}/audio/libvorbis
 
-USES=		gmake
+USES=		gmake openal:al,alut
 USE_BZIP2=	yes
 USE_SDL=	sdl
 USE_GL=		yes
-USE_OPENAL=	al alut
 
 MAKE_ARGS=	CC=${CC} CXX=${CXX}
 

Modified: head/games/chromium-bsu/Makefile
==============================================================================
--- head/games/chromium-bsu/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/chromium-bsu/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -44,7 +44,7 @@ CONFIGURE_ARGS+=--disable-glut
 USE_SDL+=	mixer
 CONFIGURE_ARGS+=--disable-openal
 .else
-USE_OPENAL=	al alut
+USES+=		openal:al,alut
 CONFIGURE_ARGS+=--disable-sdlmixer
 .endif
 

Modified: head/games/deng/Makefile
==============================================================================
--- head/games/deng/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/deng/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -34,7 +34,7 @@ OPENAL_DESC=	Build OpenAL sound plugin
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MOPENAL}
-USE_OPENAL=	al
+USES+=		openal:al
 CMAKE_ARGS+=	-DBUILDOPENAL:BOOL=ON
 PLIST_SUB=	OPENAL=""
 .else

Modified: head/games/el/Makefile
==============================================================================
--- head/games/el/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/el/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -19,8 +19,7 @@ RUN_DEPENDS=	${LOCALBASE}/share/${PORTNA
 
 PROJECTHOST=	bsdistfiles
 USE_BZIP2=	yes
-USE_GMAKE=	yes
-USE_OPENAL=	al alut
+USES=		gmake openal:al,alut
 USE_GNOME=	libxml2
 USE_SDL=	sdl net image
 USE_GL=		yes

Modified: head/games/ember/Makefile
==============================================================================
--- head/games/ember/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/ember/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -35,8 +35,7 @@ GNU_CONFIGURE=	YES
 USE_LDCONFIG=	YES
 USE_LUA=	5.1
 LUA_COMPS=	toluaxx
-USE_OPENAL=	al alut
-USES=	pathfix pkgconfig
+USES=		openal:al,alut pathfix pkgconfig
 USE_BZIP2=	YES
 CPPFLAGS+=	-DBR_NO_MACROS
 USE_GCC=	4.7+

Modified: head/games/evq3/Makefile
==============================================================================
--- head/games/evq3/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/evq3/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -35,6 +35,9 @@ OPENAL_DLOPEN_DESC=	Enable dynamic loadi
 SMP_DESC=	Build SMP (threaded) client
 VOIP_DESC=	Enable Voice Over IP
 
+# USES must be before bsd.port.pre.mk
+OPENAL_USES=	openal:al
+
 MAKE_ENV=	DEFAULT_BASEDIR="${Q3DIR}" LIBDIR="${LIBDIR}" \
 		PTHREAD_LIBS="${PTHREAD_LIBS}"
 PLIST_SUB=	LIBDIR="${LIBDIR:S/${PREFIX}\///}"
@@ -67,7 +70,6 @@ MAKE_ENV+=	USE_CURL_DLOPEN=1
 .   endif
 # OpenAL
 .   if ${PORT_OPTIONS:MOPENAL}
-USE_OPENAL=	al
 MAKE_ENV+=	USE_OPENAL=1
 .       if ${PORT_OPTIONS:MOPENAL_DLOPEN}
 MAKE_ENV+=	USE_OPENAL_DLOPEN=1

Modified: head/games/excido/Makefile
==============================================================================
--- head/games/excido/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/excido/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -22,8 +22,7 @@ WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVER
 USE_BZIP2=	yes
 USE_GL=		yes
 USE_SDL=	image sdl ttf
-USE_OPENAL=	al alut
-USES=		gmake
+USES=		gmake openal:al,alut
 
 OPTIONS_DEFINE=	DOCS
 

Modified: head/games/flightgear/Makefile
==============================================================================
--- head/games/flightgear/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/flightgear/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -30,8 +30,7 @@ RUN_DEPENDS=	${LOCALBASE}/lib/libplibsl.
 USE_BZIP2=	yes
 USE_XORG=	ice sm x11 xext xft xi xinerama xt xmu
 USE_GL=		gl glu glut
-USE_OPENAL=	al alut
-USES=		cmake
+USES=		cmake openal:al,alut
 CMAKE_ARGS+=	-DJPEG_FACTORY:BOOL=ON \
 		-DENABLE_JS_SERVER:BOOL=ON \
 		-DFG_DATA_DIR:PATH=${LOCALBASE}/share/${PORTNAME} \

Modified: head/games/freeminer/Makefile
==============================================================================
--- head/games/freeminer/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/freeminer/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -63,7 +63,7 @@ LUAJIT_LIB_DEPENDS=	libluajit-5.1.so:${P
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MCLIENT} && ${PORT_OPTIONS:MSOUND}
-USE_OPENAL+=	yes
+USES+=		openal
 LIB_DEPENDS+=	libvorbis.so:${PORTSDIR}/audio/libvorbis
 .endif
 

Modified: head/games/gemrb/Makefile
==============================================================================
--- head/games/gemrb/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/gemrb/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -15,9 +15,8 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 LIB_DEPENDS=	libpng15.so:${PORTSDIR}/graphics/png \
 		libvorbis.so:${PORTSDIR}/audio/libvorbis
 
-USES=		cmake
+USES=		cmake openal:al,alut
 USE_SDL=	sdl mixer ttf
-USE_OPENAL=	al alut
 USE_LDCONFIG=	yes
 USE_PYTHON=	2.6+
 CFLAGS+=	-L${LOCALBASE}/lib -I${LOCALBASE}/include

Modified: head/games/glest/Makefile
==============================================================================
--- head/games/glest/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/glest/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -17,11 +17,9 @@ LIB_DEPENDS=	xerces-c.27:${PORTSDIR}/tex
 BUILD_DEPENDS=	jam:${PORTSDIR}/devel/jam
 RUN_DEPENDS=	${DATADIR}/servers.ini:${PORTSDIR}/games/glest-data
 
-USES=		pkgconfig
+USES=		dos2unix openal:al,alut pkgconfig
 USE_AUTOTOOLS=	automake:env autoconf:env
 USE_ZIP=	yes
-USE_OPENAL=	al alut
-USE_DOS2UNIX=	yes
 USE_LUA=	5.1
 USE_SDL=	yes
 USE_GL=		yes

Modified: head/games/ioquake3/Makefile
==============================================================================
--- head/games/ioquake3/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/ioquake3/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -138,7 +138,7 @@ MAKE_ARGS+=	USE_CURL=0
 .endif
 
 .if ${PORT_OPTIONS:MOPENAL}
-USE_OPENAL=	al
+USES+=		openal:al
 MAKE_ARGS+=	USE_OPENAL=1 USE_OPENAL_DLOPEN=0
 .else
 MAKE_ARGS+=	USE_OPENAL=0

Modified: head/games/linwarrior/Makefile
==============================================================================
--- head/games/linwarrior/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/linwarrior/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -12,8 +12,7 @@ DISTNAME=	${PORTNAME}_${PORTVERSION}
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	Navigate a mech through a 3D world and fire at enemies
 
-USES=		gmake
-USE_OPENAL=	al alut
+USES=		gmake openal:al,alut
 USE_GL=		gl glu
 USE_SDL=	sdl
 

Modified: head/games/lugaru/Makefile
==============================================================================
--- head/games/lugaru/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/lugaru/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -19,9 +19,8 @@ LIB_DEPENDS=	libpng15.so:${PORTSDIR}/gra
 		libogg.so:${PORTSDIR}/audio/libogg
 
 USE_BZIP2=	yes
-USES=		cmake pkgconfig
+USES=		cmake openal:soft pkgconfig
 USE_GL=		glu
-USE_OPENAL=	soft
 USE_SDL=	sdl
 USE_XORG=	sm
 USE_GCC=	yes

Modified: head/games/megaglest/Makefile
==============================================================================
--- head/games/megaglest/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/megaglest/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -23,11 +23,9 @@ RUN_DEPENDS=	${DATADIR}/tutorials/2_basi
 SUB_FILES=	pkg-message
 
 USE_XZ=		yes
-USES=		cmake pkgconfig
-USE_DOS2UNIX=	yes
+USES=		cmake dos2unix openal:al,alut pkgconfig
 USE_GL=		glew gl glu
 USE_LUA=	5.1
-USE_OPENAL=	al alut
 USE_SDL=	yes
 USE_WX=		2.8+
 

Modified: head/games/minecraft-client/Makefile
==============================================================================
--- head/games/minecraft-client/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/minecraft-client/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -35,7 +35,7 @@ NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MNATIVE_LIBS}
-USE_OPENAL=	soft
+USES+=		openal:soft
 RUN_DEPENDS+=	${JAVALIBDIR}/lwjgl/lwjgl_util.jar:${PORTSDIR}/games/lwjgl
 JAVA_OS=	native
 JAVA_VENDOR=	openjdk

Modified: head/games/minetest/Makefile
==============================================================================
--- head/games/minetest/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/minetest/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -63,7 +63,7 @@ LUAJIT_LIB_DEPENDS=	libluajit-5.1.so:${P
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MCLIENT} && ${PORT_OPTIONS:MSOUND}
-USE_OPENAL+=	yes
+USES+=		openal
 LIB_DEPENDS+=	libvorbis.so:${PORTSDIR}/audio/libvorbis
 .endif
 

Modified: head/games/naev/Makefile
==============================================================================
--- head/games/naev/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/naev/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -41,7 +41,7 @@ NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MOPENAL}
-USE_OPENAL=		yes
+USES+=			openal
 CONFIGURE_ARGS+=	--with-openal=yes
 .else
 CONFIGURE_ARGS+=	--with-openal=no

Modified: head/games/openastromenace/Makefile
==============================================================================
--- head/games/openastromenace/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/openastromenace/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -20,12 +20,10 @@ LIB_DEPENDS+=	vorbisfile:${PORTSDIR}/aud
 
 USE_BZIP2=	yes
 USE_GL=		gl glu
-USE_OPENAL=	al alut
 WANT_SDL=	yes
 USE_SDL=	sdl
-USES=		cmake
+USES=		cmake dos2unix openal:al,alut
 WRKSRC=		${WRKDIR}/OpenAstroMenaceSVN
-USE_DOS2UNIX=	yes
 
 OPTIONS_SINGLE=	LANG
 OPTIONS_SINGLE_LANG=	EN DE RU

Modified: head/games/openlierox/Makefile
==============================================================================
--- head/games/openlierox/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/openlierox/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -19,14 +19,13 @@ LIB_DEPENDS=	libgd.so:${PORTSDIR}/graphi
 USE_BZIP2=	yes
 USE_SDL=	sdl image
 USE_GNOME=	libxml2
-USE_OPENAL=	yes
 USE_GCC=	yes
 
 CFLAGS+=	-I${LOCALBASE}/include
 CXXFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-USES=		cmake pkgconfig
+USES=		cmake openal pkgconfig
 CMAKE_ARGS=	-DHAWKNL_BUILTIN=YES \
 		-DLIBZIP_BUILTIN=YES \
 		-DBREAKPAD=NO \

Modified: head/games/py-fife/Makefile
==============================================================================
--- head/games/py-fife/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/py-fife/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -25,7 +25,6 @@ LIB_DEPENDS=		libvorbisfile.so:${PORTSDI
 FETCH_ARGS=		-Fpr
 
 USE_SDL=		sdl ttf image
-USE_OPENAL=		al
 
 USE_SCONS=		yes
 SCONS_ARGS=		--prefix=${PREFIX} --python-prefix=${PYTHON_SITELIBDIR}
@@ -39,7 +38,7 @@ USE_PYTHON=		2.7
 USE_XORG=		xcursor
 USE_GL=			gl
 
-USES=			pkgconfig
+USES=			openal:al pkgconfig
 
 NO_STAGE=	yes
 post-patch:

Modified: head/games/scorched3d/Makefile
==============================================================================
--- head/games/scorched3d/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/scorched3d/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -26,11 +26,10 @@ OPTIONS_DEFINE=	MYSQL
 WRKSRC=		${WRKDIR}/scorched
 
 USE_GL=		glu
-USE_OPENAL=	al alut
 USE_SDL=	mixer net sdl
 USE_WX=		2.4+
 WX_CONF_ARGS=	absolute
-USES=		dos2unix iconv perl5 gmake pkgconfig
+USES=		dos2unix gmake iconv openal:al,alut perl5 pkgconfig
 USE_AUTOTOOLS=	aclocal automake autoconf
 ACLOCAL_ARGS=	-I ${LOCALBASE}/share/aclocal
 AUTOMAKE_ARGS=	--add-missing --copy --force --foreign

Modified: head/games/solarus/Makefile
==============================================================================
--- head/games/solarus/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/solarus/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -16,11 +16,10 @@ LIB_DEPENDS=	libphysfs.so:${PORTSDIR}/de
 		libogg.so:${PORTSDIR}/audio/libogg
 
 USE_SDL=	sdl ttf image
-USE_OPENAL=	yes
 
 PLIST_FILES=	bin/solarus
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
-USES=		cmake
+USES=		cmake openal
 
 .include <bsd.port.mk>

Modified: head/games/spring/Makefile
==============================================================================
--- head/games/spring/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/spring/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -27,13 +27,12 @@ ONLY_FOR_ARCHS=	amd64
 ONLY_FOR_ARCHS_REASON=	relies on x86 floating-point math and amd64 atomic ops
 
 USE_SDL=	sdl
-USE_OPENAL=	al
 USE_GL=		gl glu glew
 USE_XORG=	x11 xcursor
 USE_LDCONFIG=	yes
-USE_DOS2UNIX=	*.h *.hpp *.cpp
+DOS2UNIX_GLOB=	*.h *.hpp *.cpp
 
-USES=		cmake compiler:c++11-lib
+USES=		cmake compiler:c++11-lib dos2unix openal:al
 CMAKE_ARGS=	-DDATADIR:STRING="share/${PORTNAME}" \
 		-DAI_TYPES:STRING="NATIVE" \
 		-DDOCDIR:STRING="share/doc/${PORTNAME}" \

Modified: head/games/springlobby/Makefile
==============================================================================
--- head/games/springlobby/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/springlobby/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -39,7 +39,7 @@ NLS_USES=		gettext
 SOUND_CMAKE_ON=		-DOPTION_SOUND:BOOL=ON
 SOUND_CMAKE_OFF=	-DOPTION_SOUND:BOOL=OFF
 SOUND_LIB_DEPENDS=	libalure.so:${PORTSDIR}/audio/alure
-SOUND_USE=		OPENAL=al
+SOUND_USES=		openal:al
 
 NOTIFY_CMAKE_ON=	-DOPTION_NOTIFY=ON
 NOTIFY_CMAKE_OFF=	-DOPTION_NOTIFY=OFF

Modified: head/games/sumwars/Makefile
==============================================================================
--- head/games/sumwars/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/sumwars/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -24,12 +24,11 @@ LIB_DEPENDS=	CEGUIBase-0.7.9.0:${PORTSDI
 		PocoNet.12:${PORTSDIR}/devel/poco \
 		physfs.1:${PORTSDIR}/devel/physfs
 
-USES=		cmake gettext gmake pkgconfig
+USES=		cmake gettext gmake openal:al,alut pkgconfig
 USE_GL=		gl glu
 USE_BZIP2=	yes
 INSTALLS_ICONS=	yes
 USE_LUA=	5.1
-USE_OPENAL=	al alut
 
 FETCH_ARGS?=	-pRr
 

Modified: head/games/supertux-devel/Makefile
==============================================================================
--- head/games/supertux-devel/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/supertux-devel/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -16,9 +16,8 @@ LIB_DEPENDS=	libphysfs.so:${PORTSDIR}/de
 
 USE_BZIP2=	yes
 USE_SDL=	image
-USE_OPENAL=	al
 USE_GL=		glew
-USES=		cmake:outsource iconv
+USES=		cmake:outsource iconv openal:al
 LDFLAGS+=	-L${LOCALBASE}/lib ${ICONV_LIB}
 
 post-patch:

Modified: head/games/supertuxkart/Makefile
==============================================================================
--- head/games/supertuxkart/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/supertuxkart/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -18,10 +18,9 @@ LIB_DEPENDS=	libvorbisfile.so:${PORTSDIR
 
 USE_BZIP2=	yes
 USE_GL=		gl glu glut
-USE_OPENAL=	al alut
-USES=		cmake gettext gmake pkgconfig
+USES=		cmake dos2unix gettext gmake openal:al,alut pkgconfig
 USE_SDL=	sdl
-USE_DOS2UNIX=	lib/irrlicht/source/Irrlicht/Makefile
+DOS2UNIX_FILES=	lib/irrlicht/source/Irrlicht/Makefile
 CMAKE_ARGS=	-DUSE_WIIUSE=NO
 
 WRKSRC=		${WRKDIR}/SuperTuxKart-${PORTVERSION}

Modified: head/games/torcs/Makefile
==============================================================================
--- head/games/torcs/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/torcs/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -18,14 +18,13 @@ LIB_DEPENDS=	libpng15.so:${PORTSDIR}/gra
 		libvorbis.so:${PORTSDIR}/audio/libvorbis
 RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash
 
-USES=		gmake shebangfix
+USES=		gmake openal:al,alut shebangfix
 SHEBANG_FILES=	src/tools/accc/accc.in src/tools/nfsperf/nfsperf.in \
 		src/tools/texmapper/texmapper.in src/tools/nfs2ac/nfs2ac.in \
 		src/tools/trackgen/trackgen.in \
 		src/modules/telemetry/telemetry.sh robotgen
 USE_XORG=	xrender xmu ice xext x11 xxf86vm xrandr
 USE_GL=		glut
-USE_OPENAL=	al alut
 USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes

Modified: head/games/tremulous/Makefile
==============================================================================
--- head/games/tremulous/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/tremulous/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -52,7 +52,7 @@ MAKE_ENV+=	HAVE_VM_COMPILED=true
 .if ${PORT_OPTIONS:MCLIENT} || ${PORT_OPTIONS:MSMP_CLIENT}
 # OpenAL
 .  if ${PORT_OPTIONS:MOPENAL}
-USE_OPENAL=	al
+USES+=		openal:al
 MAKE_ENV+=	USE_OPENAL=1
 .    if ${PORT_OPTIONS:MOPENAL_DLOPEN}
 MAKE_ENV+=	USE_OPENAL_DLOPEN=1

Modified: head/games/trigger/Makefile
==============================================================================
--- head/games/trigger/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/trigger/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -15,7 +15,7 @@ COMMENT=	Rally car racing game
 BUILD_DEPENDS=	jam:${PORTSDIR}/devel/jam
 LIB_DEPENDS=	libphysfs.so:${PORTSDIR}/devel/physfs
 
-USE_OPENAL=	al alut
+USES=		openal:al,alut
 USE_SDL=	sdl image
 USE_GL=		glu
 USE_BZIP2=	yes

Modified: head/games/ufoai/Makefile
==============================================================================
--- head/games/ufoai/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/ufoai/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -26,8 +26,7 @@ RUN_DEPENDS=	${LOCALBASE}/share/${PORTNA
 USE_BZIP2=	yes
 USE_GL=		yes
 USE_SDL=	sdl image mixer ttf
-USES=		gettext gmake pkgconfig
-USE_OPENAL=	soft
+USES=		gettext gmake openal:soft pkgconfig
 HAS_CONFIGURE=	yes
 CONFIGURE_ARGS+=	--enable-release
 CPPFLAGS+=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}

Modified: head/games/ultimatestunts/Makefile
==============================================================================
--- head/games/ultimatestunts/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/ultimatestunts/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -17,8 +17,7 @@ LIB_DEPENDS=	vorbisfile.6:${PORTSDIR}/au
 
 OPTIONS_DEFINE=	DOCS
 
-USES=		pkgconfig gettext
-USE_OPENAL=	al alut
+USES=		gettext openal:al,alut pkgconfig
 USE_GL=		gl glu
 USE_SDL=	sdl image
 GNU_CONFIGURE=	yes

Modified: head/games/uqm/Makefile
==============================================================================
--- head/games/uqm/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/uqm/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -37,7 +37,7 @@ OPTIONS_SUB=	yes
 
 VOICE_DISTFILES=	${PORTNAME}-${DATAVERSION}-voice.uqm
 MUSIC_DISTFILES=	${PORTNAME}-${DATAVERSION}-3domusic.uqm
-OPENAL_USE=	OPENAL=al
+OPENAL_USES=	openal:al
 
 .include <bsd.port.options.mk>
 

Modified: head/games/valyriatear/Makefile
==============================================================================
--- head/games/valyriatear/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/valyriatear/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -22,11 +22,10 @@ GH_ACCOUNT=	Bertram25
 GH_PROJECT=	ValyriaTear
 GH_COMMIT=	a324297
 
-USES=		cmake iconv
+USES=		cmake iconv openal
 CMAKE_ARGS=	-DUSE_PCH_COMPILATION=OFF
 USE_SDL=	sdl image ttf
 USE_GL=		gl
-USE_OPENAL=	yes
 USE_LUA=	5.1
 INSTALLS_ICONS=	yes
 LDFLAGS=	-L${LOCALBASE}/lib ${ICONV_LIB} -lintl

Modified: head/games/vamos/Makefile
==============================================================================
--- head/games/vamos/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/vamos/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -17,8 +17,7 @@ LICENSE=	GPLv2
 LIB_DEPENDS=	libboost_date_time.so:${PORTSDIR}/devel/boost-libs \
 		libpng15.so:${PORTSDIR}/graphics/png
 
-USES=		pkgconfig
-USE_OPENAL=	al alut
+USES=		openal:al,alut pkgconfig
 USE_XORG=	sm ice x11 xi xext xmu
 USE_GL=		glut
 USE_SDL=	sdl

Modified: head/games/vavoom/Makefile
==============================================================================
--- head/games/vavoom/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/vavoom/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -75,7 +75,7 @@ CMAKE_ARGS+=	-DWITH_MIKMOD=N
 .endif
 
 .if ${PORT_OPTIONS:MOPENAL}
-USE_OPENAL=	al
+USES+=		openal:al
 CMAKE_ARGS+=	-DWITH_OPENAL=Y
 .else
 CMAKE_ARGS+=	-DWITH_OPENAL=N

Modified: head/games/vegastrike/Makefile
==============================================================================
--- head/games/vegastrike/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/vegastrike/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -15,10 +15,9 @@ LIB_DEPENDS=	expat.6:${PORTSDIR}/textpro
 		vorbis.4:${PORTSDIR}/audio/libvorbis \
 		ogg:${PORTSDIR}/audio/libogg
 
-USE_OPENAL=	al
 USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
+USES=		gmake openal:al
 USE_PYTHON=	yes
 USE_SDL=	sdl
 USE_XORG=	sm ice xi x11 xext xrender xinerama xi xrandr xcursor \

Modified: head/games/warsow/Makefile
==============================================================================
--- head/games/warsow/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/warsow/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -40,6 +40,9 @@ OPENAL_DESC=	Build OpenAL sound module
 IRC_DESC=	Build IRC client module
 TV_SRV_DESC=	Build Warsow TV server
 
+# USES needs to be before bsd.port.pre.mk
+OPENAL_USES=	openal:al
+
 NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
@@ -63,7 +66,6 @@ PLIST_FILES+=	%%DATADIR%%/libs/snd_qf_${
 . endif
 
 . if ${PORT_OPTIONS:MOPENAL}
-USE_OPENAL=	al
 ALL_TARGET+=	openal
 PLIST_FILES+=	%%DATADIR%%/libs/snd_openal_${ARCH}.so
 . endif

Modified: head/games/warzone2100/Makefile
==============================================================================
--- head/games/warzone2100/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/warzone2100/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -25,9 +25,8 @@ LIB_DEPENDS=	libphysfs.so:${PORTSDIR}/de
 RUN_DEPENDS=	${LOCALBASE}/lib/X11/fonts/dejavu/DejaVuSans.ttf:${PORTSDIR}/x11-fonts/dejavu
 
 USE_XZ=		yes
-USES=		bison gmake pkgconfig compiler:c++11-lang # actually, old gcc fails on unknown -W flag
+USES=		bison gmake openal:al pkgconfig compiler:c++11-lang # actually, old gcc fails on unknown -W flag
 GNU_CONFIGURE=	yes
-USE_OPENAL=	al
 USE_GL=		yes
 USE_SDL=	sdl
 USE_QT4=	corelib network script gui moc_build

Modified: head/games/worldofpadman/Makefile
==============================================================================
--- head/games/worldofpadman/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/worldofpadman/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -65,7 +65,7 @@ MAKE_ENV+=	USE_CURL_DLOPEN=1
 .  endif
 # OpenAL
 .  if ${PORT_OPTIONS:MOPENAL}
-USE_OPENAL=	al
+USES+=		openal:al
 MAKE_ENV+=	USE_OPENAL=1
 .    if ${PORT_OPTIONS:MOPENAL_DLOPEN}
 MAKE_ENV+=	USE_OPENAL_DLOPEN=1

Modified: head/games/xpilot-ng-server/Makefile
==============================================================================
--- head/games/xpilot-ng-server/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/games/xpilot-ng-server/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -80,7 +80,7 @@ PLIST_SUB+=	SDL="@comment "
 .endif
 
 .if ${PORT_OPTIONS:MSOUND}
-USE_OPENAL=	al alut
+USES+=		openal:al,alut
 CONFIGURE_ARGS+=--enable-sound
 CPPFLAGS+=	${PTHREAD_CFLAGS}
 LDFLAGS+=	${PTHREAD_LIBS}

Modified: head/graphics/Coin/Makefile
==============================================================================
--- head/graphics/Coin/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/graphics/Coin/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -16,7 +16,7 @@ LICENSE=	BSD
 LIB_DEPENDS=	libsimage.so:${PORTSDIR}/graphics/simage
 
 USE_GCC=	any
-USE_OPENAL=	al
+USES=		openal:al
 USE_GL=		yes
 USE_XORG=	xt x11
 GNU_CONFIGURE=	yes

Modified: head/graphics/blender/Makefile
==============================================================================
--- head/graphics/blender/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/graphics/blender/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -172,7 +172,7 @@ CMAKE_ARGS+=	-DWITH_HEADLESS:BOOL=OFF
 
 .if ${PORT_OPTIONS:MOPENAL}
 .if ${PORT_OPTIONS:MSAMPLERATE}
-USE_OPENAL=	al alut
+USES+=		openal:al,alut
 CMAKE_ARGS+=	-DWITH_OPENAL:BOOL=ON
 .else
 BROKEN=		OPENAL requires SAMPLERATE

Modified: head/graphics/py-pyglet/Makefile
==============================================================================
--- head/graphics/py-pyglet/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/graphics/py-pyglet/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -19,7 +19,7 @@ LIB_DEPENDS=	libfreetype.so:${PORTSDIR}/
 USE_PYTHON=	yes
 USE_PYDISTUTILS=yes
 USE_GL=		gl glu
-USE_OPENAL=	al
+USES=		openal:al
 
 PORTDOCS=	*
 PORTEXAMPLES=	*

Modified: head/graphics/py-soya3d/Makefile
==============================================================================
--- head/graphics/py-soya3d/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/graphics/py-soya3d/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -25,9 +25,8 @@ RUN_DEPENDS=	${PYTHON_SITELIBDIR}/editob
 USE_BZIP2=	yes
 USE_PYTHON=	yes
 USE_PYDISTUTILS=	yes
-USE_OPENAL=	al alut
+USES=		gmake openal:al,alut
 USE_GL=		glew glu
-USE_GMAKE=	yes
 USE_SDL=	sdl
 
 PYDISTUTILS_PKGNAME=	Soya

Modified: head/graphics/reallyslick/Makefile
==============================================================================
--- head/graphics/reallyslick/Makefile	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/graphics/reallyslick/Makefile	Wed Dec 25 23:29:34 2013	(r337464)
@@ -36,7 +36,7 @@ NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MFREEALUT}
-USE_OPENAL=	alut
+USES+=		openal:alut
 .else
 CONFIGURE_ARGS+=	--disable-sound
 .endif

Modified: head/lang/fpc/Makefile.units
==============================================================================
--- head/lang/fpc/Makefile.units	Wed Dec 25 23:24:54 2013	(r337463)
+++ head/lang/fpc/Makefile.units	Wed Dec 25 23:29:34 2013	(r337464)
@@ -241,12 +241,6 @@ LIB_DEPENDS+=	vorbis:${PORTSDIR}/audio/l
 .	endif
 .endif
 

*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312252329.rBPNTY87062947>