View | Details | Raw Unified | Return to bug 142123
Collapse All | Expand All

(-)Mk/bsd.port.mk (+83 lines)
Lines 395-400 Link Here
395
# USE_SDL		- If set, this port uses the sdl libraries.
395
# USE_SDL		- If set, this port uses the sdl libraries.
396
#				  See bsd.sdl.mk for more information.
396
#				  See bsd.sdl.mk for more information.
397
##
397
##
398
# USE_OPENAL	- If set, this port relies on the OpenAL package.
399
#				  Legal values are: al, soft, si, alut.
400
#				  If set to an unknown value, the port is marked broken.
401
# WANT_OPENAL	- User-specific OpenAL wishes.
402
#				  Legal values are: soft, si. The default is soft.
403
##
398
# USE_OPENSSL	- If set, this port relies on the OpenSSL package.
404
# USE_OPENSSL	- If set, this port relies on the OpenSSL package.
399
##
405
##
400
# USE_OPENLDAP	- If set, this port uses the OpenLDAP libraries.
406
# USE_OPENLDAP	- If set, this port uses the OpenLDAP libraries.
Lines 1744-1749 Link Here
1744
.include "${PORTSDIR}/Mk/bsd.ldap.mk"
1750
.include "${PORTSDIR}/Mk/bsd.ldap.mk"
1745
.endif
1751
.endif
1746
1752
1753
.if defined(USE_OPENAL)
1754
_OPENAL_ALL=	al si soft alut
1755
_OPENAL_LIBS=	si soft
1756
# Default choie.
1757
_DEFAULT_OPENAL=	soft
1758
1759
_OPENAL_SOFT=	openal.1:${PORTSDIR}/audio/openal-soft
1760
_OPENAL_SI=	openal.0:${PORTSDIR}/audio/openal
1761
_OPENAL_ALUT=	alut.1:${PORTSDIR}/audio/freealut
1762
1763
.if exists(${LOCALBASE}/lib/libopenal.a)
1764
_HAVE_OPENAL=	si
1765
.elif exists(${LOCALBASE}/bin/openal-info)
1766
_HAVE_OPENAL=	soft
1767
.endif
1768
1769
.if ${USE_OPENAL} == "yes"
1770
# Be friendly.
1771
USE_OPENAL=	${_DEFAULT_OPENAL}
1772
.endif
1773
1774
__USED_OPENAL=
1775
_USE_OPENAL=
1776
.for component in ${USE_OPENAL}
1777
.if ${__USED_OPENAL:M${component}} == ""
1778
__USED_OPENAL+=	${component}
1779
1780
.if ${_OPENAL_ALL:M${component}} == ""
1781
BROKEN=	OPENAL mismatch: unknown component ${component}
1782
.elif ${_OPENAL_ALL:M${component}} == "al"
1783
1784
# Check if the user wish matches the found OpenAL system.
1785
.if defined(WANT_OPENAL) && defined(_HAVE_OPENAL) && ${_HAVE_OPENAL} != ${WANT_OPENAL}
1786
BROKEN=	OPENAL mismatch: ${_HAVE_OPENAL} is installed, but ${WANT_OPENAL} desired
1787
.endif # WANT_OPENAL
1788
1789
.if defined(_HAVE_OPENAL)
1790
_OPENAL_SYSTEM=	${_HAVE_OPENAL}
1791
.elif defined(WANT_OPENAL)
1792
_OPENAL_SYSTEM=	${WANT_OPENAL}
1793
.else
1794
_OPENAL_SYSTEM=	${_DEFAULT_OPENAL}
1795
.endif # _HAVE_OPENAL
1796
1797
_USE_OPENAL+= ${_OPENAL_${_OPENAL_SYSTEM:U}}
1798
1799
.else # ${_OPENAL_ALL:M${component}} == ""
1800
1801
.if ${_OPENAL_LIBS:M${component}} == ${component}
1802
# Check for the system implementation to use.
1803
.if defined(WANT_OPENAL) && ${WANT_OPENAL} != ${component}
1804
BROKEN=	OPENAL mismatch: wants to use ${component}, while you wish to use ${WANT_OPENAL}
1805
.endif
1806
.if defined(_OPENAL_SYSTEM)
1807
BROKEN=	OPENAL mismatch: cannot use ${component} and al together.
1808
.endif
1809
.if defined(_HAVE_OPENAL) && ${_HAVE_OPENAL} != ${component}
1810
BROKEN=	OPENAL mismatch: wants to use ${component}, but ${_HAVE_OPENAL} is installed
1811
.endif
1812
1813
_OPENAL_SYSTEM=	${component}
1814
1815
.endif # ${_OPENAL_LIBS:M${component}} == ${component}
1816
1817
_USE_OPENAL+=	${_OPENAL_${component:U}}
1818
1819
.endif # ${_OPENAL_ALL:M${component}} == ""
1820
1821
.endif # ${__USED_OPENAL:M${component} == ""
1822
.endfor # component in ${USE_OPENAL}
1823
1824
.for dep in ${_USE_OPENAL}
1825
LIB_DEPENDS+=	${dep}
1826
.endfor
1827
1828
.endif # USE_OPENAL
1829
1747
.if defined(USE_FAM)
1830
.if defined(USE_FAM)
1748
DEFAULT_FAM_SYSTEM=	gamin
1831
DEFAULT_FAM_SYSTEM=	gamin
1749
# Currently supported FAM systems
1832
# Currently supported FAM systems
(-)audio/freealut/Makefile (-3 / +2 lines)
Lines 7-26 Link Here
7
7
8
PORTNAME=	freealut
8
PORTNAME=	freealut
9
PORTVERSION=	1.1.0
9
PORTVERSION=	1.1.0
10
PORTREVISION=	1
10
PORTREVISION=	2
11
CATEGORIES=	audio
11
CATEGORIES=	audio
12
MASTER_SITES=	http://connect.creativelabs.com/openal/Downloads/ALUT/
12
MASTER_SITES=	http://connect.creativelabs.com/openal/Downloads/ALUT/
13
13
14
MAINTAINER=	oliver@FreeBSD.org
14
MAINTAINER=	oliver@FreeBSD.org
15
COMMENT=	The OpenAL Utility Toolkit
15
COMMENT=	The OpenAL Utility Toolkit
16
16
17
LIB_DEPENDS=	openal.0:${PORTSDIR}/audio/openal
18
19
USE_AUTOTOOLS=	libtool:22
17
USE_AUTOTOOLS=	libtool:22
20
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
21
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
19
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
22
USE_GMAKE=	yes
20
USE_GMAKE=	yes
23
USE_GNOME=	pkgconfig gnomehack
21
USE_GNOME=	pkgconfig gnomehack
22
USE_OPENAL=	al
24
USE_LDCONFIG=	yes
23
USE_LDCONFIG=	yes
25
24
26
.include <bsd.port.pre.mk>
25
.include <bsd.port.pre.mk>
(-)audio/py-openal/Makefile (-4 / +2 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	openal
8
PORTNAME=	openal
9
PORTVERSION=	0.1.6
9
PORTVERSION=	0.1.6
10
PORTREVISION=	2
10
PORTREVISION=	3
11
CATEGORIES=	audio python
11
CATEGORIES=	audio python
12
MASTER_SITES=	http://download.gna.org/pyopenal/
12
MASTER_SITES=	http://download.gna.org/pyopenal/
13
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
13
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Lines 16-25 Link Here
16
MAINTAINER=	acm@FreeBSD.org
16
MAINTAINER=	acm@FreeBSD.org
17
COMMENT=	PyOpenAL is a binding of OpenAL for Python
17
COMMENT=	PyOpenAL is a binding of OpenAL for Python
18
18
19
LIB_DEPENDS=	openal.0:${PORTSDIR}/audio/openal \
20
		alut.1:${PORTSDIR}/audio/freealut
21
22
DIST_SUBDIR=	python
19
DIST_SUBDIR=	python
20
USE_OPENAL=	al alut
23
USE_PYTHON=	yes
21
USE_PYTHON=	yes
24
USE_PYDISTUTILS=	yes
22
USE_PYDISTUTILS=	yes
25
PYDISTUTILS_PKGNAME=	PyOpenAL
23
PYDISTUTILS_PKGNAME=	PyOpenAL
(-)audio/py-openal/files/patch-setup.py (-6 / +11 lines)
Lines 1-6 Link Here
1
--- setup.py	Sun Apr 30 10:23:44 2006
1
--- setup.py.orig	2006-04-30 17:23:44.000000000 +0200
2
+++ setup.py	Mon Aug 21 00:25:58 2006
2
+++ setup.py	2009-12-26 17:50:57.000000000 +0100
3
@@ -1,14 +1,14 @@
3
@@ -1,17 +1,17 @@
4
 import os
4
 import os
5
 from distutils.core import setup, Extension
5
 from distutils.core import setup, Extension
6
 
6
 
Lines 9-15 Link Here
9
 LIBS    = ["openal", "alut"]
9
 LIBS    = ["openal", "alut"]
10
 
10
 
11
 try:
11
 try:
12
   openal_version = os.popen("openal-config --version").read()
12
-  openal_version = os.popen("openal-config --version").read()
13
+  openal_version = os.popen("pkg-config --modversion openal").read()
13
   if openal_version[0] == "0":
14
   if openal_version[0] == "0":
14
-    LIBDIRS = ["/usr/lib", "/usr/local/lib"]
15
-    LIBDIRS = ["/usr/lib", "/usr/local/lib"]
15
-    LIBS    = ["openal"]
16
-    LIBS    = ["openal"]
Lines 17-29 Link Here
17
+    LIBS    = ["openal","alut"]
18
+    LIBS    = ["openal","alut"]
18
     
19
     
19
 except:
20
 except:
20
   print "Warning: error while running 'openal-config --version', using default values..."
21
-  print "Warning: error while running 'openal-config --version', using default values..."
22
+  print "Warning: error while running 'pkg-config --modversion', using default values..."
23
 
24
 
25
 setup(
21
@@ -38,7 +38,7 @@
26
@@ -38,7 +38,7 @@
22
   
27
   
23
   ext_modules  = [Extension("_openal",
28
   ext_modules  = [Extension("_openal",
24
                             ["py_openal.c"],
29
                             ["py_openal.c"],
25
-                            ["/usr/include", "/usr/local/include"],
30
-                            ["/usr/include", "/usr/local/include"],
26
+                            ["/usr/include", "/usr/local/include", "%%LOCALBASE%%/include"],
31
+                            ["/usr/include", "/usr/local/include", "%%LOCALBASE/include"],
27
                             [("HAVE_CONFIG_H", None)],
32
                             [("HAVE_CONFIG_H", None)],
28
                             None,
33
                             None,
29
                             LIBDIRS,
34
                             LIBDIRS,
(-)deskutils/xneur/Makefile (-1 / +2 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	xneur
8
PORTNAME=	xneur
9
PORTVERSION=	0.9.4
9
PORTVERSION=	0.9.4
10
PORTREVISION=	1
10
CATEGORIES=	deskutils
11
CATEGORIES=	deskutils
11
MASTER_SITES=	http://dists.xneur.ru/release-${DISTVERSION}/tgz/ \
12
MASTER_SITES=	http://dists.xneur.ru/release-${DISTVERSION}/tgz/ \
12
		http://mirror.amdmi3.ru/distfiles/
13
		http://mirror.amdmi3.ru/distfiles/
Lines 60-66 Link Here
60
CONFIGURE_ARGS+=	--with-sound=gstreamer
61
CONFIGURE_ARGS+=	--with-sound=gstreamer
61
.endif
62
.endif
62
.if defined(WITH_OPENAL)
63
.if defined(WITH_OPENAL)
63
LIB_DEPENDS+=	openal.0:${PORTSDIR}/audio/openal
64
USE_OPENAL=		al
64
CONFIGURE_ARGS+=	--with-sound=openal
65
CONFIGURE_ARGS+=	--with-sound=openal
65
.endif
66
.endif
66
.if defined(WITHOUT_GSTREAMER) && !defined(WITH_OPENAL)
67
.if defined(WITHOUT_GSTREAMER) && !defined(WITH_OPENAL)
(-)devel/Makefile (+1 lines)
Lines 122-127 Link Here
122
    SUBDIR += boost_build
122
    SUBDIR += boost_build
123
    SUBDIR += bouml
123
    SUBDIR += bouml
124
    SUBDIR += bouml-doc
124
    SUBDIR += bouml-doc
125
    SUBDIR += bsdcflow
125
    SUBDIR += bufferpool
126
    SUBDIR += bufferpool
126
    SUBDIR += bug-buddy
127
    SUBDIR += bug-buddy
127
    SUBDIR += bugzilla
128
    SUBDIR += bugzilla
(-)devel/allegro-devel/Makefile (-2 / +2 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	allegro
8
PORTNAME=	allegro
9
DISTVERSION=	4.3.1
9
DISTVERSION=	4.3.1
10
PORTREVISION=	3
10
PORTREVISION=	4
11
CATEGORIES=	devel
11
CATEGORIES=	devel
12
MASTER_SITES=	SF/alleg/${PORTNAME}-unstable/${PORTVERSION}
12
MASTER_SITES=	SF/alleg/${PORTNAME}-unstable/${PORTVERSION}
13
PKGNAMESUFFIX=	-devel
13
PKGNAMESUFFIX=	-devel
Lines 51-57 Link Here
51
.include <bsd.port.pre.mk>
51
.include <bsd.port.pre.mk>
52
52
53
.if defined(WITH_AL)
53
.if defined(WITH_AL)
54
LIB_DEPENDS+=	openal.0:${PORTSDIR}/audio/openal
54
USE_OPENAL=	al
55
CONFIGURE_ARGS+=--enable-sgialdigi
55
CONFIGURE_ARGS+=--enable-sgialdigi
56
PLIST_SUB+=	AL=""
56
PLIST_SUB+=	AL=""
57
.else
57
.else
(-)devel/cflow/Makefile (-1 / +1 lines)
Lines 15-21 Link Here
15
MAINTAINER=	ports@FreeBSD.org
15
MAINTAINER=	ports@FreeBSD.org
16
COMMENT=	A call graph generator for C code
16
COMMENT=	A call graph generator for C code
17
17
18
CONFLICTS=	gnucflow-[0-9]*
18
CONFLICTS=	bsdcflow-[0-9]* gnucflow-[0-9]*
19
19
20
USE_GMAKE=	yes
20
USE_GMAKE=	yes
21
MAN1=		cflow.1
21
MAN1=		cflow.1
(-)devel/gnucflow/Makefile (-1 / +1 lines)
Lines 15-21 Link Here
15
MAINTAINER=	amdmi3@FreeBSD.org
15
MAINTAINER=	amdmi3@FreeBSD.org
16
COMMENT=	Tool to chart control flow within the C program
16
COMMENT=	Tool to chart control flow within the C program
17
17
18
CONFLICTS=	cflow-[0-9]*
18
CONFLICTS=	bsdcflow-[0-9]* cflow-[0-9]*
19
19
20
USE_BZIP2=	yes
20
USE_BZIP2=	yes
21
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
(-)devel/sfml/Makefile (-2 / +2 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	sfml
8
PORTNAME=	sfml
9
PORTVERSION=	1.5
9
PORTVERSION=	1.5
10
PORTREVISION=	1
10
PORTREVISION=	2
11
CATEGORIES=	devel
11
CATEGORIES=	devel
12
MASTER_SITES=	SF
12
MASTER_SITES=	SF
13
DISTNAME=	SFML-${PORTVERSION}-sdk-linux-32
13
DISTNAME=	SFML-${PORTVERSION}-sdk-linux-32
Lines 16-27 Link Here
16
COMMENT=	Simple and Fast Multimedia Library
16
COMMENT=	Simple and Fast Multimedia Library
17
17
18
LIB_DEPENDS=	sndfile.1:${PORTSDIR}/audio/libsndfile \
18
LIB_DEPENDS=	sndfile.1:${PORTSDIR}/audio/libsndfile \
19
		openal.0:${PORTSDIR}/audio/openal \
20
		jpeg.10:${PORTSDIR}/graphics/jpeg \
19
		jpeg.10:${PORTSDIR}/graphics/jpeg \
21
		png.5:${PORTSDIR}/graphics/png \
20
		png.5:${PORTSDIR}/graphics/png \
22
		freetype.9:${PORTSDIR}/print/freetype2
21
		freetype.9:${PORTSDIR}/print/freetype2
23
22
24
USE_GMAKE=	yes
23
USE_GMAKE=	yes
24
USE_OPENAL=	al
25
USE_XORG=	x11 xrandr
25
USE_XORG=	x11 xrandr
26
USE_GL=		gl glu
26
USE_GL=		gl glu
27
USE_LDCONFIG=	yes
27
USE_LDCONFIG=	yes
(-)devel/simgear/Makefile (-4 / +3 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	SimGear
8
PORTNAME=	SimGear
9
PORTVERSION=	1.9.1
9
PORTVERSION=	1.9.1
10
PORTREVISION=	3
10
PORTREVISION=	4
11
CATEGORIES=	devel games
11
CATEGORIES=	devel games
12
MASTER_SITES=	ftp://ftp.de.simgear.org/pub/simgear/Source/ \
12
MASTER_SITES=	ftp://ftp.de.simgear.org/pub/simgear/Source/ \
13
		ftp://ftp.simgear.org/pub/simgear/Source/
13
		ftp://ftp.simgear.org/pub/simgear/Source/
Lines 17-25 Link Here
17
17
18
BUILD_DEPENDS=	${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib
18
BUILD_DEPENDS=	${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib
19
RUN_DEPENDS=	${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib
19
RUN_DEPENDS=	${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib
20
LIB_DEPENDS=	openal.0:${PORTSDIR}/audio/openal \
20
LIB_DEPENDS=	jpeg.10:${PORTSDIR}/graphics/jpeg \
21
		jpeg.10:${PORTSDIR}/graphics/jpeg \
22
		alut.1:${PORTSDIR}/audio/freealut \
23
		boost_thread.4:${PORTSDIR}/devel/boost-libs
21
		boost_thread.4:${PORTSDIR}/devel/boost-libs
24
22
25
.if defined(WITH_OSG_DEVEL)
23
.if defined(WITH_OSG_DEVEL)
Lines 29-34 Link Here
29
.endif
27
.endif
30
28
31
USE_XORG=	ice sm x11 xext xi xt xmu
29
USE_XORG=	ice sm x11 xext xi xt xmu
30
USE_OPENAL=	al alut
32
USE_GL=		gl glu glut
31
USE_GL=		gl glu glut
33
GNU_CONFIGURE=	yes
32
GNU_CONFIGURE=	yes
34
CPPFLAGS+=	-I${LOCALBASE}/include
33
CPPFLAGS+=	-I${LOCALBASE}/include
(-)emulators/bsnes/Makefile (-1 / +2 lines)
Lines 6-11 Link Here
6
6
7
PORTNAME=	bsnes
7
PORTNAME=	bsnes
8
PORTVERSION=	0.58
8
PORTVERSION=	0.58
9
PORTREVISION=	1
9
CATEGORIES=	emulators
10
CATEGORIES=	emulators
10
MASTER_SITES=	http://byuu.org/files/ \
11
MASTER_SITES=	http://byuu.org/files/ \
11
		ftp://ftp.arcadebsd.org/pub/ArcadeBSD/ports/distfiles/
12
		ftp://ftp.arcadebsd.org/pub/ArcadeBSD/ports/distfiles/
Lines 58-64 Link Here
58
.endif
59
.endif
59
60
60
.if defined(WITH_SOUND_OPENAL)
61
.if defined(WITH_SOUND_OPENAL)
61
LIB_DEPENDS+=	openal.0:${PORTSDIR}/audio/openal
62
USE_OPENAL=	al
62
AUDIO_DRIVER+=	audio.openal
63
AUDIO_DRIVER+=	audio.openal
63
.endif
64
.endif
64
65
(-)games/allacrost/Makefile (-2 / +2 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	allacrost
8
PORTNAME=	allacrost
9
PORTVERSION=	0.2.2
9
PORTVERSION=	0.2.2
10
PORTREVISION=	2
10
PORTREVISION=	3
11
CATEGORIES=	games
11
CATEGORIES=	games
12
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-demo/${PORTVERSION}
12
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-demo/${PORTVERSION}
13
DISTNAME=	allacrost_demo_source_${PORTVERSION}
13
DISTNAME=	allacrost_demo_source_${PORTVERSION}
Lines 18-29 Link Here
18
BUILD_DEPENDS=	${LOCALBASE}/lib/libluabind.a:${PORTSDIR}/devel/luabind
18
BUILD_DEPENDS=	${LOCALBASE}/lib/libluabind.a:${PORTSDIR}/devel/luabind
19
LIB_DEPENDS=	jpeg.10:${PORTSDIR}/graphics/jpeg \
19
LIB_DEPENDS=	jpeg.10:${PORTSDIR}/graphics/jpeg \
20
		png.5:${PORTSDIR}/graphics/png \
20
		png.5:${PORTSDIR}/graphics/png \
21
		openal.0:${PORTSDIR}/audio/openal \
22
		ogg.6:${PORTSDIR}/audio/libogg \
21
		ogg.6:${PORTSDIR}/audio/libogg \
23
		vorbis.4:${PORTSDIR}/audio/libvorbis
22
		vorbis.4:${PORTSDIR}/audio/libvorbis
24
23
25
GNU_CONFIGURE=	yes
24
GNU_CONFIGURE=	yes
26
USE_GMAKE=	yes
25
USE_GMAKE=	yes
26
USE_OPENAL=	al
27
USE_LUA=	5.0
27
USE_LUA=	5.0
28
USE_SDL=	sdl ttf net
28
USE_SDL=	sdl ttf net
29
USE_GL=		yes
29
USE_GL=		yes
(-)games/apricots/Makefile (-3 / +2 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	apricots
8
PORTNAME=	apricots
9
PORTVERSION=	0.2.6
9
PORTVERSION=	0.2.6
10
PORTREVISION=	1
10
PORTREVISION=	2
11
CATEGORIES=	games
11
CATEGORIES=	games
12
MASTER_SITES=	http://www.fishies.org.uk/ \
12
MASTER_SITES=	http://www.fishies.org.uk/ \
13
		http://mirror.amdmi3.ru/distfiles/
13
		http://mirror.amdmi3.ru/distfiles/
Lines 37-44 Link Here
37
.include <bsd.port.pre.mk>
37
.include <bsd.port.pre.mk>
38
38
39
.if !defined(WITHOUT_OPENAL)
39
.if !defined(WITHOUT_OPENAL)
40
LIB_DEPENDS+=	openal.0:${PORTSDIR}/audio/openal \
40
USE_OPENAL=	al alut
41
		alut.1:${PORTSDIR}/audio/freealut
42
.endif
41
.endif
43
42
44
post-patch:
43
post-patch:
(-)games/assaultcube/Makefile (-3 / +2 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	assaultcube
8
PORTNAME=	assaultcube
9
PORTVERSION=	1.0.2
9
PORTVERSION=	1.0.2
10
PORTREVISION=	1
10
PORTREVISION=	2
11
CATEGORIES=	games
11
CATEGORIES=	games
12
MASTER_SITES=	SF/actiongame/AssaultCube/1.0
12
MASTER_SITES=	SF/actiongame/AssaultCube/1.0
13
DISTNAME=	AssaultCube_v${PORTVERSION}
13
DISTNAME=	AssaultCube_v${PORTVERSION}
Lines 15-23 Link Here
15
MAINTAINER=	ports@FreeBSD.org
15
MAINTAINER=	ports@FreeBSD.org
16
COMMENT=	Total conversion of the FPS game called Cube
16
COMMENT=	Total conversion of the FPS game called Cube
17
17
18
LIB_DEPENDS=	openal.0:${PORTSDIR}/audio/openal
19
20
USE_BZIP2=	yes
18
USE_BZIP2=	yes
19
USE_OPENAL=	al
21
USE_GMAKE=	yes
20
USE_GMAKE=	yes
22
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
23
ALL_TARGET=	libenet
22
ALL_TARGET=	libenet
(-)games/atr3d/Makefile (-2 / +2 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	atr3d
8
PORTNAME=	atr3d
9
PORTVERSION=	0.6
9
PORTVERSION=	0.6
10
PORTREVISION=	11
10
PORTREVISION=	12
11
CATEGORIES=	games
11
CATEGORIES=	games
12
MASTER_SITES=	ftp://ftp.avoidtheroid.com/pub/${PORTNAME}/
12
MASTER_SITES=	ftp://ftp.avoidtheroid.com/pub/${PORTNAME}/
13
DISTNAME=	${PORTNAME}_source_${PORTVERSION}
13
DISTNAME=	${PORTNAME}_source_${PORTVERSION}
Lines 39-45 Link Here
39
.include <bsd.port.pre.mk>
39
.include <bsd.port.pre.mk>
40
40
41
.if !defined(WITHOUT_SOUND)
41
.if !defined(WITHOUT_SOUND)
42
LIB_DEPENDS+=	alut.1:${PORTSDIR}/audio/freealut
42
USE_OPENAL=		alut
43
CONFIGURE_ARGS+=	--enable-sound
43
CONFIGURE_ARGS+=	--enable-sound
44
.else
44
.else
45
CONFIGURE_ARGS+=	--disable-sound
45
CONFIGURE_ARGS+=	--disable-sound
(-)games/battletanks/Makefile (-2 / +2 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	btanks
8
PORTNAME=	btanks
9
PORTVERSION=	0.7.5800
9
PORTVERSION=	0.7.5800
10
PORTREVISION=	1
10
PORTREVISION=	2
11
CATEGORIES=	games
11
CATEGORIES=	games
12
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-source/${PORTNAME}-source-${PORTVERSION}
12
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-source/${PORTNAME}-source-${PORTVERSION}
13
13
Lines 15-26 Link Here
15
COMMENT=	Fast 2D tank arcade game with multiplayer and split-screen modes
15
COMMENT=	Fast 2D tank arcade game with multiplayer and split-screen modes
16
16
17
LIB_DEPENDS=	sigc-2.0.0:${PORTSDIR}/devel/libsigc++20 \
17
LIB_DEPENDS=	sigc-2.0.0:${PORTSDIR}/devel/libsigc++20 \
18
		openal.0:${PORTSDIR}/audio/openal \
19
		expat.6:${PORTSDIR}/textproc/expat2 \
18
		expat.6:${PORTSDIR}/textproc/expat2 \
20
		vorbisfile.6:${PORTSDIR}/audio/libvorbis
19
		vorbisfile.6:${PORTSDIR}/audio/libvorbis
21
20
22
USE_BZIP2=	yes
21
USE_BZIP2=	yes
23
USE_LDCONFIG=	yes
22
USE_LDCONFIG=	yes
23
USE_OPENAL=	al
24
USE_SCONS=	yes
24
USE_SCONS=	yes
25
USE_SDL=	image sdl
25
USE_SDL=	image sdl
26
SCONS_BUILDENV=	${SCONS_ENV} LDFLAGS=${PTHREAD_LIBS}
26
SCONS_BUILDENV=	${SCONS_ENV} LDFLAGS=${PTHREAD_LIBS}
(-)games/blackshadeselite/Makefile (-4 / +3 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	blackshadeselite
8
PORTNAME=	blackshadeselite
9
PORTVERSION=	0.0.1
9
PORTVERSION=	0.0.1
10
PORTREVISION=	2
10
PORTREVISION=	3
11
CATEGORIES=	games
11
CATEGORIES=	games
12
MASTER_SITES=	http://download.gna.org/blackshadeselite/ \
12
MASTER_SITES=	http://download.gna.org/blackshadeselite/ \
13
		http://mirror.amdmi3.ru/distfiles/
13
		http://mirror.amdmi3.ru/distfiles/
Lines 15-28 Link Here
15
MAINTAINER=	amdmi3@FreeBSD.org
15
MAINTAINER=	amdmi3@FreeBSD.org
16
COMMENT=	Psychic Bodyguard FPS - protect the VIP
16
COMMENT=	Psychic Bodyguard FPS - protect the VIP
17
17
18
LIB_DEPENDS=	vorbis.4:${PORTSDIR}/audio/libvorbis \
18
LIB_DEPENDS=	vorbis.4:${PORTSDIR}/audio/libvorbis
19
		openal.0:${PORTSDIR}/audio/openal \
20
		alut.1:${PORTSDIR}/audio/freealut
21
19
22
USE_BZIP2=	yes
20
USE_BZIP2=	yes
23
USE_GMAKE=	yes
21
USE_GMAKE=	yes
24
USE_SDL=	sdl
22
USE_SDL=	sdl
25
USE_GL=		yes
23
USE_GL=		yes
24
USE_OPENAL=	al alut
26
25
27
MAKE_ARGS=	CC=${CC} CXX=${CXX}
26
MAKE_ARGS=	CC=${CC} CXX=${CXX}
28
27
(-)games/chromium-bsu/Makefile (-3 / +2 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	chromium-bsu
8
PORTNAME=	chromium-bsu
9
PORTVERSION=	0.9.14
9
PORTVERSION=	0.9.14
10
PORTREVISION=	1
10
PORTREVISION=	2
11
CATEGORIES=	games
11
CATEGORIES=	games
12
MASTER_SITES=	SF/${PORTNAME}/Chromium%20B.S.U.%20source%20code/${PORTVERSION}
12
MASTER_SITES=	SF/${PORTNAME}/Chromium%20B.S.U.%20source%20code/${PORTVERSION}
13
13
Lines 46-53 Link Here
46
USE_SDL+=	mixer
46
USE_SDL+=	mixer
47
CONFIGURE_ARGS+=--disable-openal
47
CONFIGURE_ARGS+=--disable-openal
48
.else
48
.else
49
LIB_DEPENDS+=	openal.0:${PORTSDIR}/audio/openal \
49
USE_OPENAL=	al alut
50
		alut.1:${PORTSDIR}/audio/freealut
51
CONFIGURE_ARGS+=--disable-sdlmixer
50
CONFIGURE_ARGS+=--disable-sdlmixer
52
.endif
51
.endif
53
52
(-)games/deng/Makefile (-3 / +3 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	deng
8
PORTNAME=	deng
9
PORTVERSION=	1.9.0b4
9
PORTVERSION=	1.9.0b4
10
PORTREVISION=	3
10
PORTREVISION=	4
11
CATEGORIES=	games
11
CATEGORIES=	games
12
MASTER_SITES=	SF/${PORTNAME}/Doomsday%20Engine/1.9.0-beta4
12
MASTER_SITES=	SF/${PORTNAME}/Doomsday%20Engine/1.9.0-beta4
13
DISTNAME=	${PORTNAME}-${PORTVERSION:S/b/-beta/}
13
DISTNAME=	${PORTNAME}-${PORTVERSION:S/b/-beta/}
Lines 37-44 Link Here
37
.include <bsd.port.pre.mk>
37
.include <bsd.port.pre.mk>
38
.include "${PORTSDIR}/games/doom-data/Makefile.include"
38
.include "${PORTSDIR}/games/doom-data/Makefile.include"
39
39
40
.if defined(WITH_OPENAL) || exists(${LOCALBASE}/lib/libopenal.so.0)
40
.if defined(WITH_OPENAL) || exists(${LOCALBASE}/lib/libopenal.so)
41
LIB_DEPENDS+=	openal.0:${PORTSDIR}/audio/openal
41
USE_OPENAL=	al
42
PLIST_SUB=	OPENAL=""
42
PLIST_SUB=	OPENAL=""
43
.else
43
.else
44
PLIST_SUB=	OPENAL="@comment "
44
PLIST_SUB=	OPENAL="@comment "
(-)games/el/Makefile (-4 / +3 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	el
8
PORTNAME=	el
9
PORTVERSION=	180
9
PORTVERSION=	180
10
PORTREVISION=	1
10
PORTREVISION=	2
11
CATEGORIES=	games
11
CATEGORIES=	games
12
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE} \
12
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE} \
13
		${MASTER_SITE_LOCAL:S,$,acm/${PORTNAME}/,}
13
		${MASTER_SITE_LOCAL:S,$,acm/${PORTNAME}/,}
Lines 17-31 Link Here
17
COMMENT=	Eternal Lands is a free 3D MMORPG
17
COMMENT=	Eternal Lands is a free 3D MMORPG
18
18
19
LIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png \
19
LIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png \
20
		openal.0:${PORTSDIR}/audio/openal \
21
		vorbis.4:${PORTSDIR}/audio/libvorbis \
20
		vorbis.4:${PORTSDIR}/audio/libvorbis \
22
		cal3d.12:${PORTSDIR}/graphics/cal3d \
21
		cal3d.12:${PORTSDIR}/graphics/cal3d
23
		alut.1:${PORTSDIR}/audio/freealut
24
RUN_DEPENDS=	${LOCALBASE}/share/${PORTNAME}/el.ini:${PORTSDIR}/games/el-data
22
RUN_DEPENDS=	${LOCALBASE}/share/${PORTNAME}/el.ini:${PORTSDIR}/games/el-data
25
23
26
PROJECTHOST=	bsdistfiles
24
PROJECTHOST=	bsdistfiles
27
USE_BZIP2=	yes
25
USE_BZIP2=	yes
28
USE_GMAKE=	yes
26
USE_GMAKE=	yes
27
USE_OPENAL=	al alut
29
USE_GNOME=	libxml2
28
USE_GNOME=	libxml2
30
USE_SDL=	sdl net image
29
USE_SDL=	sdl net image
31
USE_GL=		yes
30
USE_GL=		yes
(-)games/ember/Makefile (-2 / +2 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	ember
8
PORTNAME=	ember
9
PORTVERSION=	0.5.7
9
PORTVERSION=	0.5.7
10
PORTREVISION=	1
10
CATEGORIES=	games
11
CATEGORIES=	games
11
MASTER_SITES=	SF/worldforge/Ember%20%28OGRE%20client%29/${PORTVERSION} \
12
MASTER_SITES=	SF/worldforge/Ember%20%28OGRE%20client%29/${PORTVERSION} \
12
		http://amber.worldforge.org/ember/releases/stable/
13
		http://amber.worldforge.org/ember/releases/stable/
Lines 23-30 Link Here
23
		eris-1.3:${PORTSDIR}/devel/eris \
24
		eris-1.3:${PORTSDIR}/devel/eris \
24
		varconf-1.0.6:${PORTSDIR}/devel/varconf \
25
		varconf-1.0.6:${PORTSDIR}/devel/varconf \
25
		mercator-0.2.6:${PORTSDIR}/devel/mercator \
26
		mercator-0.2.6:${PORTSDIR}/devel/mercator \
26
		openal.0:${PORTSDIR}/audio/openal \
27
		alut.1:${PORTSDIR}/audio/freealut \
28
		wfut-0.2:${PORTSDIR}/devel/libwfut \
27
		wfut-0.2:${PORTSDIR}/devel/libwfut \
29
		boost_thread.4:${PORTSDIR}/devel/boost-libs
28
		boost_thread.4:${PORTSDIR}/devel/boost-libs
30
29
Lines 35-40 Link Here
35
GNU_CONFIGURE=	YES
34
GNU_CONFIGURE=	YES
36
USE_LDCONFIG=	YES
35
USE_LDCONFIG=	YES
37
USE_LUA=	5.1
36
USE_LUA=	5.1
37
USE_OPENAL=	al alut
38
USE_GNOME=	gnomehack
38
USE_GNOME=	gnomehack
39
USE_BZIP2=	YES
39
USE_BZIP2=	YES
40
CPPFLAGS=	-DBR_NO_MACROS
40
CPPFLAGS=	-DBR_NO_MACROS
(-)games/evq3/Makefile (-2 / +2 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	evq3
8
PORTNAME=	evq3
9
PORTVERSION=	1.3.20080810
9
PORTVERSION=	1.3.20080810
10
PORTREVISION=	2
10
PORTREVISION=	3
11
CATEGORIES=	games
11
CATEGORIES=	games
12
MASTER_SITES=	${MASTER_SITE_LOCAL:S|$|alepulver/|}
12
MASTER_SITES=	${MASTER_SITE_LOCAL:S|$|alepulver/|}
13
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
13
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
Lines 76-82 Link Here
76
.   endif
76
.   endif
77
# OpenAL
77
# OpenAL
78
.   if defined(WITH_OPENAL)
78
.   if defined(WITH_OPENAL)
79
LIB_DEPENDS+=	openal.0:${PORTSDIR}/audio/openal
79
USE_OPENAL=	al
80
MAKE_ENV+=	USE_OPENAL=1
80
MAKE_ENV+=	USE_OPENAL=1
81
.       if defined(WITH_OPENAL_DLOPEN)
81
.       if defined(WITH_OPENAL_DLOPEN)
82
MAKE_ENV+=	USE_OPENAL_DLOPEN=1
82
MAKE_ENV+=	USE_OPENAL_DLOPEN=1
(-)games/evq3/files/patch-code_client_snd_openal.c (+11 lines)
Added Link Here
1
--- code/client/snd_openal.c.orig	2009-12-26 18:05:56.000000000 +0100
2
+++ code/client/snd_openal.c	2009-12-26 18:06:06.000000000 +0100
3
@@ -1707,7 +1707,7 @@
4
 #elif defined(MACOS_X)
5
 #define ALDRIVER_DEFAULT "/System/Library/Frameworks/OpenAL.framework/OpenAL"
6
 #else
7
-#define ALDRIVER_DEFAULT "libopenal.so.0"
8
+#define ALDRIVER_DEFAULT "libopenal.so"
9
 #endif
10
 
11
 /*
(-)games/excido/Makefile (-4 / +3 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	excido
8
PORTNAME=	excido
9
PORTVERSION=	0.1.5c
9
PORTVERSION=	0.1.5c
10
PORTREVISION=	6
10
PORTREVISION=	7
11
CATEGORIES=	games
11
CATEGORIES=	games
12
MASTER_SITES=	http://offload1.icculus.org/excido/
12
MASTER_SITES=	http://offload1.icculus.org/excido/
13
DISTNAME=	${PORTNAME}-${PORTVERSION}-src
13
DISTNAME=	${PORTNAME}-${PORTVERSION}-src
Lines 15-29 Link Here
15
MAINTAINER=	alepulver@FreeBSD.org
15
MAINTAINER=	alepulver@FreeBSD.org
16
COMMENT=	A portable fast-paced 3d shooter
16
COMMENT=	A portable fast-paced 3d shooter
17
17
18
LIB_DEPENDS=	openal.0:${PORTSDIR}/audio/openal \
18
LIB_DEPENDS=	physfs.1:${PORTSDIR}/devel/physfs
19
		physfs.1:${PORTSDIR}/devel/physfs \
20
		alut.1:${PORTSDIR}/audio/freealut
21
19
22
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
20
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
23
21
24
USE_BZIP2=	yes
22
USE_BZIP2=	yes
25
USE_GMAKE=	yes
23
USE_GMAKE=	yes
26
USE_GL=		yes
24
USE_GL=		yes
25
USE_OPENAL=	al alut
27
USE_SDL=	image sdl ttf
26
USE_SDL=	image sdl ttf
28
27
29
post-install:
28
post-install:
(-)games/flightgear/Makefile (-3 / +3 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	FlightGear
8
PORTNAME=	FlightGear
9
PORTVERSION=	1.9.1
9
PORTVERSION=	1.9.1
10
PORTREVISION=	3
10
PORTREVISION=	4
11
CATEGORIES=	games
11
CATEGORIES=	games
12
# see http://www.flightgear.org/templates.js
12
# see http://www.flightgear.org/templates.js
13
MASTER_SITES=	ftp://ftp.de.flightgear.org/pub/fgfs/Source/ \
13
MASTER_SITES=	ftp://ftp.de.flightgear.org/pub/fgfs/Source/ \
Lines 22-29 Link Here
22
MAINTAINER=	ganael.laplanche@martymac.com
22
MAINTAINER=	ganael.laplanche@martymac.com
23
COMMENT=	The FlightGear flight simulator
23
COMMENT=	The FlightGear flight simulator
24
24
25
LIB_DEPENDS=	openal.0:${PORTSDIR}/audio/openal \
25
LIB_DEPENDS=	boost_thread.4:${PORTSDIR}/devel/boost-libs
26
		boost_thread.4:${PORTSDIR}/devel/boost-libs
27
BUILD_DEPENDS=	${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib \
26
BUILD_DEPENDS=	${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib \
28
		${LOCALBASE}/lib/libsgmisc.a:${PORTSDIR}/devel/simgear
27
		${LOCALBASE}/lib/libsgmisc.a:${PORTSDIR}/devel/simgear
29
RUN_DEPENDS=	${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib \
28
RUN_DEPENDS=	${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib \
Lines 38-43 Link Here
38
37
39
USE_XORG=	ice sm x11 xext xi xt xmu
38
USE_XORG=	ice sm x11 xext xi xt xmu
40
USE_GL=		gl glu glut
39
USE_GL=		gl glu glut
40
USE_OPENAL=	al
41
USE_GMAKE=	yes
41
USE_GMAKE=	yes
42
GNU_CONFIGURE=	yes
42
GNU_CONFIGURE=	yes
43
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
43
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
(-)games/freeorion/Makefile (-2 / +2 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	freeorion
8
PORTNAME=	freeorion
9
PORTVERSION=	0.3.12.3007
9
PORTVERSION=	0.3.12.3007
10
PORTREVISION=	1
10
PORTREVISION=	2
11
CATEGORIES=	games
11
CATEGORIES=	games
12
MASTER_SITES=	${MASTER_SITE_LOCAL}
12
MASTER_SITES=	${MASTER_SITE_LOCAL}
13
MASTER_SITE_SUBDIR=	oliver
13
MASTER_SITE_SUBDIR=	oliver
Lines 16-22 Link Here
16
COMMENT=	Open-source, platform independent galactic conquest game
16
COMMENT=	Open-source, platform independent galactic conquest game
17
17
18
LIB_DEPENDS=	GiGi.0:${PORTSDIR}/x11-toolkits/gigi \
18
LIB_DEPENDS=	GiGi.0:${PORTSDIR}/x11-toolkits/gigi \
19
		alut.1:${PORTSDIR}/audio/freealut \
20
		graph:${PORTSDIR}/graphics/graphviz \
19
		graph:${PORTSDIR}/graphics/graphviz \
21
		log4cpp.4:${PORTSDIR}/devel/log4cpp \
20
		log4cpp.4:${PORTSDIR}/devel/log4cpp \
22
		vorbisfile.6:${PORTSDIR}/audio/libvorbis
21
		vorbisfile.6:${PORTSDIR}/audio/libvorbis
Lines 29-34 Link Here
29
USE_SCONS=	yes
28
USE_SCONS=	yes
30
SCONS_ARGS=	with_builtin_sdlnet=0
29
SCONS_ARGS=	with_builtin_sdlnet=0
31
SCONS_BUILDENV=	PYTHON_LIB=${PYTHON_VERSION}
30
SCONS_BUILDENV=	PYTHON_LIB=${PYTHON_VERSION}
31
USE_OPENAL=	alut
32
USE_SDL=	sdl net
32
USE_SDL=	sdl net
33
WRKSRC=		${WRKDIR}/${PORTNAME}/FreeOrion
33
WRKSRC=		${WRKDIR}/${PORTNAME}/FreeOrion
34
34
(-)games/gemrb/Makefile (-3 / +3 lines)
Lines 7-21 Link Here
7
7
8
PORTNAME=	gemrb
8
PORTNAME=	gemrb
9
PORTVERSION=	0.5.0
9
PORTVERSION=	0.5.0
10
PORTREVISION=	1
10
CATEGORIES=	games emulators
11
CATEGORIES=	games emulators
11
MASTER_SITES=	SF/${PORTNAME}/GemRB%20Sources/GemRB%20${PORTVERSION}%20Sources
12
MASTER_SITES=	SF/${PORTNAME}/GemRB%20Sources/GemRB%20${PORTVERSION}%20Sources
12
13
13
MAINTAINER=	beyert@cs.ucr.edu
14
MAINTAINER=	beyert@cs.ucr.edu
14
COMMENT=	GemRB (Game engine made with preRendered Background)
15
COMMENT=	GemRB (Game engine made with preRendered Background)
15
16
16
LIB_DEPENDS=	openal.0:${PORTSDIR}/audio/openal \
17
LIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png
17
		alut.1:${PORTSDIR}/audio/freealut \
18
		png.5:${PORTSDIR}/graphics/png
19
18
20
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
21
CONFIGURE_ENV=	LDFLAGS="-L${LOCALBASE}/lib"
20
CONFIGURE_ENV=	LDFLAGS="-L${LOCALBASE}/lib"
Lines 24-29 Link Here
24
23
25
USE_GMAKE=	yes
24
USE_GMAKE=	yes
26
USE_SDL=	sdl
25
USE_SDL=	sdl
26
USE_OPENAL=	al alut
27
USE_LDCONFIG=	yes
27
USE_LDCONFIG=	yes
28
USE_PYTHON=	2.4+
28
USE_PYTHON=	2.4+
29
29
(-)games/glest/Makefile (-4 / +3 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	glest
8
PORTNAME=	glest
9
PORTVERSION=	3.2.2
9
PORTVERSION=	3.2.2
10
PORTREVISION=	1
10
PORTREVISION=	2
11
CATEGORIES=	games
11
CATEGORIES=	games
12
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}%20source/${PORTVERSION}
12
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}%20source/${PORTVERSION}
13
DISTNAME=	${PORTNAME}_source_${PORTVERSION}
13
DISTNAME=	${PORTNAME}_source_${PORTVERSION}
Lines 17-30 Link Here
17
COMMENT=	Free 3d real-time customizable strategy game
17
COMMENT=	Free 3d real-time customizable strategy game
18
18
19
LIB_DEPENDS=	xerces-c.27:${PORTSDIR}/textproc/xerces-c2 \
19
LIB_DEPENDS=	xerces-c.27:${PORTSDIR}/textproc/xerces-c2 \
20
		vorbis.4:${PORTSDIR}/audio/libvorbis \
20
		vorbis.4:${PORTSDIR}/audio/libvorbis
21
		openal.0:${PORTSDIR}/audio/openal \
22
		alut.1:${PORTSDIR}/audio/freealut
23
BUILD_DEPENDS=	jam:${PORTSDIR}/devel/jam
21
BUILD_DEPENDS=	jam:${PORTSDIR}/devel/jam
24
RUN_DEPENDS=	${DATADIR}/servers.ini:${PORTSDIR}/games/glest-data
22
RUN_DEPENDS=	${DATADIR}/servers.ini:${PORTSDIR}/games/glest-data
25
23
26
USE_AUTOTOOLS=	automake:15:env autoconf:262:env
24
USE_AUTOTOOLS=	automake:15:env autoconf:262:env
27
USE_ZIP=	yes
25
USE_ZIP=	yes
26
USE_OPENAL=	al alut
28
USE_DOS2UNIX=	yes
27
USE_DOS2UNIX=	yes
29
USE_LUA=	5.1
28
USE_LUA=	5.1
30
USE_SDL=	yes
29
USE_SDL=	yes
(-)games/ioquake3/Makefile (-1 / +2 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME?=	ioquake3
8
PORTNAME?=	ioquake3
9
DISTVERSION?=	1.36
9
DISTVERSION?=	1.36
10
PORTREVISION=	1
10
CATEGORIES=	games
11
CATEGORIES=	games
11
MASTER_SITES?=	http://ioquake3.org/files/${DISTVERSION}/
12
MASTER_SITES?=	http://ioquake3.org/files/${DISTVERSION}/
12
13
Lines 54-60 Link Here
54
55
55
.if defined(WITH_CLIENT) || defined(WITH_SMP)
56
.if defined(WITH_CLIENT) || defined(WITH_SMP)
56
# OpenAL
57
# OpenAL
57
LIB_DEPENDS+=	openal.0:${PORTSDIR}/audio/openal
58
USE_OPENAL=	al
58
# SDL
59
# SDL
59
USE_SDL=	sdl
60
USE_SDL=	sdl
60
# Vorbis
61
# Vorbis
(-)games/ioquake3/files/patch-code-client-snd_openal.c (+11 lines)
Added Link Here
1
--- code/client/snd_openal.c.orig	2009-12-26 18:10:44.000000000 +0100
2
+++ code/client/snd_openal.c	2009-12-26 18:11:00.000000000 +0100
3
@@ -1719,7 +1719,7 @@
4
 #elif defined(MACOS_X)
5
 #define ALDRIVER_DEFAULT "/System/Library/Frameworks/OpenAL.framework/OpenAL"
6
 #else
7
-#define ALDRIVER_DEFAULT "libopenal.so.0"
8
+#define ALDRIVER_DEFAULT "libopenal.so"
9
 #endif
10
 
11
 /*
(-)games/iourbanterror/Makefile (-2 / +2 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	iourbanterror
8
PORTNAME=	iourbanterror
9
DISTVERSION=	2007_12_20
9
DISTVERSION=	2007_12_20
10
PORTREVISION=	5
10
PORTREVISION=	6
11
CATEGORIES=	games
11
CATEGORIES=	games
12
MASTER_SITES=	http://ftp.snt.utwente.nl/pub/games/urbanterror/iourbanterror/source/complete/
12
MASTER_SITES=	http://ftp.snt.utwente.nl/pub/games/urbanterror/iourbanterror/source/complete/
13
DISTNAME=	ioUrbanTerrorSource_${DISTVERSION}
13
DISTNAME=	ioUrbanTerrorSource_${DISTVERSION}
Lines 78-84 Link Here
78
.   endif
78
.   endif
79
# OpenAL
79
# OpenAL
80
.   if defined(WITH_OPENAL)
80
.   if defined(WITH_OPENAL)
81
LIB_DEPENDS+=	openal.0:${PORTSDIR}/audio/openal
81
USE_OPENAL=	al
82
MAKE_ENV+=	USE_OPENAL=1
82
MAKE_ENV+=	USE_OPENAL=1
83
.       if defined(WITH_OPENAL_DLOPEN)
83
.       if defined(WITH_OPENAL_DLOPEN)
84
MAKE_ENV+=	USE_OPENAL_DLOPEN=1
84
MAKE_ENV+=	USE_OPENAL_DLOPEN=1
(-)games/iourbanterror/files/patch-code_client_snd_openal.c (+11 lines)
Added Link Here
1
--- code/client/snd_openal.c.orig	2009-12-26 18:12:52.000000000 +0100
2
+++ code/client/snd_openal.c	2009-12-26 18:13:00.000000000 +0100
3
@@ -1676,7 +1676,7 @@
4
 #elif defined(MACOS_X)
5
 #define ALDRIVER_DEFAULT "/System/Library/Frameworks/OpenAL.framework/OpenAL"
6
 #else
7
-#define ALDRIVER_DEFAULT "libopenal.so.0"
8
+#define ALDRIVER_DEFAULT "libopenal.so"
9
 #endif
10
 
11
 /*
(-)games/kmquake2/Makefile (-2 / +2 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	kmquake2
8
PORTNAME=	kmquake2
9
PORTVERSION=	0.19
9
PORTVERSION=	0.19
10
PORTREVISION=	9
10
PORTREVISION=	10
11
CATEGORIES=	games
11
CATEGORIES=	games
12
MASTER_SITES=	http://qudos.quakedev.com/linux/quake2/engines/KMQuake2/:src \
12
MASTER_SITES=	http://qudos.quakedev.com/linux/quake2/engines/KMQuake2/:src \
13
		http://qexpo2005.quakedev.com/uploaded/54/:data \
13
		http://qexpo2005.quakedev.com/uploaded/54/:data \
Lines 88-96 Link Here
88
88
89
.if !defined(WITHOUT_CLIENT) || !defined(WITHOUT_SDL)
89
.if !defined(WITHOUT_CLIENT) || !defined(WITHOUT_SDL)
90
LIB_DEPENDS+=	jpeg.10:${PORTSDIR}/graphics/jpeg \
90
LIB_DEPENDS+=	jpeg.10:${PORTSDIR}/graphics/jpeg \
91
		openal.0:${PORTSDIR}/audio/openal \
92
		png.5:${PORTSDIR}/graphics/png \
91
		png.5:${PORTSDIR}/graphics/png \
93
		vorbis.4:${PORTSDIR}/audio/libvorbis
92
		vorbis.4:${PORTSDIR}/audio/libvorbis
93
USE_OPENAL=	al
94
USE_GL=		yes
94
USE_GL=		yes
95
.endif
95
.endif
96
96
(-)games/linwarrior/Makefile (-3 / +2 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	linwarrior
8
PORTNAME=	linwarrior
9
PORTVERSION=	20091108
9
PORTVERSION=	20091108
10
PORTREVISION=	1
10
CATEGORIES=	games
11
CATEGORIES=	games
11
MASTER_SITES=	http://www.hackcraft.de/games/linwarrior_3d/downloads/ \
12
MASTER_SITES=	http://www.hackcraft.de/games/linwarrior_3d/downloads/ \
12
		http://mirror.amdmi3.ru/distfiles/
13
		http://mirror.amdmi3.ru/distfiles/
Lines 15-24 Link Here
15
MAINTAINER=	amdmi3@FreeBSD.org
16
MAINTAINER=	amdmi3@FreeBSD.org
16
COMMENT=	Navigate a mech through a 3D world and fire at enemies
17
COMMENT=	Navigate a mech through a 3D world and fire at enemies
17
18
18
LIB_DEPENDS=	openal.0:${PORTSDIR}/audio/openal \
19
		alut.1:${PORTSDIR}/audio/freealut
20
21
USE_GMAKE=	yes
19
USE_GMAKE=	yes
20
USE_OPENAL=	al alut
22
USE_GL=		gl glu
21
USE_GL=		gl glu
23
USE_SDL=	sdl
22
USE_SDL=	sdl
24
MAKE_JOBS_SAFE=	yes
23
MAKE_JOBS_SAFE=	yes
(-)games/openarena/Makefile (-2 / +2 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	openarena
8
PORTNAME=	openarena
9
PORTVERSION=	0.7.1
9
PORTVERSION=	0.7.1
10
PORTREVISION=	4
10
PORTREVISION=	5
11
CATEGORIES=	games
11
CATEGORIES=	games
12
MASTER_SITES=	http://openarena.ws/rel/070/:src \
12
MASTER_SITES=	http://openarena.ws/rel/070/:src \
13
		http://download.tuxfamily.net/cooker/openarena/rel070/:data \
13
		http://download.tuxfamily.net/cooker/openarena/rel070/:data \
Lines 66-72 Link Here
66
.if !defined(WITHOUT_CLIENT) || !defined(WITHOUT_SMP)
66
.if !defined(WITHOUT_CLIENT) || !defined(WITHOUT_SMP)
67
# OpenAL
67
# OpenAL
68
.   if defined(WITH_OPENAL)
68
.   if defined(WITH_OPENAL)
69
LIB_DEPENDS+=	openal.0:${PORTSDIR}/audio/openal
69
USE_OPENAL=	al
70
MAKE_ENV+=	USE_OPENAL=1
70
MAKE_ENV+=	USE_OPENAL=1
71
.       if defined(WITH_OPENAL_DLOPEN)
71
.       if defined(WITH_OPENAL_DLOPEN)
72
MAKE_ENV+=	USE_OPENAL_DLOPEN=1
72
MAKE_ENV+=	USE_OPENAL_DLOPEN=1
(-)games/openarena/files/patch-code_client_snd_openal.c (+11 lines)
Added Link Here
1
--- code/client/snd_openal.c.orig	2009-12-26 18:20:08.000000000 +0100
2
+++ code/client/snd_openal.c	2009-12-26 18:20:27.000000000 +0100
3
@@ -1676,7 +1676,7 @@
4
 #elif defined(MACOS_X)
5
 #define ALDRIVER_DEFAULT "/System/Library/Frameworks/OpenAL.framework/OpenAL"
6
 #else
7
-#define ALDRIVER_DEFAULT "libopenal.so.0"
8
+#define ALDRIVER_DEFAULT "libopenal.so"
9
 #endif
10
 
11
 /*
(-)games/openastromenace/Makefile (-4 / +3 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	openastromenace
8
PORTNAME=	openastromenace
9
PORTVERSION=	1.2.0
9
PORTVERSION=	1.2.0
10
PORTREVISION=	6
10
PORTREVISION=	7
11
CATEGORIES=	games
11
CATEGORIES=	games
12
MASTER_SITES=	SF
12
MASTER_SITES=	SF
13
DISTFILES=	openamenace-src-${PORTVERSION}${EXTRACT_SUFX} \
13
DISTFILES=	openamenace-src-${PORTVERSION}${EXTRACT_SUFX} \
Lines 18-29 Link Here
18
COMMENT=	Hardcore 3D space shooter with spaceship upgrade possibilities
18
COMMENT=	Hardcore 3D space shooter with spaceship upgrade possibilities
19
19
20
LIB_DEPENDS+=	vorbisfile:${PORTSDIR}/audio/libvorbis \
20
LIB_DEPENDS+=	vorbisfile:${PORTSDIR}/audio/libvorbis \
21
		jpeg:${PORTSDIR}/graphics/jpeg	\
21
		jpeg:${PORTSDIR}/graphics/jpeg
22
		openal:${PORTSDIR}/audio/openal	\
23
		alut:${PORTSDIR}/audio/freealut
24
22
25
USE_BZIP2=	yes
23
USE_BZIP2=	yes
26
USE_GL=		gl glu
24
USE_GL=		gl glu
25
USE_OPENAL=	al alut
27
WANT_SDL=	yes
26
WANT_SDL=	yes
28
USE_SDL=	sdl
27
USE_SDL=	sdl
29
USE_CMAKE=	yes
28
USE_CMAKE=	yes
(-)games/rigsofrods/Makefile (-2 / +3 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	rigsofrods
8
PORTNAME=	rigsofrods
9
PORTVERSION=	0.36.2
9
PORTVERSION=	0.36.2
10
PORTREVISION=	1
10
CATEGORIES=	games
11
CATEGORIES=	games
11
MASTER_SITES=	SF
12
MASTER_SITES=	SF
12
DISTFILES=	${PORTNAME}-source-${PORTVERSION}${EXTRACT_SUFX} \
13
DISTFILES=	${PORTNAME}-source-${PORTVERSION}${EXTRACT_SUFX} \
Lines 16-23 Link Here
16
MAINTAINER=	amdmi3@FreeBSD.org
17
MAINTAINER=	amdmi3@FreeBSD.org
17
COMMENT=	Truck, car, airplane and boat simulator with advanced physics
18
COMMENT=	Truck, car, airplane and boat simulator with advanced physics
18
19
19
LIB_DEPENDS=	openal.0:${PORTSDIR}/audio/openal \
20
LIB_DEPENDS=	zzip.13:${PORTSDIR}/devel/zziplib \
20
		zzip.13:${PORTSDIR}/devel/zziplib \
21
		freetype.9:${PORTSDIR}/print/freetype2 \
21
		freetype.9:${PORTSDIR}/print/freetype2 \
22
		CEGUIBase.3:${PORTSDIR}/graphics/cegui \
22
		CEGUIBase.3:${PORTSDIR}/graphics/cegui \
23
		freeimage.3:${PORTSDIR}/graphics/freeimage
23
		freeimage.3:${PORTSDIR}/graphics/freeimage
Lines 29-34 Link Here
29
BROKEN=		does not build
29
BROKEN=		does not build
30
30
31
USE_ZIP=	yes
31
USE_ZIP=	yes
32
USE_OPENAL=	al
32
USE_XORG=	x11 xt xaw sm ice xext
33
USE_XORG=	x11 xt xaw sm ice xext
33
WRKSRC=		${WRKDIR}/${PORTNAME}-source-${PORTVERSION}/build
34
WRKSRC=		${WRKDIR}/${PORTNAME}-source-${PORTVERSION}/build
34
USE_WX=		2.6+
35
USE_WX=		2.6+
(-)games/scorched3d/Makefile (-4 / +3 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=		scorched3d
8
PORTNAME=		scorched3d
9
PORTVERSION=		0.${SCORCH_VERSION}${SCORCH_REVISION}
9
PORTVERSION=		0.${SCORCH_VERSION}${SCORCH_REVISION}
10
PORTREVISION=		1
10
CATEGORIES=		games
11
CATEGORIES=		games
11
MASTER_SITES=		SF/${PORTNAME}/${PORTNAME}/Version%20${SCORCH_VERSION}/
12
MASTER_SITES=		SF/${PORTNAME}/${PORTNAME}/Version%20${SCORCH_VERSION}/
12
DISTNAME=		Scorched3D-${SCORCH_VERSION}-src
13
DISTNAME=		Scorched3D-${SCORCH_VERSION}-src
Lines 14-23 Link Here
14
MAINTAINER=		ports@FreeBSD.org
15
MAINTAINER=		ports@FreeBSD.org
15
COMMENT=		Scorched is a game based loosely on the classic DOS game
16
COMMENT=		Scorched is a game based loosely on the classic DOS game
16
17
17
BUILD_DEPENDS=		openal-config:${PORTSDIR}/audio/openal
18
LIB_DEPENDS=		fftw3f:${PORTSDIR}/math/fftw3-float \
18
RUN_DEPENDS=		openal-config:${PORTSDIR}/audio/openal
19
LIB_DEPENDS=		alut.1:${PORTSDIR}/audio/freealut \
20
			fftw3f:${PORTSDIR}/math/fftw3-float \
21
			fftw3:${PORTSDIR}/math/fftw3 \
19
			fftw3:${PORTSDIR}/math/fftw3 \
22
			jpeg:${PORTSDIR}/graphics/jpeg \
20
			jpeg:${PORTSDIR}/graphics/jpeg \
23
			png:${PORTSDIR}/graphics/png
21
			png:${PORTSDIR}/graphics/png
Lines 27-32 Link Here
27
.if defined(WITH_MYSQL)
25
.if defined(WITH_MYSQL)
28
USE_MYSQL=		yes
26
USE_MYSQL=		yes
29
.endif
27
.endif
28
USE_OPENAL=	al alut
30
USE_SDL=		mixer net sdl
29
USE_SDL=		mixer net sdl
31
GNU_CONFIGURE=		yes
30
GNU_CONFIGURE=		yes
32
USE_GL=			yes
31
USE_GL=			yes
(-)games/scorched3d/files/patch-configure-al.m4 (+31 lines)
Added Link Here
1
--- configure-al.m4.orig	2009-12-26 18:48:59.000000000 +0100
2
+++ configure-al.m4	2009-12-26 18:50:56.000000000 +0100
3
@@ -7,25 +7,9 @@
4
 	[  --disable-openaltest    Do not try to compile and run a test OpenAL program],
5
 		    , enable_openaltest=yes)
6
 AC_MSG_CHECKING(for OpenAL support)
7
-AC_PATH_PROG(OPENAL_CONFIG, openal-config, no)
8
-if test x$OPENAL_CONFIG = xno; then
9
-	echo "*** The openal-config script installed by OpenAL could not be found"
10
-	echo "*** Make sure openal-config is in your path, or set the OPENAL_CONFIG"
11
-	echo "*** environment variable to the full path to openal-config."
12
-
13
-	AC_MSG_ERROR([*** Can't find the openal library. Try: http://www.openal.org/])
14
-else
15
-
16
-	if test x"$use_static_openal" = x"yes"; then
17
-		AL_LIBS="/usr/local/lib/libopenal.a"
18
-	else
19
-		AL_LIBS="`$OPENAL_CONFIG --libs`"
20
-	fi
21
-	
22
-	AL_CFLAGS="`$OPENAL_CONFIG --cflags`"
23
-
24
-	AC_MSG_RESULT(yes)
25
-fi
26
+AL_LIBS="`pkg-config --libs openal`"
27
+AL_CFLAGS="`pkg-config --cflags openal`"
28
+AC_MSG_RESULT(yes)
29
 
30
 AC_MSG_CHECKING(for Freealut support)
31
 AC_PATH_PROG(FREEALUT_CONFIG, freealut-config, no)
(-)games/spring/Makefile (-1 / +2 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	spring
8
PORTNAME=	spring
9
PORTVERSION=	0.80.5.1
9
PORTVERSION=	0.80.5.1
10
PORTREVISION=	1
10
CATEGORIES=	games
11
CATEGORIES=	games
11
MASTER_SITES=	SF/springrts/springrts/${PORTNAME}-${PORTVERSION}
12
MASTER_SITES=	SF/springrts/springrts/${PORTNAME}-${PORTVERSION}
12
DISTNAME=	${PORTNAME}_${PORTVERSION}_src
13
DISTNAME=	${PORTNAME}_${PORTVERSION}_src
Lines 15-21 Link Here
15
COMMENT=	A project aiming to create a new and versatile RTS Engine
16
COMMENT=	A project aiming to create a new and versatile RTS Engine
16
17
17
LIB_DEPENDS=	freetype.9:${PORTSDIR}/print/freetype2 \
18
LIB_DEPENDS=	freetype.9:${PORTSDIR}/print/freetype2 \
18
		openal.0:${PORTSDIR}/audio/openal \
19
		GLEW.1:${PORTSDIR}/graphics/glew \
19
		GLEW.1:${PORTSDIR}/graphics/glew \
20
		boost_thread.4:${PORTSDIR}/devel/boost-libs \
20
		boost_thread.4:${PORTSDIR}/devel/boost-libs \
21
		IL.2:${PORTSDIR}/graphics/devil \
21
		IL.2:${PORTSDIR}/graphics/devil \
Lines 28-33 Link Here
28
ONLY_FOR_ARCHS_REASON=	relies on x86 floating-point math
28
ONLY_FOR_ARCHS_REASON=	relies on x86 floating-point math
29
29
30
USE_SDL=	sdl
30
USE_SDL=	sdl
31
USE_OPENAL=	al
31
USE_GL=		gl glu
32
USE_GL=		gl glu
32
USE_XORG=	x11 xcursor
33
USE_XORG=	x11 xcursor
33
USE_LDCONFIG=	yes
34
USE_LDCONFIG=	yes
(-)games/supertuxkart/Makefile (-3 / +3 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	supertuxkart
8
PORTNAME=	supertuxkart
9
PORTVERSION=	0.6.2
9
PORTVERSION=	0.6.2
10
PORTREVISION=	1
10
CATEGORIES=	games
11
CATEGORIES=	games
11
MASTER_SITES=	SF/supertuxkart/SuperTuxKart/${PORTVERSION}
12
MASTER_SITES=	SF/supertuxkart/SuperTuxKart/${PORTVERSION}
12
EXTRACT_SUFX=	-src.tar.bz2
13
EXTRACT_SUFX=	-src.tar.bz2
Lines 15-27 Link Here
15
COMMENT=	Free 3D kart racing game
16
COMMENT=	Free 3D kart racing game
16
17
17
BUILD_DEPENDS=	${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib
18
BUILD_DEPENDS=	${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib
18
LIB_DEPENDS=	openal.0:${PORTSDIR}/audio/openal \
19
LIB_DEPENDS=	vorbisfile.6:${PORTSDIR}/audio/libvorbis \
19
		alut.1:${PORTSDIR}/audio/freealut \
20
		vorbisfile.6:${PORTSDIR}/audio/libvorbis \
21
		ogg.6:${PORTSDIR}/audio/libogg
20
		ogg.6:${PORTSDIR}/audio/libogg
22
21
23
USE_BZIP2=	yes
22
USE_BZIP2=	yes
24
USE_GL=		gl glu glut
23
USE_GL=		gl glu glut
24
USE_OPENAL=	al alut
25
USE_GMAKE=	yes
25
USE_GMAKE=	yes
26
GNU_CONFIGURE=	yes
26
GNU_CONFIGURE=	yes
27
USE_SDL=	sdl
27
USE_SDL=	sdl
(-)games/tnl/Makefile (-4 / +3 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	tnl
8
PORTNAME=	tnl
9
PORTVERSION=	071111
9
PORTVERSION=	071111
10
PORTREVISION=	4
10
PORTREVISION=	5
11
CATEGORIES=	games
11
CATEGORIES=	games
12
MASTER_SITES=	http://tnlgame.net/downloads/tnl/${PORTVERSION}/ \
12
MASTER_SITES=	http://tnlgame.net/downloads/tnl/${PORTVERSION}/ \
13
		http://mirror.amdmi3.ru/distfiles/
13
		http://mirror.amdmi3.ru/distfiles/
Lines 20-28 Link Here
20
20
21
BUILD_DEPENDS=	${LOCALBASE}/lib/libiovmall.so:${PORTSDIR}/lang/io
21
BUILD_DEPENDS=	${LOCALBASE}/lib/libiovmall.so:${PORTSDIR}/lang/io
22
RUN_DEPENDS=	${BUILD_DEPENDS}
22
RUN_DEPENDS=	${BUILD_DEPENDS}
23
LIB_DEPENDS=	openal.0:${PORTSDIR}/audio/openal \
23
LIB_DEPENDS=	sigc-1.2.5:${PORTSDIR}/devel/libsigc++12 \
24
		alut.1:${PORTSDIR}/audio/freealut \
25
		sigc-1.2.5:${PORTSDIR}/devel/libsigc++12 \
26
		CEGUIBase.3:${PORTSDIR}/graphics/cegui \
24
		CEGUIBase.3:${PORTSDIR}/graphics/cegui \
27
		png.5:${PORTSDIR}/graphics/png \
25
		png.5:${PORTSDIR}/graphics/png \
28
		GLEW.1:${PORTSDIR}/graphics/glew
26
		GLEW.1:${PORTSDIR}/graphics/glew
Lines 33-38 Link Here
33
USE_SDL=	sdl
31
USE_SDL=	sdl
34
USE_GCC=	4.2+
32
USE_GCC=	4.2+
35
USE_GL=		yes
33
USE_GL=		yes
34
USE_OPENAL=	al alut
36
35
37
CONFIGURE_ARGS=	--with-io-cflags="-I${LOCALBASE}/include/io" \
36
CONFIGURE_ARGS=	--with-io-cflags="-I${LOCALBASE}/include/io" \
38
		--with-io-libs="-L${LOCALBASE}/lib -liovmall"
37
		--with-io-libs="-L${LOCALBASE}/lib -liovmall"
(-)games/torcs/Makefile (-4 / +3 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	torcs
8
PORTNAME=	torcs
9
DISTVERSION=	1.3.1
9
DISTVERSION=	1.3.1
10
PORTREVISION=	1
10
PORTREVISION=	2
11
CATEGORIES=	games
11
CATEGORIES=	games
12
MASTER_SITES=	SF/${PORTNAME}/all-in-one/${PORTVERSION}
12
MASTER_SITES=	SF/${PORTNAME}/all-in-one/${PORTVERSION}
13
13
Lines 15-26 Link Here
15
COMMENT=	The Open Racing Car Simulator
15
COMMENT=	The Open Racing Car Simulator
16
16
17
BUILD_DEPENDS=	${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib
17
BUILD_DEPENDS=	${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib
18
LIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png	\
18
LIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png
19
		openal.0:${PORTSDIR}/audio/openal \
20
		alut.1:${PORTSDIR}/audio/freealut
21
RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash
19
RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash
22
20
23
USE_XORG=	xrender xmu ice xext x11 xxf86vm xrandr
21
USE_XORG=	xrender xmu ice xext x11 xxf86vm xrandr
22
USE_OPENAL=	al alut
24
USE_BZIP2=	yes
23
USE_BZIP2=	yes
25
GNU_CONFIGURE=	yes
24
GNU_CONFIGURE=	yes
26
USE_GMAKE=	yes
25
USE_GMAKE=	yes
(-)games/toycars/Makefile (-4 / +2 lines)
Lines 7-23 Link Here
7
7
8
PORTNAME=	toycars
8
PORTNAME=	toycars
9
PORTVERSION=	0.3.3
9
PORTVERSION=	0.3.3
10
PORTREVISION=	2
10
PORTREVISION=	3
11
CATEGORIES=	games
11
CATEGORIES=	games
12
MASTER_SITES=	SF
12
MASTER_SITES=	SF
13
13
14
MAINTAINER=	amdmi3@FreeBSD.org
14
MAINTAINER=	amdmi3@FreeBSD.org
15
COMMENT=	Physics-based 2D racing game
15
COMMENT=	Physics-based 2D racing game
16
16
17
LIB_DEPENDS=	openal.0:${PORTSDIR}/audio/openal \
18
		alut.1:${PORTSDIR}/audio/freealut
19
20
USE_SDL=	mixer image sdl
17
USE_SDL=	mixer image sdl
18
USE_OPENAL=	al alut
21
USE_GL=		yes
19
USE_GL=		yes
22
USE_GMAKE=	yes
20
USE_GMAKE=	yes
23
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
(-)games/tremulous/Makefile (-2 / +2 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	tremulous
8
PORTNAME=	tremulous
9
PORTVERSION=	1.1.0
9
PORTVERSION=	1.1.0
10
PORTREVISION=	6
10
PORTREVISION=	7
11
CATEGORIES=	games
11
CATEGORIES=	games
12
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/1.1 \
12
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/1.1 \
13
		http://0day.icculus.org/mirrors/tremulous/ \
13
		http://0day.icculus.org/mirrors/tremulous/ \
Lines 59-65 Link Here
59
.if !defined(WITHOUT_CLIENT) || !defined(WITHOUT_SMP)
59
.if !defined(WITHOUT_CLIENT) || !defined(WITHOUT_SMP)
60
# OpenAL
60
# OpenAL
61
.   if defined(WITH_OPENAL)
61
.   if defined(WITH_OPENAL)
62
LIB_DEPENDS+=	openal.0:${PORTSDIR}/audio/openal
62
USE_OPENAL=	al
63
MAKE_ENV+=	USE_OPENAL=1
63
MAKE_ENV+=	USE_OPENAL=1
64
.       if defined(WITH_OPENAL_DLOPEN)
64
.       if defined(WITH_OPENAL_DLOPEN)
65
MAKE_ENV+=	USE_OPENAL_DLOPEN=1
65
MAKE_ENV+=	USE_OPENAL_DLOPEN=1
(-)games/tremulous/files/patch-src_client_snd_openal.c (+11 lines)
Added Link Here
1
--- ./tremulous-1.1.0-src/src/client/snd_openal.c.orig	2009-12-26 18:56:43.000000000 +0100
2
+++ ./tremulous-1.1.0-src/src/client/snd_openal.c	2009-12-26 18:56:49.000000000 +0100
3
@@ -1526,7 +1526,7 @@
4
 #ifdef _WIN32
5
 #define ALDRIVER_DEFAULT "OpenAL32.dll"
6
 #else
7
-#define ALDRIVER_DEFAULT "libopenal.so.0"
8
+#define ALDRIVER_DEFAULT "libopenal.so"
9
 #endif
10
 
11
 /*
(-)games/trigger/Makefile (-4 / +3 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	trigger
8
PORTNAME=	trigger
9
PORTVERSION=	0.5.2.1
9
PORTVERSION=	0.5.2.1
10
PORTREVISION=	5
10
PORTREVISION=	6
11
CATEGORIES=	games
11
CATEGORIES=	games
12
MASTER_SITES=	SF/${PORTNAME}-rally/${PORTNAME}-rally/${PORTNAME}-${PORTVERSION}
12
MASTER_SITES=	SF/${PORTNAME}-rally/${PORTNAME}-rally/${PORTNAME}-${PORTVERSION}
13
DISTFILES=	trigger-${PORTVERSION}-src${EXTRACT_SUFX} \
13
DISTFILES=	trigger-${PORTVERSION}-src${EXTRACT_SUFX} \
Lines 17-26 Link Here
17
COMMENT=	A rally car racing game
17
COMMENT=	A rally car racing game
18
18
19
BUILD_DEPENDS=	jam:${PORTSDIR}/devel/jam
19
BUILD_DEPENDS=	jam:${PORTSDIR}/devel/jam
20
LIB_DEPENDS=	openal:${PORTSDIR}/audio/openal \
20
LIB_DEPENDS=	physfs.1:${PORTSDIR}/devel/physfs
21
		physfs.1:${PORTSDIR}/devel/physfs \
22
		alut.1:${PORTSDIR}/audio/freealut
23
21
22
USE_OPENAL=	al alut
24
USE_SDL=	sdl image
23
USE_SDL=	sdl image
25
USE_GL=		yes
24
USE_GL=		yes
26
USE_BZIP2=	yes
25
USE_BZIP2=	yes
(-)games/ultimatestunts/Makefile (-4 / +2 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	ultimatestunts
8
PORTNAME=	ultimatestunts
9
PORTVERSION=	0.7.5.1
9
PORTVERSION=	0.7.5.1
10
PORTREVISION=	1
10
PORTREVISION=	2
11
DISTVERSIONPREFIX=	srcdata-
11
DISTVERSIONPREFIX=	srcdata-
12
DISTVERSION=	${PORTVERSION:S/.//g}
12
DISTVERSION=	${PORTVERSION:S/.//g}
13
CATEGORIES=	games
13
CATEGORIES=	games
Lines 16-25 Link Here
16
MAINTAINER=	ports@FreeBSD.org
16
MAINTAINER=	ports@FreeBSD.org
17
COMMENT=	Racing game with elaborate stunts
17
COMMENT=	Racing game with elaborate stunts
18
18
19
LIB_DEPENDS=	openal.0:${PORTSDIR}/audio/openal \
20
		alut.1:${PORTSDIR}/audio/freealut
21
22
USE_GETTEXT=	yes
19
USE_GETTEXT=	yes
20
USE_OPENAL=	al alut
23
USE_GL=		gl glu
21
USE_GL=		gl glu
24
USE_SDL=	sdl image
22
USE_SDL=	sdl image
25
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
(-)games/uqm/Makefile (-2 / +2 lines)
Lines 14-20 Link Here
14
14
15
PORTNAME=	uqm
15
PORTNAME=	uqm
16
PORTVERSION=	0.6.2
16
PORTVERSION=	0.6.2
17
PORTREVISION=	5
17
PORTREVISION=	6
18
CATEGORIES=	games
18
CATEGORIES=	games
19
MASTER_SITES=	SF/sc2/UQM/${PORTVERSION}
19
MASTER_SITES=	SF/sc2/UQM/${PORTVERSION}
20
DISTFILES=	${PORTNAME}-${PORTVERSION}-source.tgz ${PORTNAME}-${DATAVERSION}-content.uqm
20
DISTFILES=	${PORTNAME}-${PORTVERSION}-source.tgz ${PORTNAME}-${DATAVERSION}-content.uqm
Lines 52-58 Link Here
52
.endif
52
.endif
53
53
54
.ifdef(WITH_OPENAL)
54
.ifdef(WITH_OPENAL)
55
LIB_DEPENDS+=	openal.0:${PORTSDIR}/audio/openal
55
USE_OPENAL=	al
56
.endif
56
.endif
57
57
58
post-extract:
58
post-extract:
(-)games/vamos/Makefile (-3 / +3 lines)
Lines 7-22 Link Here
7
7
8
PORTNAME=	vamos
8
PORTNAME=	vamos
9
PORTVERSION=	0.6.2
9
PORTVERSION=	0.6.2
10
PORTREVISION=	1
10
CATEGORIES=	games
11
CATEGORIES=	games
11
MASTER_SITES=	SF
12
MASTER_SITES=	SF
12
13
13
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	ports@FreeBSD.org
14
COMMENT=	An automotive simulation framework
15
COMMENT=	An automotive simulation framework
15
16
16
LIB_DEPENDS=	alut.1:${PORTSDIR}/audio/freealut \
17
LIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png
17
		openal.0:${PORTSDIR}/audio/openal \
18
		png.5:${PORTSDIR}/graphics/png
19
18
19
USE_OPENAL=	al alut
20
USE_GL=		glut
20
USE_GL=		glut
21
USE_SDL=	sdl
21
USE_SDL=	sdl
22
USE_GMAKE=	yes
22
USE_GMAKE=	yes
(-)games/vavoom/Makefile (-1 / +2 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	vavoom
8
PORTNAME=	vavoom
9
PORTVERSION=	1.30
9
PORTVERSION=	1.30
10
PORTREVISION=	1
10
CATEGORIES=	games
11
CATEGORIES=	games
11
MASTER_SITES=	SF/${PORTNAME}/Vavoom-source/${PORTVERSION}
12
MASTER_SITES=	SF/${PORTNAME}/Vavoom-source/${PORTVERSION}
12
13
Lines 87-93 Link Here
87
.endif
88
.endif
88
89
89
.if defined(WITH_OPENAL)
90
.if defined(WITH_OPENAL)
90
LIB_DEPENDS+=	openal.0:${PORTSDIR}/audio/openal
91
USE_OPENAL=	al
91
CMAKE_ARGS+=	-DWITH_OPENAL=Y
92
CMAKE_ARGS+=	-DWITH_OPENAL=Y
92
.else
93
.else
93
CMAKE_ARGS+=	-DWITH_OPENAL=N
94
CMAKE_ARGS+=	-DWITH_OPENAL=N
(-)games/vegastrike/Makefile (-2 / +2 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	vegastrike
8
PORTNAME=	vegastrike
9
PORTVERSION=	0.5.0
9
PORTVERSION=	0.5.0
10
PORTREVISION=	7
10
PORTREVISION=	8
11
CATEGORIES=	games
11
CATEGORIES=	games
12
MASTER_SITES=	SF/${PORTNAME}/OldFiles
12
MASTER_SITES=	SF/${PORTNAME}/OldFiles
13
DISTNAME=	vegastrike-source-${PORTVERSION}
13
DISTNAME=	vegastrike-source-${PORTVERSION}
Lines 17-26 Link Here
17
17
18
RUN_DEPENDS=	${DATADIR}/vegastrike.ico:${PORTSDIR}/games/vegastrike-data
18
RUN_DEPENDS=	${DATADIR}/vegastrike.ico:${PORTSDIR}/games/vegastrike-data
19
LIB_DEPENDS=	expat.6:${PORTSDIR}/textproc/expat2 \
19
LIB_DEPENDS=	expat.6:${PORTSDIR}/textproc/expat2 \
20
		openal.0:${PORTSDIR}/audio/openal \
21
		vorbis.4:${PORTSDIR}/audio/libvorbis \
20
		vorbis.4:${PORTSDIR}/audio/libvorbis \
22
		ogg.6:${PORTSDIR}/audio/libogg
21
		ogg.6:${PORTSDIR}/audio/libogg
23
22
23
USE_OPENAL=	al
24
USE_BZIP2=	yes
24
USE_BZIP2=	yes
25
GNU_CONFIGURE=	yes
25
GNU_CONFIGURE=	yes
26
USE_GMAKE=	yes
26
USE_GMAKE=	yes
(-)games/warsow/Makefile (-1 / +2 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	warsow
8
PORTNAME=	warsow
9
PORTVERSION=	0.5
9
PORTVERSION=	0.5
10
PORTREVISION=	1
10
CATEGORIES=	games
11
CATEGORIES=	games
11
MASTER_SITES=	http://woe.crying-wolves.net/ \
12
MASTER_SITES=	http://woe.crying-wolves.net/ \
12
		http://www.derchris.eu/warsow/ \
13
		http://www.derchris.eu/warsow/ \
Lines 83-89 Link Here
83
.endif
84
.endif
84
85
85
.if !defined(WITHOUT_OPENAL)
86
.if !defined(WITHOUT_OPENAL)
86
LIB_DEPENDS+=	openal.0:${PORTSDIR}/audio/openal
87
USE_OPENAL=	al
87
ALL_TARGET+=	openal
88
ALL_TARGET+=	openal
88
PLIST_SUB+=	OPENAL=""
89
PLIST_SUB+=	OPENAL=""
89
.else
90
.else
(-)games/warsow/files/patch-snd_openal_snd_main.c (+11 lines)
Added Link Here
1
--- ./snd_openal/snd_main.c.orig	2009-12-26 19:07:05.000000000 +0100
2
+++ ./snd_openal/snd_main.c	2009-12-26 19:07:13.000000000 +0100
3
@@ -231,7 +231,7 @@
4
 #define ALDRIVER "/System/Library/Frameworks/OpenAL.framework/OpenAL"
5
 #define ALDEVICE_DEFAULT NULL
6
 #else
7
-#define ALDRIVER "libopenal.so.0"
8
+#define ALDRIVER "libopenal.so"
9
 #define ALDEVICE_DEFAULT NULL
10
 #endif
11
 
(-)games/warzone2100/Makefile (-1 / +2 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	warzone2100
8
PORTNAME=	warzone2100
9
PORTVERSION=	2.2.4
9
PORTVERSION=	2.2.4
10
PORTREVISION=	1
10
CATEGORIES=	games
11
CATEGORIES=	games
11
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/Warzone%202100%20${PORTVERSION}
12
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/Warzone%202100%20${PORTVERSION}
12
13
Lines 19-25 Link Here
19
LIB_DEPENDS=	jpeg.10:${PORTSDIR}/graphics/jpeg \
20
LIB_DEPENDS=	jpeg.10:${PORTSDIR}/graphics/jpeg \
20
		mad.2:${PORTSDIR}/audio/libmad \
21
		mad.2:${PORTSDIR}/audio/libmad \
21
		ogg.6:${PORTSDIR}/audio/libogg \
22
		ogg.6:${PORTSDIR}/audio/libogg \
22
		openal.0:${PORTSDIR}/audio/openal \
23
		physfs.1:${PORTSDIR}/devel/physfs \
23
		physfs.1:${PORTSDIR}/devel/physfs \
24
		png.5:${PORTSDIR}/graphics/png \
24
		png.5:${PORTSDIR}/graphics/png \
25
		vorbis.4:${PORTSDIR}/audio/libvorbis \
25
		vorbis.4:${PORTSDIR}/audio/libvorbis \
Lines 30-35 Link Here
30
30
31
USE_BISON=	build
31
USE_BISON=	build
32
GNU_CONFIGURE=	yes
32
GNU_CONFIGURE=	yes
33
USE_OPENAL=	al
33
USE_GL=		yes
34
USE_GL=		yes
34
USE_GMAKE=	yes
35
USE_GMAKE=	yes
35
USE_SDL=	net sdl
36
USE_SDL=	net sdl
(-)games/windstille/Makefile (-3 / +3 lines)
Lines 7-21 Link Here
7
7
8
PORTNAME=	windstille
8
PORTNAME=	windstille
9
PORTVERSION=	0.3.0
9
PORTVERSION=	0.3.0
10
PORTREVISION=	7
10
PORTREVISION=	8
11
CATEGORIES=	games
11
CATEGORIES=	games
12
MASTER_SITES=	BERLIOS CENKES
12
MASTER_SITES=	BERLIOS CENKES
13
13
14
MAINTAINER=	amdmi3@FreeBSD.org
14
MAINTAINER=	amdmi3@FreeBSD.org
15
COMMENT=	Classic 2D jump-n-shoot game
15
COMMENT=	Classic 2D jump-n-shoot game
16
16
17
LIB_DEPENDS=	openal.0:${PORTSDIR}/audio/openal \
17
LIB_DEPENDS=	physfs.1:${PORTSDIR}/devel/physfs \
18
		physfs.1:${PORTSDIR}/devel/physfs \
19
		ogg.6:${PORTSDIR}/audio/libogg \
18
		ogg.6:${PORTSDIR}/audio/libogg \
20
		vorbis.4:${PORTSDIR}/audio/libvorbis \
19
		vorbis.4:${PORTSDIR}/audio/libvorbis \
21
		png.5:${PORTSDIR}/graphics/png \
20
		png.5:${PORTSDIR}/graphics/png \
Lines 26-31 Link Here
26
25
27
USE_BZIP2=	yes
26
USE_BZIP2=	yes
28
USE_SCONS=	yes
27
USE_SCONS=	yes
28
USE_OPENAL=	al
29
USE_GL=		gl
29
USE_GL=		gl
30
USE_SDL=	sdl image
30
USE_SDL=	sdl image
31
USE_BISON=	build
31
USE_BISON=	build
(-)games/worldofpadman/Makefile (-2 / +2 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	worldofpadman
8
PORTNAME=	worldofpadman
9
PORTVERSION=	1.2.20080621
9
PORTVERSION=	1.2.20080621
10
PORTREVISION=	3
10
PORTREVISION=	4
11
CATEGORIES=	games
11
CATEGORIES=	games
12
MASTER_SITES=	http://thilo.kickchat.com/download/:full \
12
MASTER_SITES=	http://thilo.kickchat.com/download/:full \
13
		http://btc3x6.che.uni-bayreuth.de/~tl/wop_final/:full \
13
		http://btc3x6.che.uni-bayreuth.de/~tl/wop_final/:full \
Lines 74-80 Link Here
74
.   endif
74
.   endif
75
# OpenAL
75
# OpenAL
76
.   if defined(WITH_OPENAL)
76
.   if defined(WITH_OPENAL)
77
LIB_DEPENDS+=	openal.0:${PORTSDIR}/audio/openal
77
USE_OPENAL=	al
78
MAKE_ENV+=	USE_OPENAL=1
78
MAKE_ENV+=	USE_OPENAL=1
79
.       if defined(WITH_OPENAL_DLOPEN)
79
.       if defined(WITH_OPENAL_DLOPEN)
80
MAKE_ENV+=	USE_OPENAL_DLOPEN=1
80
MAKE_ENV+=	USE_OPENAL_DLOPEN=1
(-)games/worldofpadman/files/patch-code_client_snd_openal.c (+11 lines)
Added Link Here
1
--- ./code/client/snd_openal.c.orig	2009-12-26 20:07:28.000000000 +0100
2
+++ ./code/client/snd_openal.c	2009-12-26 20:07:36.000000000 +0100
3
@@ -1686,7 +1686,7 @@
4
 #elif defined(MACOS_X)
5
 #define ALDRIVER_DEFAULT "/System/Library/Frameworks/OpenAL.framework/OpenAL"
6
 #else
7
-#define ALDRIVER_DEFAULT "libopenal.so.0"
8
+#define ALDRIVER_DEFAULT "libopenal.so"
9
 #endif
10
 
11
 /*
(-)games/xpilot-ng-server/Makefile (-2 / +2 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	xpilot-ng
8
PORTNAME=	xpilot-ng
9
PORTVERSION=	4.7.2
9
PORTVERSION=	4.7.2
10
PORTREVISION=	4
10
PORTREVISION=	5
11
CATEGORIES=	games
11
CATEGORIES=	games
12
MASTER_SITES=	SF/xpilot/xpilot_ng/${PORTNAME}-${PORTVERSION}
12
MASTER_SITES=	SF/xpilot/xpilot_ng/${PORTNAME}-${PORTVERSION}
13
PKGNAMESUFFIX?=	-server
13
PKGNAMESUFFIX?=	-server
Lines 74-80 Link Here
74
.endif
74
.endif
75
75
76
.if defined(WITH_SOUND)
76
.if defined(WITH_SOUND)
77
LIB_DEPENDS+=	openal:${PORTSDIR}/audio/openal
77
USE_OPENAL=	al
78
CONFIGURE_ARGS+=--enable-sound
78
CONFIGURE_ARGS+=--enable-sound
79
CPPFLAGS+=	${PTHREAD_CFLAGS}
79
CPPFLAGS+=	${PTHREAD_CFLAGS}
80
LDFLAGS+=	${PTHREAD_LIBS}
80
LDFLAGS+=	${PTHREAD_LIBS}
(-)graphics/Coin/Makefile (-2 / +3 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	Coin
8
PORTNAME=	Coin
9
PORTVERSION=	3.1.2
9
PORTVERSION=	3.1.2
10
PORTREVISION=	1
10
CATEGORIES=	graphics
11
CATEGORIES=	graphics
11
MASTER_SITES=	http://ftp.coin3d.org/coin/src/all/ \
12
MASTER_SITES=	http://ftp.coin3d.org/coin/src/all/ \
12
		ftp://ftp.coin3d.org/pub/coin/src/all/
13
		ftp://ftp.coin3d.org/pub/coin/src/all/
Lines 14-22 Link Here
14
MAINTAINER=	ports@FreeBSD.org
15
MAINTAINER=	ports@FreeBSD.org
15
COMMENT=	C++ 3D graphics library based on the Open Inventor 2.1 API
16
COMMENT=	C++ 3D graphics library based on the Open Inventor 2.1 API
16
17
17
LIB_DEPENDS=	openal.0:${PORTSDIR}/audio/openal \
18
LIB_DEPENDS=	simage.26:${PORTSDIR}/graphics/simage
18
		simage.26:${PORTSDIR}/graphics/simage
19
19
20
USE_OPENAL=	al
20
USE_GL=		yes
21
USE_GL=		yes
21
USE_XORG=	xt x11
22
USE_XORG=	xt x11
22
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
(-)graphics/blender/Makefile (-2 / +2 lines)
Lines 6-11 Link Here
6
6
7
PORTNAME=	blender
7
PORTNAME=	blender
8
PORTVERSION=	2.49b
8
PORTVERSION=	2.49b
9
PORTREVISION=	1
9
CATEGORIES=	graphics games
10
CATEGORIES=	graphics games
10
MASTER_SITES=	http://download.blender.org/source/ \
11
MASTER_SITES=	http://download.blender.org/source/ \
11
		http://mirror.cs.umn.edu/blender.org/source/ \
12
		http://mirror.cs.umn.edu/blender.org/source/ \
Lines 147-154 Link Here
147
.if defined(WITH_OPENAL)
148
.if defined(WITH_OPENAL)
148
MAKE_ENV+=	NAN_NO_OPENAL="false"
149
MAKE_ENV+=	NAN_NO_OPENAL="false"
149
MAKE_ENV+=	NAN_OPENAL="${LOCALBASE}/"
150
MAKE_ENV+=	NAN_OPENAL="${LOCALBASE}/"
150
LIB_DEPENDS+=	openal.0:${PORTSDIR}/audio/openal \
151
USE_OPENAL=	al alut
151
		alut.1:${PORTSDIR}/audio/freealut
152
.else
152
.else
153
MAKE_ENV+=	NAN_NO_OPENAL="true"
153
MAKE_ENV+=	NAN_NO_OPENAL="true"
154
.endif
154
.endif
(-)graphics/crystalspace/Makefile (-3 / +2 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	crystalspace
8
PORTNAME=	crystalspace
9
PORTVERSION=	1.0.2
9
PORTVERSION=	1.0.2
10
PORTREVISION=	9
10
PORTREVISION=	10
11
CATEGORIES=	graphics
11
CATEGORIES=	graphics
12
MASTER_SITES=	SF/crystal/crystal/${PORTVERSION}
12
MASTER_SITES=	SF/crystal/crystal/${PORTVERSION}
13
DISTNAME=	${PORTNAME:S/$/-src/}-${PORTVERSION}
13
DISTNAME=	${PORTNAME:S/$/-src/}-${PORTVERSION}
Lines 22-35 Link Here
22
LIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png \
22
LIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png \
23
		jpeg.10:${PORTSDIR}/graphics/jpeg \
23
		jpeg.10:${PORTSDIR}/graphics/jpeg \
24
		aa.1:${PORTSDIR}/graphics/aalib \
24
		aa.1:${PORTSDIR}/graphics/aalib \
25
		openal.0:${PORTSDIR}/audio/openal \
26
		alut.1:${PORTSDIR}/audio/freealut \
27
		CEGUIBase.3:${PORTSDIR}/graphics/cegui
25
		CEGUIBase.3:${PORTSDIR}/graphics/cegui
28
26
29
CONFLICTS=	crystalspace-devel-[0-9]*
27
CONFLICTS=	crystalspace-devel-[0-9]*
30
28
31
USE_BZIP2=	yes
29
USE_BZIP2=	yes
32
GNU_CONFIGURE=	yes
30
GNU_CONFIGURE=	yes
31
USE_OPENAL=	al alut
33
USE_GL=		yes
32
USE_GL=		yes
34
WANT_PERL=	yes
33
WANT_PERL=	yes
35
LDFLAGS+=	-L/usr/lib -lc
34
LDFLAGS+=	-L/usr/lib -lc
(-)graphics/py-pyglet/Makefile (-2 / +3 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	pyglet
8
PORTNAME=	pyglet
9
PORTVERSION=	1.1.2
9
PORTVERSION=	1.1.2
10
PORTREVISION=	1
10
CATEGORIES=	graphics multimedia x11-toolkits python
11
CATEGORIES=	graphics multimedia x11-toolkits python
11
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
12
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
12
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
13
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Lines 15-26 Link Here
15
COMMENT=	Cross-platform windowing and multimedia library for Python
16
COMMENT=	Cross-platform windowing and multimedia library for Python
16
17
17
LIB_DEPENDS=	freetype.9:${PORTSDIR}/print/freetype2 \
18
LIB_DEPENDS=	freetype.9:${PORTSDIR}/print/freetype2 \
18
		fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig \
19
		fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig
19
		openal.0:${PORTSDIR}/audio/openal
20
20
21
USE_PYTHON=	yes
21
USE_PYTHON=	yes
22
USE_PYDISTUTILS=	yes
22
USE_PYDISTUTILS=	yes
23
USE_GL=		gl glu
23
USE_GL=		gl glu
24
USE_OPENAL=	al
24
25
25
PORTDOCS=	*
26
PORTDOCS=	*
26
PORTEXAMPLES=	*
27
PORTEXAMPLES=	*
(-)graphics/py-soya3d/Makefile (-3 / +2 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	soya3d
8
PORTNAME=	soya3d
9
PORTVERSION=	0.14
9
PORTVERSION=	0.14
10
PORTREVISION=	3
10
PORTREVISION=	4
11
CATEGORIES=	graphics python
11
CATEGORIES=	graphics python
12
MASTER_SITES=	http://download.gna.org/soya/
12
MASTER_SITES=	http://download.gna.org/soya/
13
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
13
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Lines 22-29 Link Here
22
		${PYTHON_SITELIBDIR}/PIL.pth:${PORTSDIR}/graphics/py-imaging
22
		${PYTHON_SITELIBDIR}/PIL.pth:${PORTSDIR}/graphics/py-imaging
23
LIB_DEPENDS=	cal3d.12:${PORTSDIR}/graphics/cal3d \
23
LIB_DEPENDS=	cal3d.12:${PORTSDIR}/graphics/cal3d \
24
		GLEW.1:${PORTSDIR}/graphics/glew \
24
		GLEW.1:${PORTSDIR}/graphics/glew \
25
		openal.0:${PORTSDIR}/audio/openal \
26
		alut.1:${PORTSDIR}/audio/freealut \
27
		freetype.9:${PORTSDIR}/print/freetype2
25
		freetype.9:${PORTSDIR}/print/freetype2
28
RUN_DEPENDS=	${PYTHON_SITELIBDIR}/editobj/editor.py:${PORTSDIR}/graphics/py-editobj \
26
RUN_DEPENDS=	${PYTHON_SITELIBDIR}/editobj/editor.py:${PORTSDIR}/graphics/py-editobj \
29
		${PYTHON_SITELIBDIR}/tofu/client.py:${PORTSDIR}/net/py-tofu \
27
		${PYTHON_SITELIBDIR}/tofu/client.py:${PORTSDIR}/net/py-tofu \
Lines 32-37 Link Here
32
USE_BZIP2=	yes
30
USE_BZIP2=	yes
33
USE_PYTHON=	yes
31
USE_PYTHON=	yes
34
USE_PYDISTUTILS=	yes
32
USE_PYDISTUTILS=	yes
33
USE_OPENAL=	al alut
35
USE_GL=		gl
34
USE_GL=		gl
36
USE_GMAKE=	yes
35
USE_GMAKE=	yes
37
USE_SDL=	sdl
36
USE_SDL=	sdl
(-)graphics/reallyslick/Makefile (-2 / +2 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	reallyslick
8
PORTNAME=	reallyslick
9
PORTVERSION=	0.9.0
9
PORTVERSION=	0.9.0
10
PORTREVISION=	1
10
PORTREVISION=	2
11
CATEGORIES=	graphics
11
CATEGORIES=	graphics
12
MASTER_SITES=	SF/rss-glx/rss-glx/${PORTVERSION}
12
MASTER_SITES=	SF/rss-glx/rss-glx/${PORTVERSION}
13
DISTNAME=	rss-glx_${PORTVERSION}
13
DISTNAME=	rss-glx_${PORTVERSION}
Lines 39-45 Link Here
39
.include <bsd.port.pre.mk>
39
.include <bsd.port.pre.mk>
40
40
41
.if defined(WITH_FREEALUT)
41
.if defined(WITH_FREEALUT)
42
LIB_DEPENDS+=	alut.1:${PORTSDIR}/audio/freealut
42
USE_OPENAL=	alut
43
.else
43
.else
44
CONFIGURE_ARGS+=	--disable-sound
44
CONFIGURE_ARGS+=	--disable-sound
45
.endif
45
.endif

Return to bug 142123