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

(-)b/games/bzflag-server/Makefile (+12 lines)
Added Link Here
1
# Created by: Kevin Zheng <kevinz5000@gmail.com>
2
# $FreeBSD$
3
4
PKGNAMESUFFIX=	-server
5
CONFLICTS=	bzflag-2.*
6
7
COMMENT=	Multiplayer 3D tank battle game (server only)
8
9
SERVER_ONLY=	yes
10
MASTERDIR=	${.CURDIR}/../bzflag
11
12
.include "${MASTERDIR}/Makefile"
(-)b/games/bzflag/Makefile (-1 / +10 lines)
Lines 7-13 CATEGORIES= games Link Here
7
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}%20source/${PORTVERSION}
7
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}%20source/${PORTVERSION}
8
8
9
MAINTAINER=	kevinz5000@gmail.com
9
MAINTAINER=	kevinz5000@gmail.com
10
COMMENT=	Multiplayer 3D tank battle game
10
COMMENT?=	Multiplayer 3D tank battle game
11
11
12
LICENSE=	LGPL21
12
LICENSE=	LGPL21
13
LICENSE_FILE=	${WRKSRC}/COPYING
13
LICENSE_FILE=	${WRKSRC}/COPYING
Lines 16-31 LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl Link Here
16
16
17
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
18
USES=		libtool tar:bzip2
18
USES=		libtool tar:bzip2
19
20
.ifndef SERVER_ONLY
19
USE_GL=		glew
21
USE_GL=		glew
20
USE_SDL=	sdl
22
USE_SDL=	sdl
23
.endif
21
24
22
MAKE_JOBS_UNSAFE=	yes
25
MAKE_JOBS_UNSAFE=	yes
23
26
24
CONFIGURE_ARGS=	--enable-ares-build
27
CONFIGURE_ARGS=	--enable-ares-build
25
CPPFLAGS+=	-I ${LOCALBASE}/include
28
CPPFLAGS+=	-I ${LOCALBASE}/include
26
29
30
.ifdef SERVER_ONLY
31
CONFIGURE_ARGS+=	--disable-client
32
PLIST_SUB+=		CLIENT="@comment "
33
.else
27
DESKTOP_ENTRIES=	"BZFlag" "Battle enemy tanks" \
34
DESKTOP_ENTRIES=	"BZFlag" "Battle enemy tanks" \
28
			"${DATADIR}/bzflag-256x256.png" \
35
			"${DATADIR}/bzflag-256x256.png" \
29
			"bzflag" "Game;ActionGame;" false
36
			"bzflag" "Game;ActionGame;" false
37
PLIST_SUB+=		CLIENT=""
38
.endif
30
39
31
.include <bsd.port.mk>
40
.include <bsd.port.mk>
(-)b/games/bzflag/pkg-plist (-1 / +1 lines)
Lines 1-5 Link Here
1
bin/bzadmin
1
bin/bzadmin
2
bin/bzflag
2
%%CLIENT%%bin/bzflag
3
bin/bzfs
3
bin/bzfs
4
lib/bzflag/HoldTheFlag.so
4
lib/bzflag/HoldTheFlag.so
5
lib/bzflag/Phoenix.so
5
lib/bzflag/Phoenix.so

Return to bug 205854