aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2010-01-26 03:15:18 +0800
committerpav <pav@FreeBSD.org>2010-01-26 03:15:18 +0800
commitdfee6d5c62ab6b269042d70b16ee7a2529db951e (patch)
treebe83fbf870c86e4040bbca6fff53505cd1e7c8e2 /games
parent4c40a810f99571b1f539a6fbd7c3a13147bb82c0 (diff)
downloadfreebsd-ports-gnome-dfee6d5c62ab6b269042d70b16ee7a2529db951e.tar.gz
freebsd-ports-gnome-dfee6d5c62ab6b269042d70b16ee7a2529db951e.tar.zst
freebsd-ports-gnome-dfee6d5c62ab6b269042d70b16ee7a2529db951e.zip
- Introduce USE_OPENAL variable for OpenAL consumers
- Switch to openal-soft as a default OpenAL implementation PR: ports/142123 Submitted by: mva Tested by: pointyhat exp-run Approved by: portmgr (hat)
Diffstat (limited to 'games')
-rw-r--r--games/allacrost/Makefile4
-rw-r--r--games/apricots/Makefile5
-rw-r--r--games/assaultcube/Makefile5
-rw-r--r--games/atr3d/Makefile4
-rw-r--r--games/battletanks/Makefile4
-rw-r--r--games/blackshadeselite/Makefile7
-rw-r--r--games/chromium-bsu/Makefile5
-rw-r--r--games/deng/Makefile5
-rw-r--r--games/el/Makefile7
-rw-r--r--games/ember/Makefile5
-rw-r--r--games/evq3/Makefile4
-rw-r--r--games/evq3/files/patch-code_client_snd_openal.c11
-rw-r--r--games/excido/Makefile7
-rw-r--r--games/flightgear/Makefile6
-rw-r--r--games/freeorion/Makefile4
-rw-r--r--games/gemrb/Makefile6
-rw-r--r--games/glest/Makefile7
-rw-r--r--games/ioquake3/Makefile4
-rw-r--r--games/ioquake3/files/patch-code-client-snd_openal.c11
-rw-r--r--games/iourbanterror/Makefile4
-rw-r--r--games/iourbanterror/files/patch-code_client_snd_openal.c11
-rw-r--r--games/kmquake2/Makefile4
-rw-r--r--games/linwarrior/Makefile5
-rw-r--r--games/openarena/Makefile4
-rw-r--r--games/openarena/files/patch-code_client_snd_openal.c11
-rw-r--r--games/openastromenace/Makefile7
-rw-r--r--games/rigsofrods/Makefile5
-rw-r--r--games/scorched3d/Makefile7
-rw-r--r--games/scorched3d/files/patch-configure-al.m431
-rw-r--r--games/spring/Makefile3
-rw-r--r--games/supertuxkart/Makefile6
-rw-r--r--games/tnl/Makefile7
-rw-r--r--games/torcs/Makefile7
-rw-r--r--games/toycars/Makefile6
-rw-r--r--games/tremulous/Makefile4
-rw-r--r--games/tremulous/files/patch-src_client_snd_openal.c11
-rw-r--r--games/trigger/Makefile7
-rw-r--r--games/ultimatestunts/Makefile6
-rw-r--r--games/uqm/Makefile4
-rw-r--r--games/vamos/Makefile6
-rw-r--r--games/vavoom/Makefile3
-rw-r--r--games/vegastrike/Makefile4
-rw-r--r--games/warsow/Makefile3
-rw-r--r--games/warsow/files/patch-snd_openal_snd_main.c11
-rw-r--r--games/warzone2100/Makefile3
-rw-r--r--games/windstille/Makefile6
-rw-r--r--games/worldofpadman/Makefile4
-rw-r--r--games/worldofpadman/files/patch-code_client_snd_openal.c11
-rw-r--r--games/xpilot-ng-server/Makefile4
49 files changed, 206 insertions, 110 deletions
diff --git a/games/allacrost/Makefile b/games/allacrost/Makefile
index 1196997a4860..a339439fe59c 100644
--- a/games/allacrost/Makefile
+++ b/games/allacrost/Makefile
@@ -7,7 +7,7 @@
PORTNAME= allacrost
PORTVERSION= 0.2.2
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-demo/${PORTVERSION}
DISTNAME= allacrost_demo_source_${PORTVERSION}
@@ -18,12 +18,12 @@ COMMENT= A single player 2D role-playing game
BUILD_DEPENDS= ${LOCALBASE}/lib/libluabind.a:${PORTSDIR}/devel/luabind
LIB_DEPENDS= jpeg.10:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png \
- openal.0:${PORTSDIR}/audio/openal \
ogg.6:${PORTSDIR}/audio/libogg \
vorbis.4:${PORTSDIR}/audio/libvorbis
GNU_CONFIGURE= yes
USE_GMAKE= yes
+USE_OPENAL= al
USE_LUA= 5.0
USE_SDL= sdl ttf net
USE_GL= yes
diff --git a/games/apricots/Makefile b/games/apricots/Makefile
index c23c550b953a..1f9c9f5902de 100644
--- a/games/apricots/Makefile
+++ b/games/apricots/Makefile
@@ -7,7 +7,7 @@
PORTNAME= apricots
PORTVERSION= 0.2.6
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= http://www.fishies.org.uk/ \
http://mirror.amdmi3.ru/distfiles/
@@ -37,8 +37,7 @@ OPTIONS= OPENAL "Enable OpenAL audio" on
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_OPENAL)
-LIB_DEPENDS+= openal.0:${PORTSDIR}/audio/openal \
- alut.1:${PORTSDIR}/audio/freealut
+USE_OPENAL= al alut
.endif
post-patch:
diff --git a/games/assaultcube/Makefile b/games/assaultcube/Makefile
index 0ab90fbfed2c..002a3da481f5 100644
--- a/games/assaultcube/Makefile
+++ b/games/assaultcube/Makefile
@@ -7,7 +7,7 @@
PORTNAME= assaultcube
PORTVERSION= 1.0.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= SF/actiongame/AssaultCube/1.0
DISTNAME= AssaultCube_v${PORTVERSION}
@@ -15,9 +15,8 @@ DISTNAME= AssaultCube_v${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Total conversion of the FPS game called Cube
-LIB_DEPENDS= openal.0:${PORTSDIR}/audio/openal
-
USE_BZIP2= yes
+USE_OPENAL= al
USE_GMAKE= yes
GNU_CONFIGURE= yes
ALL_TARGET= libenet
diff --git a/games/atr3d/Makefile b/games/atr3d/Makefile
index 14ac1de581be..b0d8f94ed1f5 100644
--- a/games/atr3d/Makefile
+++ b/games/atr3d/Makefile
@@ -7,7 +7,7 @@
PORTNAME= atr3d
PORTVERSION= 0.6
-PORTREVISION= 11
+PORTREVISION= 12
CATEGORIES= games
MASTER_SITES= ftp://ftp.avoidtheroid.com/pub/${PORTNAME}/
DISTNAME= ${PORTNAME}_source_${PORTVERSION}
@@ -39,7 +39,7 @@ LDFLAGS= -L${LOCALBASE}/lib -L${LOCALBASE}/lib ${PTHREAD_LIBS}
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_SOUND)
-LIB_DEPENDS+= alut.1:${PORTSDIR}/audio/freealut
+USE_OPENAL= alut
CONFIGURE_ARGS+= --enable-sound
.else
CONFIGURE_ARGS+= --disable-sound
diff --git a/games/battletanks/Makefile b/games/battletanks/Makefile
index 0586d3c6a320..52a351355acf 100644
--- a/games/battletanks/Makefile
+++ b/games/battletanks/Makefile
@@ -7,7 +7,7 @@
PORTNAME= btanks
PORTVERSION= 0.7.5800
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-source/${PORTNAME}-source-${PORTVERSION}
@@ -15,12 +15,12 @@ MAINTAINER= danfe@FreeBSD.org
COMMENT= Fast 2D tank arcade game with multiplayer and split-screen modes
LIB_DEPENDS= sigc-2.0.0:${PORTSDIR}/devel/libsigc++20 \
- openal.0:${PORTSDIR}/audio/openal \
expat.6:${PORTSDIR}/textproc/expat2 \
vorbisfile.6:${PORTSDIR}/audio/libvorbis
USE_BZIP2= yes
USE_LDCONFIG= yes
+USE_OPENAL= al
USE_SCONS= yes
USE_SDL= image sdl
SCONS_BUILDENV= ${SCONS_ENV} LDFLAGS=${PTHREAD_LIBS}
diff --git a/games/blackshadeselite/Makefile b/games/blackshadeselite/Makefile
index 46f3102a51af..1c430c5aa672 100644
--- a/games/blackshadeselite/Makefile
+++ b/games/blackshadeselite/Makefile
@@ -7,7 +7,7 @@
PORTNAME= blackshadeselite
PORTVERSION= 0.0.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= http://download.gna.org/blackshadeselite/ \
http://mirror.amdmi3.ru/distfiles/
@@ -15,14 +15,13 @@ MASTER_SITES= http://download.gna.org/blackshadeselite/ \
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Psychic Bodyguard FPS - protect the VIP
-LIB_DEPENDS= vorbis.4:${PORTSDIR}/audio/libvorbis \
- openal.0:${PORTSDIR}/audio/openal \
- alut.1:${PORTSDIR}/audio/freealut
+LIB_DEPENDS= vorbis.4:${PORTSDIR}/audio/libvorbis
USE_BZIP2= yes
USE_GMAKE= yes
USE_SDL= sdl
USE_GL= yes
+USE_OPENAL= al alut
MAKE_ARGS= CC=${CC} CXX=${CXX}
diff --git a/games/chromium-bsu/Makefile b/games/chromium-bsu/Makefile
index 5b866ce19cf3..fde2f8d9fae7 100644
--- a/games/chromium-bsu/Makefile
+++ b/games/chromium-bsu/Makefile
@@ -7,7 +7,7 @@
PORTNAME= chromium-bsu
PORTVERSION= 0.9.14
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/Chromium%20B.S.U.%20source%20code/${PORTVERSION}
@@ -46,8 +46,7 @@ CONFIGURE_ARGS+=--disable-glut
USE_SDL+= mixer
CONFIGURE_ARGS+=--disable-openal
.else
-LIB_DEPENDS+= openal.0:${PORTSDIR}/audio/openal \
- alut.1:${PORTSDIR}/audio/freealut
+USE_OPENAL= al alut
CONFIGURE_ARGS+=--disable-sdlmixer
.endif
diff --git a/games/deng/Makefile b/games/deng/Makefile
index 1bfea1ac4b7e..a39e83b739ff 100644
--- a/games/deng/Makefile
+++ b/games/deng/Makefile
@@ -7,6 +7,7 @@
PORTNAME= deng
PORTVERSION= 1.9.0b6.8
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/Doomsday%20Engine/1.9.0-beta6.8
DISTNAME= ${PORTNAME}-${PORTVERSION:S/b/-beta/}
@@ -38,8 +39,8 @@ OPTIONS= OPENAL "Build OpenAL sound plugin" off
.include <bsd.port.pre.mk>
-.if defined(WITH_OPENAL) || exists(${LOCALBASE}/lib/libopenal.so.0)
-LIB_DEPENDS+= openal.0:${PORTSDIR}/audio/openal
+.if defined(WITH_OPENAL) || exists(${LOCALBASE}/lib/libopenal.so)
+USE_OPENAL= al
CMAKE_ARGS+= -DBUILDOPENAL:BOOL=ON
PLIST_SUB= OPENAL=""
.else
diff --git a/games/el/Makefile b/games/el/Makefile
index 0c89c797e1f7..61ce4220fa4d 100644
--- a/games/el/Makefile
+++ b/games/el/Makefile
@@ -7,7 +7,7 @@
PORTNAME= el
PORTVERSION= 180
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
${MASTER_SITE_LOCAL:S,$,acm/${PORTNAME}/,}
@@ -17,15 +17,14 @@ MAINTAINER= acm@FreeBSD.org
COMMENT= Eternal Lands is a free 3D MMORPG
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
- openal.0:${PORTSDIR}/audio/openal \
vorbis.4:${PORTSDIR}/audio/libvorbis \
- cal3d.12:${PORTSDIR}/graphics/cal3d \
- alut.1:${PORTSDIR}/audio/freealut
+ cal3d.12:${PORTSDIR}/graphics/cal3d
RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME}/el.ini:${PORTSDIR}/games/el-data
PROJECTHOST= bsdistfiles
USE_BZIP2= yes
USE_GMAKE= yes
+USE_OPENAL= al alut
USE_GNOME= libxml2
USE_SDL= sdl net image
USE_GL= yes
diff --git a/games/ember/Makefile b/games/ember/Makefile
index 32c966649a40..f092b3c61eb5 100644
--- a/games/ember/Makefile
+++ b/games/ember/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ember
PORTVERSION= 0.5.7
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= SF/worldforge/Ember%20%28OGRE%20client%29/${PORTVERSION} \
http://amber.worldforge.org/ember/releases/stable/
@@ -24,8 +24,6 @@ LIB_DEPENDS= sigc-2.0:${PORTSDIR}/devel/libsigc++20 \
eris-1.3:${PORTSDIR}/devel/eris \
varconf-1.0.6:${PORTSDIR}/devel/varconf \
mercator-0.2.6:${PORTSDIR}/devel/mercator \
- openal.0:${PORTSDIR}/audio/openal \
- alut.1:${PORTSDIR}/audio/freealut \
wfut-0.2:${PORTSDIR}/devel/libwfut \
boost_thread.4:${PORTSDIR}/devel/boost-libs
@@ -36,6 +34,7 @@ USE_SDL= sdl
GNU_CONFIGURE= YES
USE_LDCONFIG= YES
USE_LUA= 5.1
+USE_OPENAL= al alut
USE_GNOME= gnomehack
USE_BZIP2= YES
CPPFLAGS= -DBR_NO_MACROS
diff --git a/games/evq3/Makefile b/games/evq3/Makefile
index bd6e393f81bb..4881cd667fe2 100644
--- a/games/evq3/Makefile
+++ b/games/evq3/Makefile
@@ -7,7 +7,7 @@
PORTNAME= evq3
PORTVERSION= 1.3.20080810
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_LOCAL:S|$|alepulver/|}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
@@ -76,7 +76,7 @@ MAKE_ENV+= USE_CURL_DLOPEN=1
. endif
# OpenAL
. if defined(WITH_OPENAL)
-LIB_DEPENDS+= openal.0:${PORTSDIR}/audio/openal
+USE_OPENAL= al
MAKE_ENV+= USE_OPENAL=1
. if defined(WITH_OPENAL_DLOPEN)
MAKE_ENV+= USE_OPENAL_DLOPEN=1
diff --git a/games/evq3/files/patch-code_client_snd_openal.c b/games/evq3/files/patch-code_client_snd_openal.c
new file mode 100644
index 000000000000..60bba3c924d8
--- /dev/null
+++ b/games/evq3/files/patch-code_client_snd_openal.c
@@ -0,0 +1,11 @@
+--- code/client/snd_openal.c.orig 2009-12-26 18:05:56.000000000 +0100
++++ code/client/snd_openal.c 2009-12-26 18:06:06.000000000 +0100
+@@ -1707,7 +1707,7 @@
+ #elif defined(MACOS_X)
+ #define ALDRIVER_DEFAULT "/System/Library/Frameworks/OpenAL.framework/OpenAL"
+ #else
+-#define ALDRIVER_DEFAULT "libopenal.so.0"
++#define ALDRIVER_DEFAULT "libopenal.so"
+ #endif
+
+ /*
diff --git a/games/excido/Makefile b/games/excido/Makefile
index 016fff02e478..827ab811317e 100644
--- a/games/excido/Makefile
+++ b/games/excido/Makefile
@@ -7,7 +7,7 @@
PORTNAME= excido
PORTVERSION= 0.1.5c
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= games
MASTER_SITES= http://offload1.icculus.org/excido/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
@@ -15,15 +15,14 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= alepulver@FreeBSD.org
COMMENT= A portable fast-paced 3d shooter
-LIB_DEPENDS= openal.0:${PORTSDIR}/audio/openal \
- physfs.1:${PORTSDIR}/devel/physfs \
- alut.1:${PORTSDIR}/audio/freealut
+LIB_DEPENDS= physfs.1:${PORTSDIR}/devel/physfs
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_BZIP2= yes
USE_GMAKE= yes
USE_GL= yes
+USE_OPENAL= al alut
USE_SDL= image sdl ttf
post-install:
diff --git a/games/flightgear/Makefile b/games/flightgear/Makefile
index d921531e32b6..1b7ca7ae52e3 100644
--- a/games/flightgear/Makefile
+++ b/games/flightgear/Makefile
@@ -7,7 +7,7 @@
PORTNAME= FlightGear
PORTVERSION= 1.9.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= games
# see http://www.flightgear.org/templates.js
MASTER_SITES= ftp://ftp.de.flightgear.org/pub/fgfs/Source/ \
@@ -22,8 +22,7 @@ MASTER_SITES= ftp://ftp.de.flightgear.org/pub/fgfs/Source/ \
MAINTAINER= ganael.laplanche@martymac.com
COMMENT= The FlightGear flight simulator
-LIB_DEPENDS= openal.0:${PORTSDIR}/audio/openal \
- boost_thread.4:${PORTSDIR}/devel/boost-libs
+LIB_DEPENDS= boost_thread.4:${PORTSDIR}/devel/boost-libs
BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib \
${LOCALBASE}/lib/libsgmisc.a:${PORTSDIR}/devel/simgear
RUN_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib \
@@ -38,6 +37,7 @@ LIB_DEPENDS+= osg.55:${PORTSDIR}/graphics/osg
USE_XORG= ice sm x11 xext xi xt xmu
USE_GL= gl glu glut
+USE_OPENAL= al
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
diff --git a/games/freeorion/Makefile b/games/freeorion/Makefile
index f23488a17069..cb3be8e79b0a 100644
--- a/games/freeorion/Makefile
+++ b/games/freeorion/Makefile
@@ -7,7 +7,7 @@
PORTNAME= freeorion
PORTVERSION= 0.3.13.3318
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= oliver
@@ -16,7 +16,6 @@ MAINTAINER= oliver@FreeBSD.org
COMMENT= Open-source, platform independent galactic conquest game
LIB_DEPENDS= GiGi.0:${PORTSDIR}/x11-toolkits/gigi \
- alut.1:${PORTSDIR}/audio/freealut \
graph:${PORTSDIR}/graphics/graphviz \
log4cpp.4:${PORTSDIR}/devel/log4cpp \
vorbisfile.6:${PORTSDIR}/audio/libvorbis
@@ -29,6 +28,7 @@ USE_PYTHON= yes
USE_SCONS= yes
SCONS_ARGS= with_builtin_sdlnet=0
SCONS_BUILDENV= PYTHON_LIB=${PYTHON_VERSION} LINKFLAGS=${LDFLAGS}
+USE_OPENAL= alut
USE_SDL= sdl net
WRKSRC= ${WRKDIR}/${PORTNAME}/FreeOrion
diff --git a/games/gemrb/Makefile b/games/gemrb/Makefile
index 72717b434b4f..a82475fdea43 100644
--- a/games/gemrb/Makefile
+++ b/games/gemrb/Makefile
@@ -7,15 +7,14 @@
PORTNAME= gemrb
PORTVERSION= 0.5.0
+PORTREVISION= 1
CATEGORIES= games emulators
MASTER_SITES= SF/${PORTNAME}/GemRB%20Sources/GemRB%20${PORTVERSION}%20Sources
MAINTAINER= beyert@cs.ucr.edu
COMMENT= GemRB (Game engine made with preRendered Background)
-LIB_DEPENDS= openal.0:${PORTSDIR}/audio/openal \
- alut.1:${PORTSDIR}/audio/freealut \
- png.5:${PORTSDIR}/graphics/png
+LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
GNU_CONFIGURE= yes
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
@@ -24,6 +23,7 @@ CONFIGURE_ARGS= -libdir=${LOCALBASE}/lib \
USE_GMAKE= yes
USE_SDL= sdl
+USE_OPENAL= al alut
USE_LDCONFIG= yes
USE_PYTHON= 2.4+
diff --git a/games/glest/Makefile b/games/glest/Makefile
index e63e033a5553..fe5e2ba956f8 100644
--- a/games/glest/Makefile
+++ b/games/glest/Makefile
@@ -7,7 +7,7 @@
PORTNAME= glest
PORTVERSION= 3.2.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20source/${PORTVERSION}
DISTNAME= ${PORTNAME}_source_${PORTVERSION}
@@ -17,14 +17,13 @@ MAINTAINER= acm@FreeBSD.org
COMMENT= Free 3d real-time customizable strategy game
LIB_DEPENDS= xerces-c.27:${PORTSDIR}/textproc/xerces-c2 \
- vorbis.4:${PORTSDIR}/audio/libvorbis \
- openal.0:${PORTSDIR}/audio/openal \
- alut.1:${PORTSDIR}/audio/freealut
+ vorbis.4:${PORTSDIR}/audio/libvorbis
BUILD_DEPENDS= jam:${PORTSDIR}/devel/jam
RUN_DEPENDS= ${DATADIR}/servers.ini:${PORTSDIR}/games/glest-data
USE_AUTOTOOLS= automake:15:env autoconf:262:env
USE_ZIP= yes
+USE_OPENAL= al alut
USE_DOS2UNIX= yes
USE_LUA= 5.1
USE_SDL= yes
diff --git a/games/ioquake3/Makefile b/games/ioquake3/Makefile
index 9ff06eadb05b..25937c453d4a 100644
--- a/games/ioquake3/Makefile
+++ b/games/ioquake3/Makefile
@@ -7,7 +7,7 @@
PORTNAME?= ioquake3
DISTVERSION?= 1.36
-PORTREVISION?= 1
+PORTREVISION?= 2
CATEGORIES= games
MASTER_SITES?= http://ioquake3.org/files/${DISTVERSION}/
@@ -67,7 +67,7 @@ MAKE_ARGS+= USE_CURL=0
.endif
# OpenAL
.if defined(WITH_OPENAL)
-LIB_DEPENDS+= openal.0:${PORTSDIR}/audio/openal
+USE_OPENAL= al
.else
MAKE_ARGS+= USE_OPENAL=0
.endif
diff --git a/games/ioquake3/files/patch-code-client-snd_openal.c b/games/ioquake3/files/patch-code-client-snd_openal.c
new file mode 100644
index 000000000000..411fb3564ea8
--- /dev/null
+++ b/games/ioquake3/files/patch-code-client-snd_openal.c
@@ -0,0 +1,11 @@
+--- code/client/snd_openal.c.orig 2009-12-26 18:10:44.000000000 +0100
++++ code/client/snd_openal.c 2009-12-26 18:11:00.000000000 +0100
+@@ -1719,7 +1719,7 @@
+ #elif defined(MACOS_X)
+ #define ALDRIVER_DEFAULT "/System/Library/Frameworks/OpenAL.framework/OpenAL"
+ #else
+-#define ALDRIVER_DEFAULT "libopenal.so.0"
++#define ALDRIVER_DEFAULT "libopenal.so"
+ #endif
+
+ /*
diff --git a/games/iourbanterror/Makefile b/games/iourbanterror/Makefile
index a84c84abe2ac..8b6bb609a64b 100644
--- a/games/iourbanterror/Makefile
+++ b/games/iourbanterror/Makefile
@@ -7,7 +7,7 @@
PORTNAME= iourbanterror
DISTVERSION= 2007_12_20
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= games
MASTER_SITES= http://ftp.snt.utwente.nl/pub/games/urbanterror/iourbanterror/source/complete/
DISTNAME= ioUrbanTerrorSource_${DISTVERSION}
@@ -78,7 +78,7 @@ MAKE_ENV+= USE_CURL_DLOPEN=1
. endif
# OpenAL
. if defined(WITH_OPENAL)
-LIB_DEPENDS+= openal.0:${PORTSDIR}/audio/openal
+USE_OPENAL= al
MAKE_ENV+= USE_OPENAL=1
. if defined(WITH_OPENAL_DLOPEN)
MAKE_ENV+= USE_OPENAL_DLOPEN=1
diff --git a/games/iourbanterror/files/patch-code_client_snd_openal.c b/games/iourbanterror/files/patch-code_client_snd_openal.c
new file mode 100644
index 000000000000..e35fc7cbf9ac
--- /dev/null
+++ b/games/iourbanterror/files/patch-code_client_snd_openal.c
@@ -0,0 +1,11 @@
+--- code/client/snd_openal.c.orig 2009-12-26 18:12:52.000000000 +0100
++++ code/client/snd_openal.c 2009-12-26 18:13:00.000000000 +0100
+@@ -1676,7 +1676,7 @@
+ #elif defined(MACOS_X)
+ #define ALDRIVER_DEFAULT "/System/Library/Frameworks/OpenAL.framework/OpenAL"
+ #else
+-#define ALDRIVER_DEFAULT "libopenal.so.0"
++#define ALDRIVER_DEFAULT "libopenal.so"
+ #endif
+
+ /*
diff --git a/games/kmquake2/Makefile b/games/kmquake2/Makefile
index afa06752e1ec..f6ff91a9f934 100644
--- a/games/kmquake2/Makefile
+++ b/games/kmquake2/Makefile
@@ -7,7 +7,7 @@
PORTNAME= kmquake2
PORTVERSION= 0.19
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= games
MASTER_SITES= http://qudos.quakedev.com/linux/quake2/engines/KMQuake2/:src \
http://qexpo2005.quakedev.com/uploaded/54/:data \
@@ -88,9 +88,9 @@ MAKE_ENV+= KMQ2_ADDONS="${KMQ2_ADDONS:S/-1${EXTRACT_SUFX}//}"
.if !defined(WITHOUT_CLIENT) || !defined(WITHOUT_SDL)
LIB_DEPENDS+= jpeg.10:${PORTSDIR}/graphics/jpeg \
- openal.0:${PORTSDIR}/audio/openal \
png.5:${PORTSDIR}/graphics/png \
vorbis.4:${PORTSDIR}/audio/libvorbis
+USE_OPENAL= al
USE_GL= yes
.endif
diff --git a/games/linwarrior/Makefile b/games/linwarrior/Makefile
index 8d9e588d6513..b30bdcff59fb 100644
--- a/games/linwarrior/Makefile
+++ b/games/linwarrior/Makefile
@@ -7,6 +7,7 @@
PORTNAME= linwarrior
PORTVERSION= 20091108
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.hackcraft.de/games/linwarrior_3d/downloads/ \
http://mirror.amdmi3.ru/distfiles/
@@ -15,10 +16,8 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Navigate a mech through a 3D world and fire at enemies
-LIB_DEPENDS= openal.0:${PORTSDIR}/audio/openal \
- alut.1:${PORTSDIR}/audio/freealut
-
USE_GMAKE= yes
+USE_OPENAL= al alut
USE_GL= gl glu
USE_SDL= sdl
MAKE_JOBS_SAFE= yes
diff --git a/games/openarena/Makefile b/games/openarena/Makefile
index aeff19584311..35f03d5c594c 100644
--- a/games/openarena/Makefile
+++ b/games/openarena/Makefile
@@ -7,7 +7,7 @@
PORTNAME= openarena
PORTVERSION= 0.7.1
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= games
MASTER_SITES= http://openarena.ws/rel/070/:src \
http://download.tuxfamily.net/cooker/openarena/rel070/:data \
@@ -66,7 +66,7 @@ MAKE_ENV+= HAVE_VM_COMPILED=true
.if !defined(WITHOUT_CLIENT) || !defined(WITHOUT_SMP)
# OpenAL
. if defined(WITH_OPENAL)
-LIB_DEPENDS+= openal.0:${PORTSDIR}/audio/openal
+USE_OPENAL= al
MAKE_ENV+= USE_OPENAL=1
. if defined(WITH_OPENAL_DLOPEN)
MAKE_ENV+= USE_OPENAL_DLOPEN=1
diff --git a/games/openarena/files/patch-code_client_snd_openal.c b/games/openarena/files/patch-code_client_snd_openal.c
new file mode 100644
index 000000000000..4aaf9f885242
--- /dev/null
+++ b/games/openarena/files/patch-code_client_snd_openal.c
@@ -0,0 +1,11 @@
+--- code/client/snd_openal.c.orig 2009-12-26 18:20:08.000000000 +0100
++++ code/client/snd_openal.c 2009-12-26 18:20:27.000000000 +0100
+@@ -1676,7 +1676,7 @@
+ #elif defined(MACOS_X)
+ #define ALDRIVER_DEFAULT "/System/Library/Frameworks/OpenAL.framework/OpenAL"
+ #else
+-#define ALDRIVER_DEFAULT "libopenal.so.0"
++#define ALDRIVER_DEFAULT "libopenal.so"
+ #endif
+
+ /*
diff --git a/games/openastromenace/Makefile b/games/openastromenace/Makefile
index 30b3421ca4b1..8f9316317c73 100644
--- a/games/openastromenace/Makefile
+++ b/games/openastromenace/Makefile
@@ -7,7 +7,7 @@
PORTNAME= openastromenace
PORTVERSION= 1.2.0
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= games
MASTER_SITES= SF
DISTFILES= openamenace-src-${PORTVERSION}${EXTRACT_SUFX} \
@@ -18,12 +18,11 @@ MAINTAINER= proler@gmail.com
COMMENT= Hardcore 3D space shooter with spaceship upgrade possibilities
LIB_DEPENDS+= vorbisfile:${PORTSDIR}/audio/libvorbis \
- jpeg:${PORTSDIR}/graphics/jpeg \
- openal:${PORTSDIR}/audio/openal \
- alut:${PORTSDIR}/audio/freealut
+ jpeg:${PORTSDIR}/graphics/jpeg
USE_BZIP2= yes
USE_GL= gl glu
+USE_OPENAL= al alut
WANT_SDL= yes
USE_SDL= sdl
USE_CMAKE= yes
diff --git a/games/rigsofrods/Makefile b/games/rigsofrods/Makefile
index e987b5540b12..4f74acd83d0e 100644
--- a/games/rigsofrods/Makefile
+++ b/games/rigsofrods/Makefile
@@ -7,6 +7,7 @@
PORTNAME= rigsofrods
PORTVERSION= 0.36.2
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF
DISTFILES= ${PORTNAME}-source-${PORTVERSION}${EXTRACT_SUFX} \
@@ -16,8 +17,7 @@ EXTRACT_ONLY= ${PORTNAME}-source-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Truck, car, airplane and boat simulator with advanced physics
-LIB_DEPENDS= openal.0:${PORTSDIR}/audio/openal \
- zzip.13:${PORTSDIR}/devel/zziplib \
+LIB_DEPENDS= zzip.13:${PORTSDIR}/devel/zziplib \
freetype.9:${PORTSDIR}/print/freetype2 \
CEGUIBase.3:${PORTSDIR}/graphics/cegui \
freeimage.3:${PORTSDIR}/graphics/freeimage
@@ -29,6 +29,7 @@ RUN_DEPENDS= ${LOCALBASE}/lib/libOIS.so:${PORTSDIR}/devel/ois \
BROKEN= does not build
USE_ZIP= yes
+USE_OPENAL= al
USE_XORG= x11 xt xaw sm ice xext
WRKSRC= ${WRKDIR}/${PORTNAME}-source-${PORTVERSION}/build
USE_WX= 2.6+
diff --git a/games/scorched3d/Makefile b/games/scorched3d/Makefile
index b58ad725319d..05a53e161b50 100644
--- a/games/scorched3d/Makefile
+++ b/games/scorched3d/Makefile
@@ -7,6 +7,7 @@
PORTNAME= scorched3d
PORTVERSION= 0.${SCORCH_VERSION}${SCORCH_REVISION}
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Version%20${SCORCH_VERSION}/
DISTNAME= Scorched3D-${SCORCH_VERSION}-src
@@ -14,10 +15,7 @@ DISTNAME= Scorched3D-${SCORCH_VERSION}-src
MAINTAINER= ports@FreeBSD.org
COMMENT= Scorched is a game based loosely on the classic DOS game
-BUILD_DEPENDS= openal-config:${PORTSDIR}/audio/openal
-RUN_DEPENDS= openal-config:${PORTSDIR}/audio/openal
-LIB_DEPENDS= alut.1:${PORTSDIR}/audio/freealut \
- fftw3f:${PORTSDIR}/math/fftw3-float \
+LIB_DEPENDS= fftw3f:${PORTSDIR}/math/fftw3-float \
fftw3:${PORTSDIR}/math/fftw3 \
jpeg:${PORTSDIR}/graphics/jpeg \
png:${PORTSDIR}/graphics/png
@@ -27,6 +25,7 @@ SCORCH_VERSION= 42.1
.if defined(WITH_MYSQL)
USE_MYSQL= yes
.endif
+USE_OPENAL= al alut
USE_SDL= mixer net sdl
GNU_CONFIGURE= yes
USE_GL= yes
diff --git a/games/scorched3d/files/patch-configure-al.m4 b/games/scorched3d/files/patch-configure-al.m4
new file mode 100644
index 000000000000..f2ed2880a5f7
--- /dev/null
+++ b/games/scorched3d/files/patch-configure-al.m4
@@ -0,0 +1,31 @@
+--- configure-al.m4.orig 2009-12-26 18:48:59.000000000 +0100
++++ configure-al.m4 2009-12-26 18:50:56.000000000 +0100
+@@ -7,25 +7,9 @@
+ [ --disable-openaltest Do not try to compile and run a test OpenAL program],
+ , enable_openaltest=yes)
+ AC_MSG_CHECKING(for OpenAL support)
+-AC_PATH_PROG(OPENAL_CONFIG, openal-config, no)
+-if test x$OPENAL_CONFIG = xno; then
+- echo "*** The openal-config script installed by OpenAL could not be found"
+- echo "*** Make sure openal-config is in your path, or set the OPENAL_CONFIG"
+- echo "*** environment variable to the full path to openal-config."
+-
+- AC_MSG_ERROR([*** Can't find the openal library. Try: http://www.openal.org/])
+-else
+-
+- if test x"$use_static_openal" = x"yes"; then
+- AL_LIBS="/usr/local/lib/libopenal.a"
+- else
+- AL_LIBS="`$OPENAL_CONFIG --libs`"
+- fi
+-
+- AL_CFLAGS="`$OPENAL_CONFIG --cflags`"
+-
+- AC_MSG_RESULT(yes)
+-fi
++AL_LIBS="`pkg-config --libs openal`"
++AL_CFLAGS="`pkg-config --cflags openal`"
++AC_MSG_RESULT(yes)
+
+ AC_MSG_CHECKING(for Freealut support)
+ AC_PATH_PROG(FREEALUT_CONFIG, freealut-config, no)
diff --git a/games/spring/Makefile b/games/spring/Makefile
index 26d8e17f2c2d..49851045bf18 100644
--- a/games/spring/Makefile
+++ b/games/spring/Makefile
@@ -7,6 +7,7 @@
PORTNAME= spring
PORTVERSION= 0.80.5.1
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF/springrts/springrts/${PORTNAME}-${PORTVERSION}
DISTNAME= ${PORTNAME}_${PORTVERSION}_src
@@ -15,7 +16,6 @@ MAINTAINER= amdmi3@FreeBSD.org
COMMENT= A project aiming to create a new and versatile RTS Engine
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \
- openal.0:${PORTSDIR}/audio/openal \
GLEW.1:${PORTSDIR}/graphics/glew \
boost_thread.4:${PORTSDIR}/devel/boost-libs \
IL.2:${PORTSDIR}/graphics/devil \
@@ -28,6 +28,7 @@ ONLY_FOR_ARCHS= i386 amd64
ONLY_FOR_ARCHS_REASON= relies on x86 floating-point math
USE_SDL= sdl
+USE_OPENAL= al
USE_GL= gl glu
USE_XORG= x11 xcursor
USE_LDCONFIG= yes
diff --git a/games/supertuxkart/Makefile b/games/supertuxkart/Makefile
index 3833efce1034..cbd7eaf52d5a 100644
--- a/games/supertuxkart/Makefile
+++ b/games/supertuxkart/Makefile
@@ -7,6 +7,7 @@
PORTNAME= supertuxkart
PORTVERSION= 0.6.2
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF/supertuxkart/SuperTuxKart/${PORTVERSION}
EXTRACT_SUFX= -src.tar.bz2
@@ -15,13 +16,12 @@ MAINTAINER= amdmi3@FreeBSD.ru
COMMENT= Free 3D kart racing game
BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib
-LIB_DEPENDS= openal.0:${PORTSDIR}/audio/openal \
- alut.1:${PORTSDIR}/audio/freealut \
- vorbisfile.6:${PORTSDIR}/audio/libvorbis \
+LIB_DEPENDS= vorbisfile.6:${PORTSDIR}/audio/libvorbis \
ogg.6:${PORTSDIR}/audio/libogg
USE_BZIP2= yes
USE_GL= gl glu glut
+USE_OPENAL= al alut
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_SDL= sdl
diff --git a/games/tnl/Makefile b/games/tnl/Makefile
index a8fcd4fbf64e..56c0a82cdb91 100644
--- a/games/tnl/Makefile
+++ b/games/tnl/Makefile
@@ -7,7 +7,7 @@
PORTNAME= tnl
PORTVERSION= 071111
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= games
MASTER_SITES= http://tnlgame.net/downloads/tnl/${PORTVERSION}/ \
http://mirror.amdmi3.ru/distfiles/
@@ -20,9 +20,7 @@ COMMENT= Futuristic action flight simulator and realtime strategy game
BUILD_DEPENDS= ${LOCALBASE}/lib/libiovmall.so:${PORTSDIR}/lang/io
RUN_DEPENDS= ${BUILD_DEPENDS}
-LIB_DEPENDS= openal.0:${PORTSDIR}/audio/openal \
- alut.1:${PORTSDIR}/audio/freealut \
- sigc-1.2.5:${PORTSDIR}/devel/libsigc++12 \
+LIB_DEPENDS= sigc-1.2.5:${PORTSDIR}/devel/libsigc++12 \
CEGUIBase.3:${PORTSDIR}/graphics/cegui \
png.5:${PORTSDIR}/graphics/png \
GLEW.1:${PORTSDIR}/graphics/glew
@@ -33,6 +31,7 @@ USE_GMAKE= yes
USE_SDL= sdl
USE_GCC= 4.2+
USE_GL= yes
+USE_OPENAL= al alut
CONFIGURE_ARGS= --with-io-cflags="-I${LOCALBASE}/include/io" \
--with-io-libs="-L${LOCALBASE}/lib -liovmall"
diff --git a/games/torcs/Makefile b/games/torcs/Makefile
index 3ecea3525203..263689f19723 100644
--- a/games/torcs/Makefile
+++ b/games/torcs/Makefile
@@ -7,7 +7,7 @@
PORTNAME= torcs
DISTVERSION= 1.3.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/all-in-one/${PORTVERSION}
@@ -15,12 +15,11 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= The Open Racing Car Simulator
BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib
-LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
- openal.0:${PORTSDIR}/audio/openal \
- alut.1:${PORTSDIR}/audio/freealut
+LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
USE_XORG= xrender xmu ice xext x11 xxf86vm xrandr
+USE_OPENAL= al alut
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
diff --git a/games/toycars/Makefile b/games/toycars/Makefile
index 5d01ea84daeb..43f8806b2ea5 100644
--- a/games/toycars/Makefile
+++ b/games/toycars/Makefile
@@ -7,17 +7,15 @@
PORTNAME= toycars
PORTVERSION= 0.3.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= SF
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Physics-based 2D racing game
-LIB_DEPENDS= openal.0:${PORTSDIR}/audio/openal \
- alut.1:${PORTSDIR}/audio/freealut
-
USE_SDL= mixer image sdl
+USE_OPENAL= al alut
USE_GL= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
diff --git a/games/tremulous/Makefile b/games/tremulous/Makefile
index 0a2ba04ec6ae..f186e2cfc22e 100644
--- a/games/tremulous/Makefile
+++ b/games/tremulous/Makefile
@@ -7,7 +7,7 @@
PORTNAME= tremulous
PORTVERSION= 1.1.0
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/1.1 \
http://0day.icculus.org/mirrors/tremulous/ \
@@ -59,7 +59,7 @@ MAKE_ENV+= HAVE_VM_COMPILED=true
.if !defined(WITHOUT_CLIENT) || !defined(WITHOUT_SMP)
# OpenAL
. if defined(WITH_OPENAL)
-LIB_DEPENDS+= openal.0:${PORTSDIR}/audio/openal
+USE_OPENAL= al
MAKE_ENV+= USE_OPENAL=1
. if defined(WITH_OPENAL_DLOPEN)
MAKE_ENV+= USE_OPENAL_DLOPEN=1
diff --git a/games/tremulous/files/patch-src_client_snd_openal.c b/games/tremulous/files/patch-src_client_snd_openal.c
new file mode 100644
index 000000000000..a5151f4fc424
--- /dev/null
+++ b/games/tremulous/files/patch-src_client_snd_openal.c
@@ -0,0 +1,11 @@
+--- ./tremulous-1.1.0-src/src/client/snd_openal.c.orig 2009-12-26 18:56:43.000000000 +0100
++++ ./tremulous-1.1.0-src/src/client/snd_openal.c 2009-12-26 18:56:49.000000000 +0100
+@@ -1526,7 +1526,7 @@
+ #ifdef _WIN32
+ #define ALDRIVER_DEFAULT "OpenAL32.dll"
+ #else
+-#define ALDRIVER_DEFAULT "libopenal.so.0"
++#define ALDRIVER_DEFAULT "libopenal.so"
+ #endif
+
+ /*
diff --git a/games/trigger/Makefile b/games/trigger/Makefile
index fc4ffff924fb..8ef968836cb2 100644
--- a/games/trigger/Makefile
+++ b/games/trigger/Makefile
@@ -7,7 +7,7 @@
PORTNAME= trigger
PORTVERSION= 0.5.2.1
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}-rally/${PORTNAME}-rally/${PORTNAME}-${PORTVERSION}
DISTFILES= trigger-${PORTVERSION}-src${EXTRACT_SUFX} \
@@ -17,10 +17,9 @@ MAINTAINER= makc@FreeBSD.org
COMMENT= A rally car racing game
BUILD_DEPENDS= jam:${PORTSDIR}/devel/jam
-LIB_DEPENDS= openal:${PORTSDIR}/audio/openal \
- physfs.1:${PORTSDIR}/devel/physfs \
- alut.1:${PORTSDIR}/audio/freealut
+LIB_DEPENDS= physfs.1:${PORTSDIR}/devel/physfs
+USE_OPENAL= al alut
USE_SDL= sdl image
USE_GL= yes
USE_BZIP2= yes
diff --git a/games/ultimatestunts/Makefile b/games/ultimatestunts/Makefile
index a879ceb5d09b..a54ad3ae7588 100644
--- a/games/ultimatestunts/Makefile
+++ b/games/ultimatestunts/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ultimatestunts
PORTVERSION= 0.7.5.1
-PORTREVISION= 1
+PORTREVISION= 2
DISTVERSIONPREFIX= srcdata-
DISTVERSION= ${PORTVERSION:S/.//g}
CATEGORIES= games
@@ -16,10 +16,8 @@ MASTER_SITES= SF/${PORTNAME}/sourcecode/0.7.5%20release%201
MAINTAINER= ports@FreeBSD.org
COMMENT= Racing game with elaborate stunts
-LIB_DEPENDS= openal.0:${PORTSDIR}/audio/openal \
- alut.1:${PORTSDIR}/audio/freealut
-
USE_GETTEXT= yes
+USE_OPENAL= al alut
USE_GL= gl glu
USE_SDL= sdl image
GNU_CONFIGURE= yes
diff --git a/games/uqm/Makefile b/games/uqm/Makefile
index c5b728fcaaff..ae52975a7bc4 100644
--- a/games/uqm/Makefile
+++ b/games/uqm/Makefile
@@ -14,7 +14,7 @@
PORTNAME= uqm
PORTVERSION= 0.6.2
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= games
MASTER_SITES= SF/sc2/UQM/${PORTVERSION}
DISTFILES= ${PORTNAME}-${PORTVERSION}-source.tgz ${PORTNAME}-${DATAVERSION}-content.uqm
@@ -52,7 +52,7 @@ PLIST_SUB+= MUSICADDON="@comment "
.endif
.ifdef(WITH_OPENAL)
-LIB_DEPENDS+= openal.0:${PORTSDIR}/audio/openal
+USE_OPENAL= al
.endif
post-extract:
diff --git a/games/vamos/Makefile b/games/vamos/Makefile
index 5ce3a7e4e0aa..7f60b9215ffe 100644
--- a/games/vamos/Makefile
+++ b/games/vamos/Makefile
@@ -7,16 +7,16 @@
PORTNAME= vamos
PORTVERSION= 0.6.2
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= An automotive simulation framework
-LIB_DEPENDS= alut.1:${PORTSDIR}/audio/freealut \
- openal.0:${PORTSDIR}/audio/openal \
- png.5:${PORTSDIR}/graphics/png
+LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
+USE_OPENAL= al alut
USE_GL= glut
USE_SDL= sdl
USE_GMAKE= yes
diff --git a/games/vavoom/Makefile b/games/vavoom/Makefile
index 0e8fb8f207dc..04687441fa15 100644
--- a/games/vavoom/Makefile
+++ b/games/vavoom/Makefile
@@ -7,6 +7,7 @@
PORTNAME= vavoom
PORTVERSION= 1.30
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/Vavoom-source/${PORTVERSION}
@@ -87,7 +88,7 @@ CMAKE_ARGS+= -DWITH_MIKMOD=N
.endif
.if defined(WITH_OPENAL)
-LIB_DEPENDS+= openal.0:${PORTSDIR}/audio/openal
+USE_OPENAL= al
CMAKE_ARGS+= -DWITH_OPENAL=Y
.else
CMAKE_ARGS+= -DWITH_OPENAL=N
diff --git a/games/vegastrike/Makefile b/games/vegastrike/Makefile
index 157866928acc..a50be6018160 100644
--- a/games/vegastrike/Makefile
+++ b/games/vegastrike/Makefile
@@ -7,7 +7,7 @@
PORTNAME= vegastrike
PORTVERSION= 0.5.0
-PORTREVISION= 8
+PORTREVISION= 9
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/OldFiles
DISTNAME= vegastrike-source-${PORTVERSION}
@@ -17,10 +17,10 @@ COMMENT= Opensource 3D space simulator
RUN_DEPENDS= ${DATADIR}/vegastrike.ico:${PORTSDIR}/games/vegastrike-data
LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2 \
- openal.0:${PORTSDIR}/audio/openal \
vorbis.4:${PORTSDIR}/audio/libvorbis \
ogg.6:${PORTSDIR}/audio/libogg
+USE_OPENAL= al
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
diff --git a/games/warsow/Makefile b/games/warsow/Makefile
index 788f941a57b6..1fbb2ac19fe8 100644
--- a/games/warsow/Makefile
+++ b/games/warsow/Makefile
@@ -7,6 +7,7 @@
PORTNAME= warsow
PORTVERSION= 0.5
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://woe.crying-wolves.net/ \
http://www.derchris.eu/warsow/ \
@@ -83,7 +84,7 @@ PLIST_SUB+= QF="@comment "
.endif
.if !defined(WITHOUT_OPENAL)
-LIB_DEPENDS+= openal.0:${PORTSDIR}/audio/openal
+USE_OPENAL= al
ALL_TARGET+= openal
PLIST_SUB+= OPENAL=""
.else
diff --git a/games/warsow/files/patch-snd_openal_snd_main.c b/games/warsow/files/patch-snd_openal_snd_main.c
new file mode 100644
index 000000000000..84c1d6ed71b6
--- /dev/null
+++ b/games/warsow/files/patch-snd_openal_snd_main.c
@@ -0,0 +1,11 @@
+--- ./snd_openal/snd_main.c.orig 2009-12-26 19:07:05.000000000 +0100
++++ ./snd_openal/snd_main.c 2009-12-26 19:07:13.000000000 +0100
+@@ -231,7 +231,7 @@
+ #define ALDRIVER "/System/Library/Frameworks/OpenAL.framework/OpenAL"
+ #define ALDEVICE_DEFAULT NULL
+ #else
+-#define ALDRIVER "libopenal.so.0"
++#define ALDRIVER "libopenal.so"
+ #define ALDEVICE_DEFAULT NULL
+ #endif
+
diff --git a/games/warzone2100/Makefile b/games/warzone2100/Makefile
index c9453bab533b..c1c7976af699 100644
--- a/games/warzone2100/Makefile
+++ b/games/warzone2100/Makefile
@@ -7,6 +7,7 @@
PORTNAME= warzone2100
PORTVERSION= 2.2.4
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Warzone%202100%20${PORTVERSION}
@@ -19,7 +20,6 @@ BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip \
LIB_DEPENDS= jpeg.10:${PORTSDIR}/graphics/jpeg \
mad.2:${PORTSDIR}/audio/libmad \
ogg.6:${PORTSDIR}/audio/libogg \
- openal.0:${PORTSDIR}/audio/openal \
physfs.1:${PORTSDIR}/devel/physfs \
png.5:${PORTSDIR}/graphics/png \
vorbis.4:${PORTSDIR}/audio/libvorbis \
@@ -30,6 +30,7 @@ RUN_DEPENDS= ${LOCALBASE}/lib/X11/fonts/dejavu/DejaVuSans.ttf:${PORTSDIR}/x11-fo
USE_BISON= build
GNU_CONFIGURE= yes
+USE_OPENAL= al
USE_GL= yes
USE_GMAKE= yes
USE_SDL= net sdl
diff --git a/games/windstille/Makefile b/games/windstille/Makefile
index c1e8cddf8f5f..c6e67b961cab 100644
--- a/games/windstille/Makefile
+++ b/games/windstille/Makefile
@@ -7,15 +7,14 @@
PORTNAME= windstille
PORTVERSION= 0.3.0
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= games
MASTER_SITES= BERLIOS CENKES
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Classic 2D jump-n-shoot game
-LIB_DEPENDS= openal.0:${PORTSDIR}/audio/openal \
- physfs.1:${PORTSDIR}/devel/physfs \
+LIB_DEPENDS= physfs.1:${PORTSDIR}/devel/physfs \
ogg.6:${PORTSDIR}/audio/libogg \
vorbis.4:${PORTSDIR}/audio/libvorbis \
png.5:${PORTSDIR}/graphics/png \
@@ -26,6 +25,7 @@ BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost
USE_BZIP2= yes
USE_SCONS= yes
+USE_OPENAL= al
USE_GL= gl
USE_SDL= sdl image
USE_BISON= build
diff --git a/games/worldofpadman/Makefile b/games/worldofpadman/Makefile
index e2146ac514c9..14b2169d3175 100644
--- a/games/worldofpadman/Makefile
+++ b/games/worldofpadman/Makefile
@@ -7,7 +7,7 @@
PORTNAME= worldofpadman
PORTVERSION= 1.2.20080621
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= games
MASTER_SITES= http://thilo.kickchat.com/download/:full \
http://btc3x6.che.uni-bayreuth.de/~tl/wop_final/:full \
@@ -74,7 +74,7 @@ MAKE_ENV+= USE_CURL_DLOPEN=1
. endif
# OpenAL
. if defined(WITH_OPENAL)
-LIB_DEPENDS+= openal.0:${PORTSDIR}/audio/openal
+USE_OPENAL= al
MAKE_ENV+= USE_OPENAL=1
. if defined(WITH_OPENAL_DLOPEN)
MAKE_ENV+= USE_OPENAL_DLOPEN=1
diff --git a/games/worldofpadman/files/patch-code_client_snd_openal.c b/games/worldofpadman/files/patch-code_client_snd_openal.c
new file mode 100644
index 000000000000..811f58495a71
--- /dev/null
+++ b/games/worldofpadman/files/patch-code_client_snd_openal.c
@@ -0,0 +1,11 @@
+--- ./code/client/snd_openal.c.orig 2009-12-26 20:07:28.000000000 +0100
++++ ./code/client/snd_openal.c 2009-12-26 20:07:36.000000000 +0100
+@@ -1686,7 +1686,7 @@
+ #elif defined(MACOS_X)
+ #define ALDRIVER_DEFAULT "/System/Library/Frameworks/OpenAL.framework/OpenAL"
+ #else
+-#define ALDRIVER_DEFAULT "libopenal.so.0"
++#define ALDRIVER_DEFAULT "libopenal.so"
+ #endif
+
+ /*
diff --git a/games/xpilot-ng-server/Makefile b/games/xpilot-ng-server/Makefile
index 83dcd04621a3..20a31ce8ef1f 100644
--- a/games/xpilot-ng-server/Makefile
+++ b/games/xpilot-ng-server/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xpilot-ng
PORTVERSION= 4.7.2
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= games
MASTER_SITES= SF/xpilot/xpilot_ng/${PORTNAME}-${PORTVERSION}
PKGNAMESUFFIX?= -server
@@ -74,7 +74,7 @@ PLIST_SUB+= SDL="@comment "
.endif
.if defined(WITH_SOUND)
-LIB_DEPENDS+= openal:${PORTSDIR}/audio/openal
+USE_OPENAL= al
CONFIGURE_ARGS+=--enable-sound
CPPFLAGS+= ${PTHREAD_CFLAGS}
LDFLAGS+= ${PTHREAD_LIBS}