Changeset View
Changeset View
Standalone View
Standalone View
head/games/ioquake3/Makefile
Show All 27 Lines | |||||
.endif | .endif | ||||
# Client options | # Client options | ||||
.if ${IOQ3:MCLIENT} | .if ${IOQ3:MCLIENT} | ||||
OPTIONS_DEFINE= SERVER CURL OPENAL MUMBLE VORBIS DEBUG | OPTIONS_DEFINE= SERVER CURL OPENAL MUMBLE VORBIS DEBUG | ||||
OPTIONS_DEFAULT= SERVER CURL OPENAL MUMBLE VORBIS | OPTIONS_DEFAULT= SERVER CURL OPENAL MUMBLE VORBIS | ||||
SERVER_DESC= Install dedicated server | SERVER_DESC= Install dedicated server | ||||
MUMBLE_DESC= Enable Mumble support (no dependencies) | MUMBLE_DESC= Enable Mumble support (no dependencies) | ||||
USE_GL+= gl | |||||
.endif | .endif | ||||
IOQ3_OPTIONS= ${IOQ3:MTOOLS} ${IOQ3:MDLRENDERER} ${IOQ3:MGAMELIBS} \ | IOQ3_OPTIONS= ${IOQ3:MTOOLS} ${IOQ3:MDLRENDERER} ${IOQ3:MGAMELIBS} \ | ||||
${IOQ3:MOPUS} | ${IOQ3:MOPUS} | ||||
OPTIONS_DEFINE+= ${IOQ3_OPTIONS} DOCS | OPTIONS_DEFINE+= ${IOQ3_OPTIONS} DOCS | ||||
OPTIONS_DEFAULT+= ${IOQ3_OPTIONS} | OPTIONS_DEFAULT+= ${IOQ3_OPTIONS} | ||||
TOOLS_DESC= Enable modding tools | TOOLS_DESC= Enable modding tools | ||||
DLRENDERER_DESC= Build dynamically loaded renderer | DLRENDERER_DESC= Build dynamically loaded renderer | ||||
Show All 25 Lines | Q3DOCS?= README \ | ||||
voip-readme.txt | voip-readme.txt | ||||
Q3BASE?= baseq3 \ | Q3BASE?= baseq3 \ | ||||
missionpack | missionpack | ||||
Q3GAMELIBS?= cgame \ | Q3GAMELIBS?= cgame \ | ||||
qagame \ | qagame \ | ||||
ui | ui | ||||
Q3ICON?= ${PREFIX}/share/pixmaps/quake3.xpm | Q3ICON?= ${PREFIX}/share/pixmaps/quake3.xpm | ||||
.if ${IOQ3:MOPENGL2} | .if ${IOQ3:MOPENGL2} | ||||
Q3RENDERER?= renderer_opengl1_${IOQ3ARCH} renderer_opengl2_${IOQ3ARCH} | Q3RENDERER?= opengl1 opengl2 | ||||
.else | .else | ||||
Q3RENDERER?= renderer_opengl1_${IOQ3ARCH} | Q3RENDERER?= opengl1 | ||||
.endif | .endif | ||||
Q3RENDPREFIX?= renderer_ | |||||
Q3RENDSUFFIX?= _${IOQ3ARCH} | |||||
Q3INSTALL?= | Q3INSTALL?= | ||||
Q3ENGINEVER?= ${DISTVERSION} | Q3ENGINEVER?= ${DISTVERSION} | ||||
ONLY_FOR_ARCHS= amd64 i386 | ONLY_FOR_ARCHS= amd64 i386 | ||||
DEBUG_VARS= ALL_TARGET=debug | DEBUG_VARS= ALL_TARGET=debug | ||||
SERVER_RUN_DEPENDS= ${Q3SERVER}${BINSUFFIX}:games/${PORTNAME}-server | SERVER_RUN_DEPENDS= ${Q3SERVER}${BINSUFFIX}:games/${PORTNAME}-server | ||||
CURL_LIB_DEPENDS= libcurl.so:ftp/curl | CURL_LIB_DEPENDS= libcurl.so:ftp/curl | ||||
▲ Show 20 Lines • Show All 61 Lines • ▼ Show 20 Lines | |||||
.endfor | .endfor | ||||
.if ${PORT_OPTIONS:MTOOLS} | .if ${PORT_OPTIONS:MTOOLS} | ||||
. for bin in ${Q3TOOLS} | . for bin in ${Q3TOOLS} | ||||
IOQ3_INST+= PROGRAM;tools/${bin};bin/${bin}${BINSUFFIX} | IOQ3_INST+= PROGRAM;tools/${bin};bin/${bin}${BINSUFFIX} | ||||
. endfor | . endfor | ||||
.endif | .endif | ||||
.if ${PORT_OPTIONS:MDLRENDERER} | .if ${PORT_OPTIONS:MDLRENDERER} | ||||
. for renderer in ${Q3RENDERER} | . for renderer in ${Q3RENDERER} | ||||
IOQ3_INST+= LIB;${renderer}.so;${LIBDIR}/${renderer}.so | IOQ3_INST+= LIB;${Q3RENDPREFIX}${renderer}${Q3RENDSUFFIX}.so;${LIBDIR}/${Q3RENDPREFIX}${renderer}${Q3RENDSUFFIX}.so | ||||
. endfor | |||||
.else | |||||
. for renderer in ${Q3RENDERER:Nopengl1} | |||||
IOQ3_INST+= PROGRAM;${Q3CLIENT}_${renderer}.${IOQ3ARCH};bin/${Q3CLIENT}_${renderer}${BINSUFFIX} | |||||
. endfor | . endfor | ||||
.endif | .endif | ||||
.if ${PORT_OPTIONS:MGAMELIBS} | .if ${PORT_OPTIONS:MGAMELIBS} | ||||
. for dir in ${Q3BASE} | . for dir in ${Q3BASE} | ||||
PLIST_DIRS+= ${LIBDIR}/${dir} | PLIST_DIRS+= ${LIBDIR}/${dir} | ||||
. for lib in ${Q3GAMELIBS} | . for lib in ${Q3GAMELIBS} | ||||
IOQ3_INST+= LIB;${dir}/${lib}${IOQ3ARCH}.so;${LIBDIR}/${dir}/${lib}${IOQ3ARCH}.so | IOQ3_INST+= LIB;${dir}/${lib}${IOQ3ARCH}.so;${LIBDIR}/${dir}/${lib}${IOQ3ARCH}.so | ||||
. endfor | . endfor | ||||
Show All 32 Lines |