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> |