View | Details | Raw Unified | Return to bug 180576 | Differences between
and this patch

Collapse All | Expand All

(-)games/ioquake3/Makefile (-97 / +103 lines)
Lines 15-74 Link Here
15
USES=		pkgconfig
15
USES=		pkgconfig
16
USE_GMAKE=	yes
16
USE_GMAKE=	yes
17
17
18
.if defined(PKGNAMESUFFIX) && ${PKGNAMESUFFIX:M*-server}
18
# Port configuration flags:
19
# Server config
19
# 	CLIENT SERVER TOOLS DLRENDERER GAMELIBS OPUS OPENGL2
20
WITH_DEDICATED=	yes
20
IOQ3?=		CLIENT TOOLS GAMELIBS
21
WITHOUT_CLIENT=	yes
21
IOQ3ARCH?=	${ARCH}
22
WITHOUT_SERVER=	yes
22
23
WITHOUT_CURL=	yes
23
.if ! ${IOQ3:MCLIENT} && ! ${IOQ3:MSERVER}
24
WITHOUT_OPENAL=	yes
24
BROKEN=		Slave ports must at least specify IOQ3=CLIENT or IOQ3=SERVER
25
WITHOUT_MUMBLE=	yes
25
.endif
26
WITHOUT_VORBIS=	yes
26
27
WITHOUT_TOOLS=	yes
27
# Client options
28
WITHOUT_DLRENDERER=	yes
28
.if ${IOQ3:MCLIENT}
29
.else
30
# Client config
31
WITH_CLIENT=	yes
32
WITHOUT_DEDICATED=	yes
33
OPTIONS_DEFINE=	SERVER CURL OPENAL MUMBLE VORBIS DEBUG
29
OPTIONS_DEFINE=	SERVER CURL OPENAL MUMBLE VORBIS DEBUG
34
OPTIONS_DEFAULT=	SERVER CURL OPENAL MUMBLE VORBIS
30
OPTIONS_DEFAULT=	SERVER CURL OPENAL MUMBLE VORBIS
35
SERVER_DESC=	Install dedicated server
31
SERVER_DESC=	Install dedicated server
36
MUMBLE_DESC=	Enable Mumble support (no dependencies)
32
MUMBLE_DESC=	Enable Mumble support (no dependencies)
37
. if defined(NO_TOOLS)
33
.endif
38
WITHOUT_TOOLS=	yes
34
.if ${IOQ3:MTOOLS}
39
. else
40
OPTIONS_DEFINE+=	TOOLS
35
OPTIONS_DEFINE+=	TOOLS
41
OPTIONS_DEFAULT+=	TOOLS
36
OPTIONS_DEFAULT+=	TOOLS
42
TOOLS_DESC=	Enable modding tools
37
TOOLS_DESC=	Enable modding tools
43
. endif
38
.endif
44
. if defined(HAS_DLRENDERER)
39
.if ${IOQ3:MDLRENDERER}
45
OPTIONS_DEFINE+=	DLRENDERER
40
OPTIONS_DEFINE+=	DLRENDERER
46
OPTIONS_DEFAULT+=	DLRENDERER
41
OPTIONS_DEFAULT+=	DLRENDERER
47
DLRENDERER_DESC=	Build dynamically loaded renderer
42
DLRENDERER_DESC=	Build dynamically loaded renderer
48
. endif
49
.endif
43
.endif
50
# Common config
44
.if ${IOQ3:MGAMELIBS}
51
.if !defined(NO_GAMELIBS)
52
OPTIONS_DEFINE+=	GAMELIBS
45
OPTIONS_DEFINE+=	GAMELIBS
53
OPTIONS_DEFAULT+=	GAMELIBS
46
OPTIONS_DEFAULT+=	GAMELIBS
54
GAMELIBS_DESC=	Build game libraries
47
GAMELIBS_DESC=	Build game libraries
55
.endif
48
.endif
49
.if ${IOQ3:MOPUS}
50
OPTIONS_DEFINE+=	OPUS
51
OPTIONS_DEFAULT+=	OPUS
52
OPUS_DESC=	Opus audio codec support
53
.endif
56
54
57
MAKE_ARGS+=	DEFAULT_BASEDIR="${Q3DIR}" \
55
MAKE_ARGS+=	DEFAULT_BASEDIR="${Q3DIR}" \
58
		DEFAULT_LIBDIR="${LIBDIR}" \
56
		DEFAULT_LIBDIR="${PREFIX}/${LIBDIR}" \
59
		HOMEPATH="${HOMEPATH}" \
57
		HOMEPATH="${HOMEPATH}" \
60
		VERSION="${Q3ENGINEVER}" \
58
		VERSION="${Q3ENGINEVER}" \
61
		ARCH="${ARCH}" \
59
		ARCH="${IOQ3ARCH}" \
62
		USE_LOCAL_HEADERS=0
60
		USE_LOCAL_HEADERS=0
63
PLIST_SUB+=	LIBDIR="${LIBDIR:S/${PREFIX}\///}" \
64
		ARCH="${ARCH}" \
65
		BINSUFFIX="${BINSUFFIX}"
66
ALL_TARGET=	release
61
ALL_TARGET=	release
67
MAKE_JOBS_SAFE=	yes
62
MAKE_JOBS_SAFE=	yes
68
63
69
LIBDIR=		${PREFIX}/lib/${PORTNAME}${PKGNAMESUFFIX}
64
LIBDIR=		lib/${PORTNAME}${PKGNAMESUFFIX}
70
DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
65
DOCSDIR=	share/doc/${PORTNAME}${PKGNAMESUFFIX}
71
BUILDDIR=	${WRKSRC}/build/${ALL_TARGET}-${OPSYS:L}-${ARCH}
66
BUILDDIR=	${WRKSRC}/build/${ALL_TARGET}-${OPSYS:L}-${IOQ3ARCH}
72
BINSUFFIX?=
67
BINSUFFIX?=
73
HOMEPATH?=	/.${PORTNAME}
68
HOMEPATH?=	/.${PORTNAME}
74
Q3CLIENT?=	ioquake3
69
Q3CLIENT?=	ioquake3
Lines 77-86 Link Here
77
		q3cpp \
72
		q3cpp \
78
		q3lcc \
73
		q3lcc \
79
		q3rcc
74
		q3rcc
75
Q3DOCS?=	README \
76
		id-readme.txt \
77
		md4-readme.txt \
78
		voip-readme.txt
80
Q3BASE?=	baseq3 \
79
Q3BASE?=	baseq3 \
81
		missionpack
80
		missionpack
81
Q3GAMELIBS?=	cgame \
82
		qagame \
83
		ui
82
Q3ICON?=	${PREFIX}/share/pixmaps/quake3.xpm
84
Q3ICON?=	${PREFIX}/share/pixmaps/quake3.xpm
83
Q3RENDERER?=	renderer_opengl1_${ARCH}
85
.if ${IOQ3:MOPENGL2}
86
Q3RENDERER?=	renderer_opengl1_${IOQ3ARCH} renderer_opengl2_${IOQ3ARCH}
87
.else
88
Q3RENDERER?=	renderer_opengl1_${IOQ3ARCH}
89
.endif
84
Q3INSTALL?=
90
Q3INSTALL?=
85
Q3ENGINEVER?=	${DISTVERSION}
91
Q3ENGINEVER?=	${DISTVERSION}
86
92
Lines 97-103 Link Here
97
.endif
103
.endif
98
104
99
.if !defined(DESKTOP_ENTRIES)
105
.if !defined(DESKTOP_ENTRIES)
100
. if ${PORT_OPTIONS:MCLIENT}
106
. if ${IOQ3:MCLIENT}
101
DESKTOP_ENTRIES+=	"${Q3CLIENT} ${Q3ENGINEVER}" "${COMMENT}"  \
107
DESKTOP_ENTRIES+=	"${Q3CLIENT} ${Q3ENGINEVER}" "${COMMENT}"  \
102
		"${Q3ICON}" \
108
		"${Q3ICON}" \
103
		"${Q3CLIENT}${BINSUFFIX}" "Game;" false
109
		"${Q3CLIENT}${BINSUFFIX}" "Game;" false
Lines 109-121 Link Here
109
. endif
115
. endif
110
.endif
116
.endif
111
117
112
.if ! ${PORT_OPTIONS:MCLIENT} && ! ${PORT_OPTIONS:MDEDICATED} && \
118
.if ${IOQ3:MCLIENT}
113
    ! ${PORT_OPTIONS:MSMP}
119
MAKE_ARGS+=	BUILD_CLIENT=1
114
IGNORE=		needs at least one of CLIENT, DEDICATED and SMP options
120
Q3BIN+=		${Q3CLIENT}
121
USE_SDL=	sdl
122
.else
123
MAKE_ARGS+=	BUILD_CLIENT=0
115
.endif
124
.endif
116
125
117
.if ${PORT_OPTIONS:MCLIENT} || ${PORT_OPTIONS:MSMP}
126
.if ${IOQ3:MSERVER}
118
# cURL
127
MAKE_ARGS+=	BUILD_SERVER=1
128
Q3BIN+=		${Q3SERVER}
129
.else
130
MAKE_ARGS+=	BUILD_SERVER=0
131
.endif
132
119
.if ${PORT_OPTIONS:MCURL}
133
.if ${PORT_OPTIONS:MCURL}
120
LIB_DEPENDS+=	curl:${PORTSDIR}/ftp/curl
134
LIB_DEPENDS+=	curl:${PORTSDIR}/ftp/curl
121
MAKE_ARGS+=	USE_CURL=1 USE_CURL_DLOPEN=0
135
MAKE_ARGS+=	USE_CURL=1 USE_CURL_DLOPEN=0
Lines 122-128 Link Here
122
.else
136
.else
123
MAKE_ARGS+=	USE_CURL=0
137
MAKE_ARGS+=	USE_CURL=0
124
.endif
138
.endif
125
# OpenAL
139
126
.if ${PORT_OPTIONS:MOPENAL}
140
.if ${PORT_OPTIONS:MOPENAL}
127
USE_OPENAL=	al
141
USE_OPENAL=	al
128
MAKE_ARGS+=	USE_OPENAL=1 USE_OPENAL_DLOPEN=0
142
MAKE_ARGS+=	USE_OPENAL=1 USE_OPENAL_DLOPEN=0
Lines 129-236 Link Here
129
.else
143
.else
130
MAKE_ARGS+=	USE_OPENAL=0
144
MAKE_ARGS+=	USE_OPENAL=0
131
.endif
145
.endif
132
# SDL
146
133
USE_SDL=	sdl
134
# Vorbis
135
.if ${PORT_OPTIONS:MVORBIS}
147
.if ${PORT_OPTIONS:MVORBIS}
136
LIB_DEPENDS+=	vorbis.4:${PORTSDIR}/audio/libvorbis
148
LIB_DEPENDS+=	vorbis:${PORTSDIR}/audio/libvorbis
137
MAKE_ARGS+=	USE_CODEC_VORBIS=1
149
MAKE_ARGS+=	USE_CODEC_VORBIS=1
138
.else
150
.else
139
MAKE_ARGS+=	USE_CODEC_VORBIS=0
151
MAKE_ARGS+=	USE_CODEC_VORBIS=0
140
.endif
152
.endif
141
# Mumble
142
.if ${PORT_OPTIONS:MMUMBLE}
143
MAKE_ARGS+=	USE_MUMBLE=1
144
.else
145
MAKE_ARGS+=	USE_MUMBLE=0
146
.endif
147
.else
148
# Features that aren't installed without a client
149
WITHOUT_DLRENDERER=	yes
150
.endif
151
153
152
# SMP is only built with CLIENT.
154
.if ${PORT_OPTIONS:MOPUS}
153
.if ${PORT_OPTIONS:MCLIENT} || ${PORT_OPTIONS:MSMP}
155
MAKE_ARGS+=	USE_CODEC_OPUS=1 USE_INTERNAL_OPUS=1
154
MAKE_ARGS+=	BUILD_CLIENT=1
155
PLIST_SUB+=	CLIENT=""
156
Q3BIN+=		${Q3CLIENT}
157
.else
156
.else
158
MAKE_ARGS+=	BUILD_CLIENT=0
157
MAKE_ARGS+=	USE_CODEC_OPUS=0
159
PLIST_SUB+=	CLIENT="@comment "
160
.endif
158
.endif
161
159
162
.if ${PORT_OPTIONS:MDEDICATED}
160
.if ${PORT_OPTIONS:MMUMBLE}
163
MAKE_ARGS+=	BUILD_SERVER=1
161
MAKE_ARGS+=	USE_MUMBLE=1
164
PLIST_SUB+=	DEDICATED=""
165
Q3BIN+=		${Q3SERVER}
166
.else
162
.else
167
MAKE_ARGS+=	BUILD_SERVER=0
163
MAKE_ARGS+=	USE_MUMBLE=0
168
PLIST_SUB+=	DEDICATED="@comment "
169
.endif
164
.endif
170
165
171
.if ${PORT_OPTIONS:MGAMELIBS}
166
.if ${PORT_OPTIONS:MGAMELIBS}
172
MAKE_ARGS+=	BUILD_GAME_SO=1
167
MAKE_ARGS+=	BUILD_GAME_SO=1
173
PLIST_SUB+=	GAMELIBS=""
174
.else
168
.else
175
PLIST_SUB+=	GAMELIBS="@comment "
169
MAKE_ARGS+=	BUILD_GAME_SO=0
176
.endif
170
.endif
177
171
178
# Note that SMP is only supported on OS-X, hence the option has been removed.
172
# Note that SMP is only supported on OS-X, hence the option has been removed.
179
.if ${PORT_OPTIONS:MSMP}
173
.if ${PORT_OPTIONS:MSMP}
180
MAKE_ARGS+=	BUILD_CLIENT_SMP=1
174
MAKE_ARGS+=	BUILD_CLIENT_SMP=1
181
PLIST_SUB+=	SMP=""
182
Q3BIN+=		${Q3CLIENT}-smp
175
Q3BIN+=		${Q3CLIENT}-smp
183
.else
176
.else
184
MAKE_ARGS+=	BUILD_CLIENT_SMP=0
177
MAKE_ARGS+=	BUILD_CLIENT_SMP=0
185
PLIST_SUB+=	SMP="@comment "
186
.endif
178
.endif
187
179
188
.if ${PORT_OPTIONS:MDLRENDERER}
180
.if ${PORT_OPTIONS:MDLRENDERER}
189
PLIST_SUB+=	DLRENDERER=""
190
MAKE_ARGS+=	USE_RENDERER_DLOPEN=1
181
MAKE_ARGS+=	USE_RENDERER_DLOPEN=1
182
. if ${IOQ3:MOPENGL2}
183
Q3DOCS+=	opengl2-readme.txt
184
. endif
191
.else
185
.else
192
MAKE_ARGS+=	USE_RENDERER_DLOPEN=0
186
MAKE_ARGS+=	USE_RENDERER_DLOPEN=0
193
PLIST_SUB+=	DLRENDERER="@comment "
194
.endif
187
.endif
195
188
196
.if ${PORT_OPTIONS:MTOOLS}
189
# Generate a set of install instruction tuples: <cmd>;<src>;<dst>
197
PLIST_SUB+=	TOOLS=""
198
.else
199
PLIST_SUB+=	TOOLS="@comment "
200
.endif
201
202
do-install: ${Q3INSTALL}
203
.for bin in ${Q3BIN}
190
.for bin in ${Q3BIN}
204
	${INSTALL_PROGRAM} ${BUILDDIR}/${bin}.${ARCH} \
191
IOQ3_INST+=	PROGRAM;${bin}.${IOQ3ARCH};bin/${bin}${BINSUFFIX}
205
		${PREFIX}/bin/${bin}${BINSUFFIX}
206
.endfor
192
.endfor
207
.if ${PORT_OPTIONS:MTOOLS}
193
.if ${PORT_OPTIONS:MTOOLS}
208
.for bin in ${Q3TOOLS}
194
. for bin in ${Q3TOOLS}
209
	${INSTALL_PROGRAM} ${BUILDDIR}/tools/${bin} \
195
IOQ3_INST+=	PROGRAM;tools/${bin};bin/${bin}${BINSUFFIX}
210
		${PREFIX}/bin/${bin}${BINSUFFIX}
196
. endfor
211
.endfor
212
.endif
197
.endif
213
.if ${PORT_OPTIONS:MDLRENDERER}
198
.if ${PORT_OPTIONS:MDLRENDERER}
214
.for renderer in ${Q3RENDERER}
199
. for renderer in ${Q3RENDERER}
215
	${MKDIR} ${LIBDIR}
200
IOQ3_INST+=	LIB;${renderer}.so;${LIBDIR}/${renderer}.so
216
	${INSTALL_LIB} ${BUILDDIR}/${renderer}.so ${LIBDIR}
201
. endfor
217
.endfor
218
.endif
202
.endif
219
.if ${PORT_OPTIONS:MGAMELIBS}
203
.if ${PORT_OPTIONS:MGAMELIBS}
220
.for dir in ${Q3BASE}
204
. for dir in ${Q3BASE}
221
	${MKDIR} ${LIBDIR}/${dir}
205
PLIST_DIRS+=	${LIBDIR}/${dir}
222
	${INSTALL_LIB} ${BUILDDIR}/${dir}/*.so ${LIBDIR}/${dir}
206
.  for lib in ${Q3GAMELIBS}
223
.endfor
207
IOQ3_INST+=	LIB;${dir}/${lib}${IOQ3ARCH}.so;${LIBDIR}/${dir}/${lib}${IOQ3ARCH}.so
208
.  endfor
209
. endfor
224
.endif
210
.endif
211
.if ${PORT_OPTIONS:MDLRENDERER} || ${PORT_OPTIONS:MGAMELIBS}
212
PLIST_DIRS+=	${LIBDIR}
213
.endif
225
.if ${PORT_OPTIONS:MDOCS}
214
.if ${PORT_OPTIONS:MDOCS}
226
	${MKDIR} ${DOCSDIR}
215
PLIST_DIRS+=	${DOCSDIR}
227
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
216
. for doc in ${Q3DOCS}
217
IOQ3_INST+=	DATA;../../${doc};${DOCSDIR}/${doc}
218
. endfor
228
.endif
219
.endif
229
220
221
# Generate PLIST_FILES
222
.for inst in ${IOQ3_INST}
223
PLIST_FILES+=	${inst:C/.*;//}
224
.endfor
225
226
# Generate install target
227
do-install: ${Q3INSTALL}
228
.for dir in ${PLIST_DIRS}
229
	${MKDIR} ${PREFIX}/${dir}
230
.endfor
231
.for inst in ${IOQ3_INST}
232
	${INSTALL_${inst:C/;.*//}} ${BUILDDIR}/${inst:C/[^;]*;//:C/;.*//} \
233
		${PREFIX}/${inst:C/.*;//}
234
.endfor
235
230
post-install:
236
post-install:
231
	@${ECHO_CMD}
237
	@${JOT} -s '' -b= 78
232
	@${CAT} ${PKGMESSAGE}
238
	@${CAT} ${PKGMESSAGE}
233
	@${ECHO_CMD}
239
	@${JOT} -s '' -b= 78
234
240
235
.if !defined(Q3TOTALCONV)
241
.if !defined(Q3TOTALCONV)
236
.include "${.CURDIR}/../quake3-data/Makefile.include"
242
.include "${.CURDIR}/../quake3-data/Makefile.include"
(-)games/ioquake3/pkg-descr (-1 / +1 lines)
Lines 8-11 Link Here
8
the engine has been ported to many new platforms and has had a slew of new
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.
9
features added, along with massive bug extermination.
10
10
11
WWW:	http://ioquake3.org/
11
WWW: http://ioquake3.org/
(-)games/ioquake3/pkg-message (-4 lines)
Lines 1-5 Link Here
1
==============================================================================
2
3
Should the game freeze when entering a match, try to change the value of
1
Should the game freeze when entering a match, try to change the value of
4
com_zoneMegs (e.g. to 48).
2
com_zoneMegs (e.g. to 48).
5
3
Lines 7-11 Link Here
7
they have additional variables which would be removed if other engines
5
they have additional variables which would be removed if other engines
8
overwrite them. But you can safely copy the original directory to the new one
6
overwrite them. But you can safely copy the original directory to the new one
9
for the first time.
7
for the first time.
10
11
==============================================================================
(-)games/ioquake3/pkg-plist (-19 lines)
Lines 1-19 Link Here
1
%%DEDICATED%%bin/ioq3ded%%BINSUFFIX%%
2
%%CLIENT%%bin/ioquake3%%BINSUFFIX%%
3
%%SMP%%bin/ioquake3-smp%%BINSUFFIX%%
4
%%TOOLS%%bin/q3asm%%BINSUFFIX%%
5
%%TOOLS%%bin/q3cpp%%BINSUFFIX%%
6
%%TOOLS%%bin/q3lcc%%BINSUFFIX%%
7
%%TOOLS%%bin/q3rcc%%BINSUFFIX%%
8
%%DLRENDERER%%%%LIBDIR%%/renderer_opengl1_%%ARCH%%.so
9
%%GAMELIBS%%%%LIBDIR%%/baseq3/cgame%%ARCH%%.so
10
%%GAMELIBS%%%%LIBDIR%%/baseq3/qagame%%ARCH%%.so
11
%%GAMELIBS%%%%LIBDIR%%/baseq3/ui%%ARCH%%.so
12
%%GAMELIBS%%%%LIBDIR%%/missionpack/cgame%%ARCH%%.so
13
%%GAMELIBS%%%%LIBDIR%%/missionpack/qagame%%ARCH%%.so
14
%%GAMELIBS%%%%LIBDIR%%/missionpack/ui%%ARCH%%.so
15
%%PORTDOCS%%%%DOCSDIR%%/README
16
%%GAMELIBS%%@dirrm %%LIBDIR%%/missionpack
17
%%GAMELIBS%%@dirrm %%LIBDIR%%/baseq3
18
@dirrmtry %%LIBDIR%%
19
%%PORTDOCS%%@dirrm %%DOCSDIR%%
(-)games/ioquake3-devel/Makefile (-5 / +7 lines)
Lines 2-24 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME?=	ioquake3-devel
4
PORTNAME?=	ioquake3-devel
5
DISTVERSION?=	1.36_SVN${SVNREVISION}
5
DISTVERSION?=	GIT${GITREVISION}
6
PORTREVISION?=	0
6
PORTREVISION?=	0
7
MASTER_SITES?=	ftp://deponie.yamagi.org/freebsd/distfiles/ioquake3/ \
7
MASTER_SITES?=	ftp://deponie.yamagi.org/freebsd/distfiles/ioquake3/ \
8
		http://deponie.yamagi.org/freebsd/distfiles/ioquake3/
8
		http://deponie.yamagi.org/freebsd/distfiles/ioquake3/
9
EXTRACT_SUFX?=	.tar.xz
9
10
10
MAINTAINER?=	kamikaze@bsdforen.de
11
MAINTAINER?=	kamikaze@bsdforen.de
11
COMMENT?=	Development SVN snapshots of ioquake3
12
COMMENT?=	Development GIT snapshots of ioquake3
12
13
13
MASTERDIR=	${.CURDIR}/../ioquake3
14
MASTERDIR=	${.CURDIR}/../ioquake3
14
DESCR?=		${.CURDIR}/../${PORTNAME}/pkg-descr
15
DESCR?=		${.CURDIR}/../${PORTNAME}/pkg-descr
15
DISTINFO_FILE?=	${.CURDIR}/../${PORTNAME}/distinfo
16
DISTINFO_FILE?=	${.CURDIR}/../${PORTNAME}/distinfo
16
PATCHDIR?=	${WRKDIR}/freebsd-patchset/
17
PATCHDIR?=	${.CURDIR}/../${PORTNAME}/files
17
PKGMESSAGE?=	${.CURDIR}/../${PORTNAME}/pkg-message
18
PKGMESSAGE?=	${.CURDIR}/../${PORTNAME}/pkg-message
18
19
19
SVNREVISION?=	2318
20
GITREVISION?=	2178
20
BINSUFFIX?=	-devel
21
BINSUFFIX?=	-devel
21
22
22
HAS_DLRENDERER?=	yes
23
IOQ3?=		CLIENT TOOLS DLRENDERER GAMELIBS OPUS OPENGL2
24
IOQ3ARCH?=	${ARCH:S/i386/x86/:S/amd64/x86_64/}
23
25
24
.include "${MASTERDIR}/Makefile"
26
.include "${MASTERDIR}/Makefile"
(-)games/ioquake3-devel/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (ioquake3-devel-1.36_SVN2318.zip) = 5e82c2108425ef3ce7de463ea924b8b83e6d84b38a60c4561195b4d37ab76c15
1
SHA256 (ioquake3-devel-GIT2178.tar.xz) = 9567243047c7c0ef6f9e329a1c8be826bdce4f12d02685eb51ec3a8058324eb9
2
SIZE (ioquake3-devel-1.36_SVN2318.zip) = 5657343
2
SIZE (ioquake3-devel-GIT2178.tar.xz) = 4167780
(-)games/ioquake3-devel/pkg-message (-4 lines)
Lines 1-6 Link Here
1
==============================================================================
2
3
Should the game have trouble meeting com_maxfps, which would result in less
1
Should the game have trouble meeting com_maxfps, which would result in less
4
effective strafe jumping, set com_busywait 1 to restore the old behaviour.
2
effective strafe jumping, set com_busywait 1 to restore the old behaviour.
5
6
==============================================================================
(-)games/ioquake3-devel-server/Makefile (-5 / +3 lines)
Lines 1-9 Link Here
1
# New ports collection makefile for:	ioquake3-devel-server
1
# Created by: Dominic Fandrey
2
# Date created:				19 May 2012
3
# Whom:					Dominic Fandrey <kamikaze@bsdforen.de>
4
#
5
# $FreeBSD$
2
# $FreeBSD$
6
#
7
3
8
PORTNAME=	ioquake3-devel
4
PORTNAME=	ioquake3-devel
9
PKGNAMESUFFIX=	-server
5
PKGNAMESUFFIX=	-server
Lines 14-17 Link Here
14
UNIQUENAME=	${PORTNAME}${PKGNAMESUFFIX}
10
UNIQUENAME=	${PORTNAME}${PKGNAMESUFFIX}
15
MASTERDIR=	${.CURDIR}/../${PORTNAME}
11
MASTERDIR=	${.CURDIR}/../${PORTNAME}
16
12
13
IOQ3=		SERVER GAMELIBS
14
17
.include "${MASTERDIR}/Makefile"
15
.include "${MASTERDIR}/Makefile"
(-)games/ioquake3-server/Makefile (-5 / +3 lines)
Lines 1-9 Link Here
1
# New ports collection makefile for:	ioquake3-server
1
# Created by: Dominic Fandrey <kamikaze@bsdforen.de>
2
# Date created:				19 May 2012
3
# Whom:					Dominic Fandrey <kamikaze@bsdforen.de>
4
#
5
# $FreeBSD$
2
# $FreeBSD$
6
#
7
3
8
PORTNAME=	ioquake3
4
PORTNAME=	ioquake3
9
PKGNAMESUFFIX=	-server
5
PKGNAMESUFFIX=	-server
Lines 14-17 Link Here
14
UNIQUENAME=	${PORTNAME}${PKGNAMESUFFIX}
10
UNIQUENAME=	${PORTNAME}${PKGNAMESUFFIX}
15
MASTERDIR=	${.CURDIR}/../${PORTNAME}
11
MASTERDIR=	${.CURDIR}/../${PORTNAME}
16
12
13
IOQ3=		SERVER GAMELIBS
14
17
.include "${MASTERDIR}/Makefile"
15
.include "${MASTERDIR}/Makefile"
(-)games/iourbanterror/Makefile (-18 / +8 lines)
Lines 1-15 Link Here
1
# New ports collection makefile for:	ioquake3
1
# Created by: alepulver
2
# Date created:				3 Jun 2006
3
# Whom:					alepulver
4
#
5
# $FreeBSD$
2
# $FreeBSD$
6
#
7
3
8
PORTNAME=	iourbanterror
4
PORTNAME=	iourbanterror
9
PORTVERSION=	${GAMEVERSION}.s${SVNREVISION}
5
PORTVERSION=	${GAMEVERSION}.g${GITREVISION}
10
PORTEPOCH=	1
6
PORTEPOCH=	1
11
CATEGORIES=	games
7
CATEGORIES=	games
12
DISTNAME=	ioquake3-devel-1.36_SVN${SVNREVISION}
8
DISTNAME=	ioquake3-devel-GIT${GITREVISION}
13
9
14
MAINTAINER=	kamikaze@bsdforen.de
10
MAINTAINER=	kamikaze@bsdforen.de
15
COMMENT=	Quake 3 engine modified for Urban Terror (based on ioquake3)
11
COMMENT=	Quake 3 engine modified for Urban Terror (based on ioquake3)
Lines 18-31 Link Here
18
14
19
MASTERDIR=	${.CURDIR}/../ioquake3-devel
15
MASTERDIR=	${.CURDIR}/../ioquake3-devel
20
DISTINFO_FILE=	${.CURDIR}/../ioquake3-devel/distinfo
16
DISTINFO_FILE=	${.CURDIR}/../ioquake3-devel/distinfo
21
PLIST=		${.CURDIR}/../${PORTNAME}/pkg-plist
22
17
23
NO_GAMELIBS=	yes
18
IOQ3?=		CLIENT DLRENDERER OPUS OPENGL2
24
NO_TOOLS=	yes
19
25
# The docs belong to ioquake3
20
# The docs belong to ioquake3
26
NOPORTDOCS=	yes
21
OPTIONS_EXCLUDE=	DOCS
27
GAMEVERSION=	4.1.1
22
GAMEVERSION=	4.2.014
28
Q3ENGINEVER=	1.36_SVN${SVNREVISION}+${GAMEVERSION}
23
Q3ENGINEVER=	GIT${GITREVISION}+${GAMEVERSION}
29
Q3TOTALCONV=	yes
24
Q3TOTALCONV=	yes
30
Q3DIR=		${PREFIX}/share/quake3
25
Q3DIR=		${PREFIX}/share/quake3
31
Q3ICON=		${PREFIX}/share/quake3/q3ut4/q3ut.ico
26
Q3ICON=		${PREFIX}/share/quake3/q3ut4/q3ut.ico
Lines 38-49 Link Here
38
MAKE_ARGS+=	BUILD_MISSIONPACK=0 \
33
MAKE_ARGS+=	BUILD_MISSIONPACK=0 \
39
		BUILD_STANDALONE=1
34
		BUILD_STANDALONE=1
40
35
41
UTPATCHES=	${.CURDIR}/../${PORTNAME}/files/*
42
43
post-patch:
36
post-patch:
44
	@for utpatch in ${UTPATCHES}; do \
45
		${PATCH} -sd "${WRKSRC}" < $$utpatch; \
46
	done
47
	@${REINPLACE_CMD} \
37
	@${REINPLACE_CMD} \
48
		-e 's/ioquake3/${Q3CLIENT}/g' \
38
		-e 's/ioquake3/${Q3CLIENT}/g' \
49
		-e 's/ioq3ded/${Q3SERVER}/g' \
39
		-e 's/ioq3ded/${Q3SERVER}/g' \
(-)games/iourbanterror/pkg-descr (-1 / +1 lines)
Lines 9-12 Link Here
9
This port installs a modified ioquake3 engine for Urban Terror called
9
This port installs a modified ioquake3 engine for Urban Terror called
10
ioUrbanTerror, and depends on the data, resulting in a playable game.
10
ioUrbanTerror, and depends on the data, resulting in a playable game.
11
11
12
WWW:	http://www.urbanterror.info/
12
WWW: http://www.urbanterror.info/
(-)games/iourbanterror/pkg-message (-4 lines)
Lines 1-5 Link Here
1
==============================================================================
2
3
Note, that the port was switched over to use the original ioquake project
1
Note, that the port was switched over to use the original ioquake project
4
source code instead of code provided by the UrbanTerror project. The
2
source code instead of code provided by the UrbanTerror project. The
5
UrbanTerror project is switching to a closed source licensing model:
3
UrbanTerror project is switching to a closed source licensing model:
Lines 7-11 Link Here
7
5
8
Should the game have trouble meeting com_maxfps, set com_busywait 1 to restore
6
Should the game have trouble meeting com_maxfps, set com_busywait 1 to restore
9
the old behaviour.
7
the old behaviour.
10
11
==============================================================================
(-)games/iourbanterror/pkg-plist (-5 lines)
Lines 1-5 Link Here
1
%%DEDICATED%%bin/ioUrTded
2
%%CLIENT%%bin/ioUrbanTerror
3
%%SMP%%bin/ioUrbanTerror-smp
4
%%DLRENDERER%%%%LIBDIR%%/renderer_opengl1_%%ARCH%%.so
5
%%DLRENDERER%%@dirrm %%LIBDIR%%
(-)games/iourbanterror-server/Makefile (-5 / +3 lines)
Lines 1-9 Link Here
1
# New ports collection makefile for:	iourbanterror-server
1
# Created by: Dominic Fandrey
2
# Date created:				19 May 2012
3
# Whom:					Dominic Fandrey <kamikaze@bsdforen.de>
4
#
5
# $FreeBSD$
2
# $FreeBSD$
6
#
7
3
8
PORTNAME=	iourbanterror
4
PORTNAME=	iourbanterror
9
PKGNAMESUFFIX=	-server
5
PKGNAMESUFFIX=	-server
Lines 14-17 Link Here
14
UNIQUENAME=	${PORTNAME}${PKGNAMESUFFIX}
10
UNIQUENAME=	${PORTNAME}${PKGNAMESUFFIX}
15
MASTERDIR=	${.CURDIR}/../${PORTNAME}
11
MASTERDIR=	${.CURDIR}/../${PORTNAME}
16
12
13
IOQ3=		SERVER
14
17
.include "${MASTERDIR}/Makefile"
15
.include "${MASTERDIR}/Makefile"
(-)games/openarena/Makefile (-12 / +5 lines)
Lines 1-9 Link Here
1
# New ports collection makefile for:	openarena
1
# Created by: Josh Tolbert
2
# Date created:				2007-08-01
3
# Whom:					Josh Tolbert <hemi@puresimplicity.net>
4
#
5
# $FreeBSD$
2
# $FreeBSD$
6
#
7
3
8
PORTNAME=	openarena
4
PORTNAME=	openarena
9
PORTVERSION=	${GAMEVERSION}.s${SVNREVISION}
5
PORTVERSION=	${GAMEVERSION}.s${SVNREVISION}
Lines 24-42 Link Here
24
DESCR=		${.CURDIR}/../${PORTNAME}/pkg-descr
20
DESCR=		${.CURDIR}/../${PORTNAME}/pkg-descr
25
DISTINFO_FILE=	${.CURDIR}/../${PORTNAME}/distinfo
21
DISTINFO_FILE=	${.CURDIR}/../${PORTNAME}/distinfo
26
PATCHDIR=	${.CURDIR}/../${PORTNAME}/files
22
PATCHDIR=	${.CURDIR}/../${PORTNAME}/files
27
PLIST=		${.CURDIR}/../${PORTNAME}/pkg-plist
28
PKGMESSAGE=	${.CURDIR}/../${PORTNAME}/pkg-message
23
PKGMESSAGE=	${.CURDIR}/../${PORTNAME}/pkg-message
29
24
30
NO_GAMELIBS=	yes
25
IOQ3?=		CLIENT
31
NO_TOOLS=	yes
26
IOQ3ARCH?=	${ARCH}
32
# OpenArena doc is too messy to bother
27
# OpenArena doc is too messy to bother
33
NOPORTDOCS=	yes
28
OPTIONS_EXCLUDE=	DOCS
34
# Dynamically loaded renderer not yet supported
35
WITHOUT_DLRENDERER=	yes
36
29
37
GAMEVERSION=	0.8.8
30
GAMEVERSION=	0.8.8
38
SVNREVISION=	1910
31
SVNREVISION=	1910
39
Q3ENGINEVER=	1.36_SVN${SVNREVISION}+${GAMEVERSION}
32
Q3ENGINEVER=	SVN${SVNREVISION}+${GAMEVERSION}
40
Q3TOTALCONV=	yes
33
Q3TOTALCONV=	yes
41
Q3CLIENT=	openarena
34
Q3CLIENT=	openarena
42
Q3SERVER=	oa_ded
35
Q3SERVER=	oa_ded
(-)games/openarena/pkg-descr (-1 / +1 lines)
Lines 4-7 Link Here
4
Domination, Overload, Harvester, and more. There are 17 unique player models to
4
Domination, Overload, Harvester, and more. There are 17 unique player models to
5
choose from and 12 weapons.
5
choose from and 12 weapons.
6
6
7
WWW:	http://openarena.ws/
7
WWW: http://openarena.ws/
(-)games/openarena/pkg-message (-4 lines)
Lines 1-6 Link Here
1
==============================================================================
2
3
Should the game have trouble meeting com_maxfps, which would result in less
1
Should the game have trouble meeting com_maxfps, which would result in less
4
effective strafe jumping, set com_busywait 1 to restore the old behaviour.
2
effective strafe jumping, set com_busywait 1 to restore the old behaviour.
5
6
==============================================================================
(-)games/openarena/pkg-plist (-3 lines)
Lines 1-3 Link Here
1
%%DEDICATED%%bin/oa_ded%%BINSUFFIX%%
2
%%CLIENT%%bin/openarena%%BINSUFFIX%%
3
%%SMP%%bin/openarena-smp%%BINSUFFIX%%
(-)games/openarena-server/Makefile (-5 / +3 lines)
Lines 1-9 Link Here
1
# New ports collection makefile for:	openarena-server
1
# Created by: Dominic Fandrey
2
# Date created:				19 May 2012
3
# Whom:					Dominic Fandrey <kamikaze@bsdforen.de>
4
#
5
# $FreeBSD$
2
# $FreeBSD$
6
#
7
3
8
PORTNAME=	openarena
4
PORTNAME=	openarena
9
PKGNAMESUFFIX=	-server
5
PKGNAMESUFFIX=	-server
Lines 14-17 Link Here
14
UNIQUENAME=	${PORTNAME}${PKGNAMESUFFIX}
10
UNIQUENAME=	${PORTNAME}${PKGNAMESUFFIX}
15
MASTERDIR=	${.CURDIR}/../${PORTNAME}
11
MASTERDIR=	${.CURDIR}/../${PORTNAME}
16
12
13
IOQ3=		SERVER
14
17
.include "${MASTERDIR}/Makefile"
15
.include "${MASTERDIR}/Makefile"
(-)games/urbanterror-data/Makefile (-15 / +18 lines)
Lines 1-18 Link Here
1
# New ports collection makefile for:	urbanterror-data
1
# Created by: alepulver
2
# Date created:				2007-09-10
3
# Whom:					alepulver
4
#
5
# $FreeBSD$
2
# $FreeBSD$
6
#
7
3
8
PORTNAME=	data
4
PORTNAME=	data
9
PORTVERSION=	4.1.1
5
PORTVERSION=	4.2.014
10
CATEGORIES=	games
6
CATEGORIES=	games
11
MASTER_SITES=	ftp://ftp.snt.utwente.nl/pub/games/urbanterror/full_install/linux_or_mac/ \
7
MASTER_SITES=	http://www.ftwgl.com/files/mirror/ \
12
		http://www.iourt.com/files/ \
8
		http://www.f1m.fr/uploads/urt/ \
13
		http://urbanterror.mtc-team.fr/
9
		http://maps.goreclan.net/
14
PKGNAMEPREFIX=	urbanterror-
10
PKGNAMEPREFIX=	urbanterror-
15
DISTNAME=	UrbanTerror${PORTVERSION:S/.//g}
11
DISTNAME=	UrbanTerror${URT_VER}_full${URT_REV}
16
EXTRACT_SUFX=	.zip
12
EXTRACT_SUFX=	.zip
17
EXTRACT_ONLY=
13
EXTRACT_ONLY=
18
14
Lines 23-40 Link Here
23
NO_PACKAGE=	Package will be 1GB; set FORCE_PACKAGE if you really want it
19
NO_PACKAGE=	Package will be 1GB; set FORCE_PACKAGE if you really want it
24
20
25
DATADIR=	${PREFIX}/share/quake3
21
DATADIR=	${PREFIX}/share/quake3
22
DOCSDIR=	${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
26
23
24
URT_VER=	${PORTVERSION:C/([0-9]+).([0-9]+).*/\1\2/}
25
URT_REV=	${PORTVERSION:C/([0-9]+\.[0-9]+).*\.([0-9]+)/\2/}
26
27
PLIST_SUB+=	VER=${URT_VER}
28
29
.include <bsd.port.options.mk>
30
27
do-install:
31
do-install:
28
	${MKDIR} ${DATADIR}/q3ut4
32
	${MKDIR} ${DATADIR}/q3ut4
29
	${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${DISTFILES} \
33
	${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${DISTFILES} \
30
		${EXTRACT_AFTER_ARGS} -C ${DATADIR} --strip-components 1 \
34
		${EXTRACT_AFTER_ARGS} -C ${DATADIR} --strip-components 1 \
31
		UrbanTerror/q3ut4
35
		UrbanTerror${URT_VER}/q3ut4
32
.if !defined(NOPORTDOCS)
36
.if ${PORT_OPTIONS:MDOCS}
33
	${MKDIR} ${DOCSDIR}
37
	${MKDIR} ${DOCSDIR}
34
	${MV} ${DATADIR}/q3ut4/readme${PORTVERSION:S/.//:C/\..*//}.txt \
38
	${MV} ${DATADIR}/q3ut4/readme${URT_VER}.txt ${DOCSDIR}
35
		${DOCSDIR}/readme${PORTVERSION:S/.//g}.txt
36
.else
39
.else
37
	${RM} ${DATADIR}/q3ut4/readme${PORTVERSION:S/.//:C/\..*//}.txt
40
	${RM} ${DATADIR}/q3ut4/readme${URT_VER}.txt
38
.endif
41
.endif
39
42
40
.include <bsd.port.mk>
43
.include <bsd.port.mk>
(-)games/urbanterror-data/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (UrbanTerror411.zip) = 32d578c556975db2b09735d8be49b575cc0bfc4d379ca57d9981c656115a6f47
1
SHA256 (UrbanTerror42_full014.zip) = 52618f40223baedf37b0a97fc99fd05d3915d20eaff38c71e4eeb66835c7d169
2
SIZE (UrbanTerror411.zip) = 1074190065
2
SIZE (UrbanTerror42_full014.zip) = 1548345447
(-)games/urbanterror-data/pkg-descr (-1 / +1 lines)
Lines 9-12 Link Here
9
This port only contains the data, and can be played with ioUrbanTerror
9
This port only contains the data, and can be played with ioUrbanTerror
10
(games/iourbanterror) or any other Quake 3 Arena compatible engine.
10
(games/iourbanterror) or any other Quake 3 Arena compatible engine.
11
11
12
WWW:	http://www.urbanterror.net/
12
WWW: http://www.urbanterror.net/
(-)games/urbanterror-data/pkg-plist (-15 / +30 lines)
Lines 1-19 Link Here
1
%%PORTDOCS%%%%DOCSDIR%%/readme411.txt
1
%%PORTDOCS%%%%DOCSDIR%%/readme%%VER%%.txt
2
%%DATADIR%%/q3ut4/QIIIA Game Source (SDK) License.doc
2
%%DATADIR%%/q3ut4/How_To_Install.txt
3
%%DATADIR%%/q3ut4/Urban Terror on the Web.url
3
%%DATADIR%%/q3ut4/QIIIA_Game_Source_License.doc
4
%%DATADIR%%/q3ut4/autoexec.cfg
4
%%DATADIR%%/q3ut4/autoexec_example.cfg
5
%%DATADIR%%/q3ut4/demos/tutorial.dm_68
5
%%DATADIR%%/q3ut4/mapcycle_example.txt
6
%%DATADIR%%/q3ut4/description.txt
6
%%DATADIR%%/q3ut4/server_example.cfg
7
%%DATADIR%%/q3ut4/mapcycle.txt
8
%%DATADIR%%/q3ut4/q3ut.ico
9
%%DATADIR%%/q3ut4/screenshots/shot0000.jpg
10
%%DATADIR%%/q3ut4/server.cfg
11
%%DATADIR%%/q3ut4/ut4_commune.pk3
7
%%DATADIR%%/q3ut4/ut4_commune.pk3
12
%%DATADIR%%/q3ut4/zpak000.pk3
8
%%DATADIR%%/q3ut4/ut4_jumpents.pk3
13
%%DATADIR%%/q3ut4/zpak000_assets.pk3
9
%%DATADIR%%/q3ut4/zUrT42_0001.pk3
14
%%DATADIR%%/q3ut4/zpak001_assets.pk3
10
%%DATADIR%%/q3ut4/zUrT42_0002.pk3
15
@dirrm %%DATADIR%%/q3ut4/screenshots
11
%%DATADIR%%/q3ut4/zUrT42_0003.pk3
16
@dirrm %%DATADIR%%/q3ut4/demos
12
%%DATADIR%%/q3ut4/zUrT42_0004.pk3
13
%%DATADIR%%/q3ut4/zUrT42_0005.pk3
14
%%DATADIR%%/q3ut4/zUrT42_0006.pk3
15
%%DATADIR%%/q3ut4/zUrT42_0007.pk3
16
%%DATADIR%%/q3ut4/zUrT42_0008.pk3
17
%%DATADIR%%/q3ut4/zUrT42_0009.pk3
18
%%DATADIR%%/q3ut4/zUrT42_0010.pk3
19
%%DATADIR%%/q3ut4/zUrT42_0011.pk3
20
%%DATADIR%%/q3ut4/zUrT42_0012.pk3
21
%%DATADIR%%/q3ut4/zUrT42_0013.pk3
22
%%DATADIR%%/q3ut4/zUrT42_0014.pk3
23
%%DATADIR%%/q3ut4/zUrT42_0015.pk3
24
%%DATADIR%%/q3ut4/zUrT42_0016.pk3
25
%%DATADIR%%/q3ut4/zUrT42_0017.pk3
26
%%DATADIR%%/q3ut4/zUrT42_0018.pk3
27
%%DATADIR%%/q3ut4/zUrT42_0019.pk3
28
%%DATADIR%%/q3ut4/zUrT42_0020.pk3
29
%%DATADIR%%/q3ut4/zUrT42_0021.pk3
30
%%DATADIR%%/q3ut4/zUrT42_0022.pk3
31
%%DATADIR%%/q3ut4/zUrT42_qvm.pk3
17
@dirrm %%DATADIR%%/q3ut4
32
@dirrm %%DATADIR%%/q3ut4
18
@dirrmtry %%DATADIR%%
33
@dirrmtry %%DATADIR%%
19
%%PORTDOCS%%@dirrm %%DOCSDIR%%
34
%%PORTDOCS%%@dirrm %%DOCSDIR%%

Return to bug 180576