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

(-)ports/games/ioquake3/Makefile (-4 / +26 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 20-35 Link Here
20
.endif
21
.endif
21
USE_GMAKE=	yes
22
USE_GMAKE=	yes
22
23
23
OPTIONS=	CLIENT "Build client" on \
24
OPTIONS+=	CLIENT "Build client" on \
24
		GAMELIBS "Build game libraries (when not mandatory)" off \
25
		GAMELIBS "Build game libraries (when not mandatory)" off \
25
		DEDICATED "Build dedicated server" on \
26
		DEDICATED "Build dedicated server" on \
27
		CURL "Enable cURL for http/ftp download" on \
28
		OPENAL "Enable OpenAL audio output" on \
29
		MUMBLE "Enable Mumble support (no dependencies)" on \
26
		VORBIS "Enable Ogg Vorbis support" on
30
		VORBIS "Enable Ogg Vorbis support" on
27
31
28
MAKE_ARGS+=	DEFAULT_BASEDIR="${Q3DIR}" \
32
MAKE_ARGS+=	DEFAULT_BASEDIR="${Q3DIR}" \
29
		DEFAULT_LIBDIR="${LIBDIR}" \
33
		DEFAULT_LIBDIR="${LIBDIR}" \
30
		HOMEPATH="/.${PORTNAME}" \
34
		HOMEPATH="/.${PORTNAME}" \
35
		VERSION="${DISTVERSION}" \
31
		ARCH="${ARCH}"
36
		ARCH="${ARCH}"
32
PLIST_SUB=	LIBDIR="${LIBDIR:S/${PREFIX}\///}" \
37
PLIST_SUB+=	LIBDIR="${LIBDIR:S/${PREFIX}\///}" \
33
		ARCH="${ARCH}" \
38
		ARCH="${ARCH}" \
34
		BINSUFFIX="${BINSUFFIX}"
39
		BINSUFFIX="${BINSUFFIX}"
35
ALL_TARGET=	release
40
ALL_TARGET=	release
Lines 45-51 Link Here
45
MACHINE_ARCH=	${ARCH}
50
MACHINE_ARCH=	${ARCH}
46
.include <bsd.cpu.mk>
51
.include <bsd.cpu.mk>
47
52
48
.include <bsd.port.pre.mk>
53
.include <bsd.port.options.mk>
49
54
50
.if defined(WITHOUT_CLIENT) && defined(WITHOUT_DEDICATED) && \
55
.if defined(WITHOUT_CLIENT) && defined(WITHOUT_DEDICATED) && \
51
    defined(WITHOUT_SMP)
56
    defined(WITHOUT_SMP)
Lines 53-60 Link Here
53
.endif
58
.endif
54
59
55
.if defined(WITH_CLIENT) || defined(WITH_SMP)
60
.if defined(WITH_CLIENT) || defined(WITH_SMP)
61
# cURL
62
.if defined(WITH_CURL)
63
LIB_DEPENDS+=	curl.5:${PORTSDIR}/ftp/curl
64
#MAKE_ARGS+=	USE_CURL_DLOPEN=0
65
.else
66
MAKE_ARGS+=	USE_CURL=0
67
.endif
56
# OpenAL
68
# OpenAL
69
.if defined(WITH_OPENAL)
57
LIB_DEPENDS+=	openal.0:${PORTSDIR}/audio/openal
70
LIB_DEPENDS+=	openal.0:${PORTSDIR}/audio/openal
71
.else
72
MAKE_ARGS+=	USE_OPENAL=0
73
.endif
58
# SDL
74
# SDL
59
USE_SDL=	sdl
75
USE_SDL=	sdl
60
# Vorbis
76
# Vorbis
Lines 62-67 Link Here
62
LIB_DEPENDS+=	vorbis.4:${PORTSDIR}/audio/libvorbis
78
LIB_DEPENDS+=	vorbis.4:${PORTSDIR}/audio/libvorbis
63
MAKE_ARGS+=	USE_CODEC_VORBIS=1
79
MAKE_ARGS+=	USE_CODEC_VORBIS=1
64
.endif
80
.endif
81
# Mumble
82
.if defined(WITH_MUMBLE)
83
MAKE_ARGS+=	USE_MUMBLE=1
84
.else
85
MAKE_ARGS+=	USE_MUMBLE=0
86
.endif
65
.endif
87
.endif
66
88
67
# SMP is only built with CLIENT.
89
# SMP is only built with CLIENT.
Lines 119-122 Link Here
119
	@${ECHO_CMD}
141
	@${ECHO_CMD}
120
142
121
.include "${.CURDIR}/../quake3-data/Makefile.include"
143
.include "${.CURDIR}/../quake3-data/Makefile.include"
122
.include <bsd.port.post.mk>
144
.include <bsd.port.mk>
(-)ports/games/ioquake3/files/patch-Makefile (-6 / +23 lines)
Lines 1-6 Link Here
1
--- Makefile.orig	2009-04-22 20:54:48.000000000 +0200
1
--- Makefile.orig	2009-04-22 20:54:48.000000000 +0200
2
+++ Makefile	2009-12-08 11:38:10.000000000 +0100
2
+++ Makefile	2010-01-04 20:48:02.000000000 +0100
3
@@ -521,15 +521,22 @@
3
@@ -521,15 +521,29 @@
4
 
4
 
5
 ifeq ($(PLATFORM),freebsd)
5
 ifeq ($(PLATFORM),freebsd)
6
 
6
 
Lines 29-38 Link Here
29
+   CLIENT_CFLAGS = $(SDL_CFLAGS)
29
+   CLIENT_CFLAGS = $(SDL_CFLAGS)
30
+   SERVER_CFLAGS = 
30
+   SERVER_CFLAGS = 
31
+   HAVE_VM_COMPILED = true
31
+   HAVE_VM_COMPILED = true
32
+
33
+  ifeq ($(USE_CURL),1)
34
+    BASE_CFLAGS += -DUSE_CURL
35
+    ifeq ($(USE_CURL_DLOPEN),1)
36
+      BASE_CFLAGS += -DUSE_CURL_DLOPEN
37
+    endif
38
+  endif
32
 
39
 
33
   ifeq ($(USE_OPENAL),1)
40
   ifeq ($(USE_OPENAL),1)
34
     BASE_CFLAGS += -DUSE_OPENAL
41
     BASE_CFLAGS += -DUSE_OPENAL
35
@@ -542,24 +549,6 @@
42
@@ -542,24 +556,6 @@
36
     BASE_CFLAGS += -DUSE_CODEC_VORBIS
43
     BASE_CFLAGS += -DUSE_CODEC_VORBIS
37
   endif
44
   endif
38
 
45
 
Lines 57-66 Link Here
57
   SHLIBEXT=so
64
   SHLIBEXT=so
58
   SHLIBCFLAGS=-fPIC
65
   SHLIBCFLAGS=-fPIC
59
   SHLIBLDFLAGS=-shared $(LDFLAGS)
66
   SHLIBLDFLAGS=-shared $(LDFLAGS)
60
@@ -582,6 +571,27 @@
67
@@ -582,6 +578,37 @@
61
     CLIENT_LIBS += -lvorbisfile -lvorbis -logg
68
     CLIENT_LIBS += -lvorbisfile -lvorbis -logg
62
   endif
69
   endif
63
 
70
 
71
+  ifeq ($(USE_CURL),1)
72
+    ifneq ($(USE_CURL_DLOPEN),1)
73
+      CLIENT_LIBS += -lcurl
74
+    endif
75
+  endif
76
+
77
+  ifeq ($(USE_MUMBLE),1)
78
+    CLIENT_LIBS += -lrt
79
+  endif
80
+
64
+  ifeq ($(ARCH),i386)
81
+  ifeq ($(ARCH),i386)
65
+    ifeq ($(CROSS_COMPILING),1)
82
+    ifeq ($(CROSS_COMPILING),1)
66
+      BASE_CFLAGS += -m32
83
+      BASE_CFLAGS += -m32
Lines 85-91 Link Here
85
 else # ifeq freebsd
102
 else # ifeq freebsd
86
 
103
 
87
 #############################################################################
104
 #############################################################################
88
@@ -1442,6 +1452,9 @@
105
@@ -1442,6 +1469,9 @@
89
   ifeq ($(ARCH),x86_64)
106
   ifeq ($(ARCH),x86_64)
90
     Q3OBJ += $(B)/client/vm_x86_64.o $(B)/client/vm_x86_64_assembler.o
107
     Q3OBJ += $(B)/client/vm_x86_64.o $(B)/client/vm_x86_64_assembler.o
91
   endif
108
   endif
Lines 95-101 Link Here
95
   ifeq ($(ARCH),ppc)
112
   ifeq ($(ARCH),ppc)
96
     Q3OBJ += $(B)/client/vm_powerpc.o $(B)/client/vm_powerpc_asm.o
113
     Q3OBJ += $(B)/client/vm_powerpc.o $(B)/client/vm_powerpc_asm.o
97
   endif
114
   endif
98
@@ -1591,6 +1604,9 @@
115
@@ -1591,6 +1621,9 @@
99
   ifeq ($(ARCH),x86_64)
116
   ifeq ($(ARCH),x86_64)
100
     Q3DOBJ += $(B)/ded/vm_x86_64.o $(B)/ded/vm_x86_64_assembler.o
117
     Q3DOBJ += $(B)/ded/vm_x86_64.o $(B)/ded/vm_x86_64_assembler.o
101
   endif
118
   endif
(-)ports/games/ioquake3/pkg-descr (-3 / +9 lines)
Lines 1-5 Link Here
1
This port creates development snapshots of icculus.org/quake3. The project is
1
This project, icculus.org/quake3 (sometimes referred to ioquake3, or ioq3 for
2
known to seldomly produce releases. Due to the conservative development goals
2
short) aims to build upon id Software's Quake 3 source code release. The
3
of the project, development snapshots are generally considered reliable.
3
source code was released on August 20, 2005 under the GPL. Since then, we have
4
been cleaning up, fixing bugs, and adding features. Our permanent goal is to
5
create the open source Quake 3 distribution upon which people base their games
6
and projects. We also seek to have the perfect version of the engine for
7
playing Quake 3: Arena, Team Arena, and all popular mods. This distribution of
8
the engine has been ported to many new platforms and has had a slew of new
9
features added, along with massive bug extermination.
4
10
5
WWW: http://ioquake3.org/
11
WWW: http://ioquake3.org/
(-)ports/games/ioquake3-devel/Makefile (-3 / +2 lines)
Lines 7-24 Link Here
7
7
8
PORTNAME=	ioquake3-devel
8
PORTNAME=	ioquake3-devel
9
DISTVERSION=	1.36_SVN${SVNREVISION}
9
DISTVERSION=	1.36_SVN${SVNREVISION}
10
PORTREVISION=	0
10
MASTER_SITES=	ftp://deponie.yamagi.org/freebsd/distfiles/ioquake3/ \
11
MASTER_SITES=	ftp://deponie.yamagi.org/freebsd/distfiles/ioquake3/ \
11
		http://deponie.yamagi.org/freebsd/distfiles/ioquake3/
12
		http://deponie.yamagi.org/freebsd/distfiles/ioquake3/
12
13
13
MAINTAINER=	kamikaze@bsdforen.de
14
MAINTAINER=	kamikaze@bsdforen.de
14
COMMENT=	Development SVN snapshots of ioquake3
15
COMMENT=	Development SVN snapshots of ioquake3
15
16
16
BUILD_DEPENDS+=	svnversion:${PORTSDIR}/devel/subversion
17
18
PLIST=		${.CURDIR}/../ioquake3/pkg-plist
17
PLIST=		${.CURDIR}/../ioquake3/pkg-plist
19
PATCHDIR=	${WRKDIR}/freebsd-patchset/
18
PATCHDIR=	${WRKDIR}/freebsd-patchset/
20
19
21
SVNREVISION=	1754
20
SVNREVISION=	1771
22
BINSUFFIX=	-devel
21
BINSUFFIX=	-devel
23
22
24
.include "${.CURDIR}/../ioquake3/Makefile"
23
.include "${.CURDIR}/../ioquake3/Makefile"
(-)ports/games/ioquake3-devel/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (ioquake3-devel-1.36_SVN1754.zip) = 163fe62d8540244a9eda8af66ae62fb2
1
MD5 (ioquake3-devel-1.36_SVN1771.zip) = 1ed74a4cd9ed2c31b5959725e1cf82a2
2
SHA256 (ioquake3-devel-1.36_SVN1754.zip) = f743e4454bb445fd58188107ee0c36eb4ee3be0f9dce9667bec7516bec59136f
2
SHA256 (ioquake3-devel-1.36_SVN1771.zip) = 9d9835c05dc7be1bddd804b8036e3f07cdb9de71b3ca0b8038e0d55b416ff553
3
SIZE (ioquake3-devel-1.36_SVN1754.zip) = 5017181
3
SIZE (ioquake3-devel-1.36_SVN1771.zip) = 4927016
(-)ports/games/ioquake3-devel/pkg-descr (-9 / +3 lines)
Lines 1-11 Link Here
1
This project, icculus.org/quake3 (sometimes referred to ioquake3, or ioq3 for
1
This port builds development snapshots of icculus.org/quake3. The project is
2
short) aims to build upon id Software's Quake 3 source code release. The
2
known to seldomly produce releases. Due to the conservative development goals
3
source code was released on August 20, 2005 under the GPL. Since then, we have
3
of the project, development snapshots are generally considered reliable.
4
been cleaning up, fixing bugs, and adding features. Our permanent goal is to
5
create the open source Quake 3 distribution upon which people base their games
6
and projects. We also seek to have the perfect version of the engine for
7
playing Quake 3: Arena, Team Arena, and all popular mods. This distribution of
8
the engine has been ported to many new platforms and has had a slew of new
9
features added, along with massive bug extermination.
10
4
11
WWW: http://ioquake3.org/
5
WWW: http://ioquake3.org/

Return to bug 142712