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

Collapse All | Expand All

(-)games/ioquake3/Makefile (-35 / +18 lines)
Lines 15-54 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 CLIENT SERVER TOOLS DLRENDERER GAMELIBS
19
# Server config
19
IOQ3?=		CLIENT TOOLS GAMELIBS
20
WITH_DEDICATED=	yes
20
21
WITHOUT_CLIENT=	yes
21
.if ! ${IOQ3:MCLIENT} && ! ${IOQ3:MSERVER}
22
WITHOUT_SERVER=	yes
22
BROKEN=		Slave ports must at least specify IOQ3=CLIENT or IOQ3=SERVER
23
WITHOUT_CURL=	yes
23
.endif
24
WITHOUT_OPENAL=	yes
24
25
WITHOUT_MUMBLE=	yes
25
# Client options
26
WITHOUT_VORBIS=	yes
26
.if ${IOQ3:MCLIENT}
27
WITHOUT_TOOLS=	yes
28
WITHOUT_DLRENDERER=	yes
29
.else
30
# Client config
31
WITH_CLIENT=	yes
32
WITHOUT_DEDICATED=	yes
33
OPTIONS_DEFINE=	SERVER CURL OPENAL MUMBLE VORBIS DEBUG
27
OPTIONS_DEFINE=	SERVER CURL OPENAL MUMBLE VORBIS DEBUG
34
OPTIONS_DEFAULT=	SERVER CURL OPENAL MUMBLE VORBIS
28
OPTIONS_DEFAULT=	SERVER CURL OPENAL MUMBLE VORBIS
35
SERVER_DESC=	Install dedicated server
29
SERVER_DESC=	Install dedicated server
36
MUMBLE_DESC=	Enable Mumble support (no dependencies)
30
MUMBLE_DESC=	Enable Mumble support (no dependencies)
37
. if defined(NO_TOOLS)
31
.endif
38
WITHOUT_TOOLS=	yes
32
.if ${IOQ3:MTOOLS}
39
. else
40
OPTIONS_DEFINE+=	TOOLS
33
OPTIONS_DEFINE+=	TOOLS
41
OPTIONS_DEFAULT+=	TOOLS
34
OPTIONS_DEFAULT+=	TOOLS
42
TOOLS_DESC=	Enable modding tools
35
TOOLS_DESC=	Enable modding tools
43
. endif
36
.endif
44
. if defined(HAS_DLRENDERER)
37
.if ${IOQ3:MDLRENDERER}
45
OPTIONS_DEFINE+=	DLRENDERER
38
OPTIONS_DEFINE+=	DLRENDERER
46
OPTIONS_DEFAULT+=	DLRENDERER
39
OPTIONS_DEFAULT+=	DLRENDERER
47
DLRENDERER_DESC=	Build dynamically loaded renderer
40
DLRENDERER_DESC=	Build dynamically loaded renderer
48
. endif
49
.endif
41
.endif
50
# Common config
42
.if ${IOQ3:MGAMELIBS}
51
.if !defined(NO_GAMELIBS)
52
OPTIONS_DEFINE+=	GAMELIBS
43
OPTIONS_DEFINE+=	GAMELIBS
53
OPTIONS_DEFAULT+=	GAMELIBS
44
OPTIONS_DEFAULT+=	GAMELIBS
54
GAMELIBS_DESC=	Build game libraries
45
GAMELIBS_DESC=	Build game libraries
Lines 97-103 Link Here
97
.endif
88
.endif
98
89
99
.if !defined(DESKTOP_ENTRIES)
90
.if !defined(DESKTOP_ENTRIES)
100
. if ${PORT_OPTIONS:MCLIENT}
91
. if ${IOQ3:MCLIENT}
101
DESKTOP_ENTRIES+=	"${Q3CLIENT} ${Q3ENGINEVER}" "${COMMENT}"  \
92
DESKTOP_ENTRIES+=	"${Q3CLIENT} ${Q3ENGINEVER}" "${COMMENT}"  \
102
		"${Q3ICON}" \
93
		"${Q3ICON}" \
103
		"${Q3CLIENT}${BINSUFFIX}" "Game;" false
94
		"${Q3CLIENT}${BINSUFFIX}" "Game;" false
Lines 109-120 Link Here
109
. endif
100
. endif
110
.endif
101
.endif
111
102
112
.if ! ${PORT_OPTIONS:MCLIENT} && ! ${PORT_OPTIONS:MDEDICATED} && \
103
.if ${IOQ3:MCLIENT}
113
    ! ${PORT_OPTIONS:MSMP}
114
IGNORE=		needs at least one of CLIENT, DEDICATED and SMP options
115
.endif
116
117
.if ${PORT_OPTIONS:MCLIENT} || ${PORT_OPTIONS:MSMP}
118
# cURL
104
# cURL
119
.if ${PORT_OPTIONS:MCURL}
105
.if ${PORT_OPTIONS:MCURL}
120
LIB_DEPENDS+=	curl:${PORTSDIR}/ftp/curl
106
LIB_DEPENDS+=	curl:${PORTSDIR}/ftp/curl
Lines 145-156 Link Here
145
MAKE_ARGS+=	USE_MUMBLE=0
131
MAKE_ARGS+=	USE_MUMBLE=0
146
.endif
132
.endif
147
.else
133
.else
148
# Features that aren't installed without a client
149
WITHOUT_DLRENDERER=	yes
150
.endif
134
.endif
151
135
152
# SMP is only built with CLIENT.
136
.if ${IOQ3:MCLIENT}
153
.if ${PORT_OPTIONS:MCLIENT} || ${PORT_OPTIONS:MSMP}
154
MAKE_ARGS+=	BUILD_CLIENT=1
137
MAKE_ARGS+=	BUILD_CLIENT=1
155
PLIST_SUB+=	CLIENT=""
138
PLIST_SUB+=	CLIENT=""
156
Q3BIN+=		${Q3CLIENT}
139
Q3BIN+=		${Q3CLIENT}
Lines 159-165 Link Here
159
PLIST_SUB+=	CLIENT="@comment "
142
PLIST_SUB+=	CLIENT="@comment "
160
.endif
143
.endif
161
144
162
.if ${PORT_OPTIONS:MDEDICATED}
145
.if ${IOQ3:MSERVER}
163
MAKE_ARGS+=	BUILD_SERVER=1
146
MAKE_ARGS+=	BUILD_SERVER=1
164
PLIST_SUB+=	DEDICATED=""
147
PLIST_SUB+=	DEDICATED=""
165
Q3BIN+=		${Q3SERVER}
148
Q3BIN+=		${Q3SERVER}
(-)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-devel/Makefile (-1 / +1 lines)
Lines 19-24 Link Here
19
SVNREVISION?=	2318
19
SVNREVISION?=	2318
20
BINSUFFIX?=	-devel
20
BINSUFFIX?=	-devel
21
21
22
HAS_DLRENDERER?=	yes
22
IOQ3?=		CLIENT TOOLS DLRENDERER GAMELIBS
23
23
24
.include "${MASTERDIR}/Makefile"
24
.include "${MASTERDIR}/Makefile"
(-)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
14
17
.include "${MASTERDIR}/Makefile"
15
.include "${MASTERDIR}/Makefile"
(-)games/iourbanterror/Makefile (-7 / +3 lines)
Lines 1-9 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}.s${SVNREVISION}
Lines 20-27 Link Here
20
DISTINFO_FILE=	${.CURDIR}/../ioquake3-devel/distinfo
16
DISTINFO_FILE=	${.CURDIR}/../ioquake3-devel/distinfo
21
PLIST=		${.CURDIR}/../${PORTNAME}/pkg-plist
17
PLIST=		${.CURDIR}/../${PORTNAME}/pkg-plist
22
18
23
NO_GAMELIBS=	yes
19
IOQ3?=		CLIENT DLRENDERER
24
NO_TOOLS=	yes
20
25
# The docs belong to ioquake3
21
# The docs belong to ioquake3
26
NOPORTDOCS=	yes
22
NOPORTDOCS=	yes
27
GAMEVERSION=	4.1.1
23
GAMEVERSION=	4.1.1
(-)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-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 (-9 / +2 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 27-38 Link Here
27
PLIST=		${.CURDIR}/../${PORTNAME}/pkg-plist
23
PLIST=		${.CURDIR}/../${PORTNAME}/pkg-plist
28
PKGMESSAGE=	${.CURDIR}/../${PORTNAME}/pkg-message
24
PKGMESSAGE=	${.CURDIR}/../${PORTNAME}/pkg-message
29
25
30
NO_GAMELIBS=	yes
26
IOQ3?=		CLIENT
31
NO_TOOLS=	yes
32
# OpenArena doc is too messy to bother
27
# OpenArena doc is too messy to bother
33
NOPORTDOCS=	yes
28
NOPORTDOCS=	yes
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
(-)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-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"

Return to bug 180576