mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- Update to version 0.40.1.
- Make fetchable.
This commit is contained in:
parent
a633d7f6d9
commit
34174703e7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=165976
@ -6,12 +6,12 @@
|
||||
#
|
||||
|
||||
PORTNAME= qudos
|
||||
PORTVERSION= 0.40
|
||||
PORTVERSION= 0.40.1
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= http://qudos.quakedev.com/linux/quake2/engines/QuDos/
|
||||
DISTNAME= QuDos-${PORTVERSION}-src
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
||||
QuDos-${PORTVERSION}-data.tar
|
||||
QuDos.pk3
|
||||
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
||||
|
||||
MAINTAINER= alepulver@FreeBSD.org
|
||||
@ -33,17 +33,18 @@ OPTIONS= 3ZB2 "Build 3zb2 modification (bots)" on \
|
||||
IPV6 "Enable IPv6 support" off \
|
||||
JABOT "Build JABot modification (bots)" off \
|
||||
JOYSTICK "Enable joystick support" off \
|
||||
OSS "Enable Open Sound System sound support" on \
|
||||
QMAX "Enable fancier OpenGL graphics" on \
|
||||
REDBLUE "Enable red-blue 3d glasses renderer" off \
|
||||
RETEXTURE "Enable support for retextured graphics" off \
|
||||
ROGUE "Build Ground Zero (Rogue) mission pack" off \
|
||||
SDLCLIENT "Build SDL client" on \
|
||||
SDL "Enable SDL sound support" on \
|
||||
SDLGL "Build SDL OpenGL renderer" on \
|
||||
X86_ASM "Enable x86 assembly support" on \
|
||||
XATRIX "Build The Reckoning (Xatrix) mission pack" off \
|
||||
ZAERO "Build Zaero modification" off
|
||||
|
||||
MAKE_ENV= WITH_DATADIR=YES WITH_LIBDIR=YES \
|
||||
MAKE_ENV= WITH_DATADIR=YES WITH_LIBDIR=YES WITH_XMMS=NO\
|
||||
DATADIR="${Q2DIR}" LIBDIR="${LIBDIR}"
|
||||
PLIST_SUB= LIBDIR="${LIBDIR:S/${PREFIX}\///}"
|
||||
LIBDIR= ${PREFIX}/lib/${PORTNAME}
|
||||
@ -70,17 +71,22 @@ LIB_DEPENDS+= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
||||
png.5:${PORTSDIR}/graphics/png
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_SDLCLIENT) || !defined(WITHOUT_SDLGL)
|
||||
.if !defined(WITHOUT_SDL) || !defined(WITHOUT_SDLGL)
|
||||
USE_SDL= sdl
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_CLIENT) || !defined(WITHOUT_SDLCLIENT)
|
||||
.if !defined(WITHOUT_CLIENT)
|
||||
LIB_DEPENDS+= vorbis.3:${PORTSDIR}/audio/libvorbis
|
||||
.endif
|
||||
|
||||
.if defined(WITH_ARTS)
|
||||
LIB_DEPENDS+= artsc.0:${PORTSDIR}/audio/arts
|
||||
MAKE_ENV+= WITH_ARTS=YES
|
||||
MAKE_ENV+= BUILD_ARTS_SND=YES
|
||||
PLIST_SUB+= ARTS=""
|
||||
Q2SND+= arts
|
||||
.else
|
||||
MAKE_ENV+= BUILD_ARTS_SND=NO
|
||||
PLIST_SUB+= ARTS="@comment "
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_CLIENT)
|
||||
@ -138,6 +144,15 @@ MAKE_ENV+= WITH_JOYSTICK=YES
|
||||
MAKE_ENV+= WITH_JOYSTICK=NO
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_OSS)
|
||||
MAKE_ENV+= BUILD_OSS_SND=YES
|
||||
PLIST_SUB+= OSS=""
|
||||
Q2SND+= oss
|
||||
.else
|
||||
MAKE_ENV+= BUILD_OSS_SND=NO
|
||||
PLIST_SUB+= OSS="@comment "
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_QMAX)
|
||||
MAKE_ENV+= WITH_QMAX=YES
|
||||
.else
|
||||
@ -156,13 +171,13 @@ MAKE_ENV+= WITH_RETEXTURE=YES
|
||||
MAKE_ENV+= WITH_RETEXTURE=NO
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_SDLCLIENT)
|
||||
MAKE_ENV+= BUILD_SDLQUAKE2=YES
|
||||
PLIST_SUB+= SDLCLIENT=""
|
||||
Q2BIN+= ${PORTNAME}-sdl
|
||||
.if !defined(WITHOUT_SDL)
|
||||
MAKE_ENV+= BUILD_SDL_SND=YES
|
||||
PLIST_SUB+= SDL=""
|
||||
Q2SND+= sdl
|
||||
.else
|
||||
MAKE_ENV+= BUILD_SDLQUAKE2=NO
|
||||
PLIST_SUB+= SDLCLIENT="@comment "
|
||||
MAKE_ENV+= BUILD_SDL_SND=NO
|
||||
PLIST_SUB+= SDL="@comment "
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_X86_ASM)
|
||||
@ -184,6 +199,9 @@ do-install:
|
||||
.for ref in ${Q2REF}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/quake2/ref_q2${ref}.so ${LIBDIR}
|
||||
.endfor
|
||||
.for snd in ${Q2SND}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/quake2/snd_${snd}.so ${LIBDIR}
|
||||
.endfor
|
||||
.if !defined(WITHOUT_GAME)
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/quake2/baseq2/game.so ${LIBDIR}/baseq2
|
||||
.endif
|
||||
@ -193,7 +211,7 @@ do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/quake2/${mod}/game.so ${LIBDIR}/${mod}
|
||||
.endif
|
||||
.endfor
|
||||
${TAR} xf ${DISTDIR}/QuDos-${PORTVERSION}-data.tar -C ${LIBDIR}/baseq2
|
||||
${INSTALL_DATA} ${_DISTDIR}/QuDos.pk3 ${LIBDIR}/baseq2
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/docs/QuDos.txt ${WRKSRC}/docs/Ogg_readme.txt \
|
||||
|
@ -1,6 +1,6 @@
|
||||
MD5 (QuDos-0.40-src.tar.bz2) = 92430d56d1c57eba586481d145f1110e
|
||||
SHA256 (QuDos-0.40-src.tar.bz2) = a503cc4ce38476d935f2d7664796214790f8ff10adf096450d6cbae20099b88f
|
||||
SIZE (QuDos-0.40-src.tar.bz2) = 2046270
|
||||
MD5 (QuDos-0.40-data.tar) = 4f15fc56f85afb6bde9335214c06b807
|
||||
SHA256 (QuDos-0.40-data.tar) = 5771a531615aee97fb59bc8d83ec2a67bd410218cb9b11792ece4f89b88be4c3
|
||||
SIZE (QuDos-0.40-data.tar) = 4433920
|
||||
MD5 (QuDos-0.40.1-src.tar.bz2) = 1a9006817e0df5cde238704f75597dc1
|
||||
SHA256 (QuDos-0.40.1-src.tar.bz2) = 90d8dbbbe4e006b4233b9c8c20bc3da5c240dde8fdf17ccf43ca533d296aa21a
|
||||
SIZE (QuDos-0.40.1-src.tar.bz2) = 2031636
|
||||
MD5 (QuDos.pk3) = 698ac8420c8ab459b4302df6c4405bc8
|
||||
SHA256 (QuDos.pk3) = eb48b5f392d814223487047ccd5aa95753d408277fb323c19688d01e55efccfa
|
||||
SIZE (QuDos.pk3) = 5226359
|
||||
|
11
games/qudos/files/patch-src__client__snd_dma.c
Normal file
11
games/qudos/files/patch-src__client__snd_dma.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- ./src/client/snd_dma.c.orig Fri Jun 9 16:42:59 2006
|
||||
+++ ./src/client/snd_dma.c Sun Jun 11 15:08:02 2006
|
||||
@@ -149,7 +149,7 @@
|
||||
snddriver = Cvar_Get("snd_driver", "oss", CVAR_ARCHIVE);
|
||||
|
||||
/* Com_Printf("Loading %s sound output driver", snddriver->string); */
|
||||
- snprintf(fn, MAX_OSPATH, "./snd_%s.so", snddriver->string);
|
||||
+ snprintf(fn, MAX_OSPATH, LIBDIR "/snd_%s.so", snddriver->string);
|
||||
if (stat(fn, &st) == -1) {
|
||||
Com_Printf("\nload %s failed: %s\n", fn, strerror(errno));
|
||||
return;
|
@ -1,6 +1,6 @@
|
||||
--- ./src/unix/gl_glx.c.orig Wed Mar 29 07:23:22 2006
|
||||
+++ ./src/unix/gl_glx.c Tue May 30 17:23:31 2006
|
||||
@@ -1271,7 +1271,7 @@
|
||||
--- ./src/unix/gl_glx.c.orig Mon Jun 5 19:35:46 2006
|
||||
+++ ./src/unix/gl_glx.c Sun Jun 11 14:56:13 2006
|
||||
@@ -1239,7 +1239,7 @@
|
||||
#endif
|
||||
}
|
||||
#ifdef __FreeBSD__
|
||||
|
@ -1,6 +1,5 @@
|
||||
%%CLIENT%%bin/qudos
|
||||
%%DEDICATED%%bin/qudos-ded
|
||||
%%SDLCLIENT%%bin/qudos-sdl
|
||||
%%3ZB2%%%%LIBDIR%%/3zb2/game.so
|
||||
%%LIBDIR%%/baseq2/QuDos.pk3
|
||||
%%GAME%%%%LIBDIR%%/baseq2/game.so
|
||||
@ -9,6 +8,9 @@
|
||||
%%GLX%%%%LIBDIR%%/ref_q2glx.so
|
||||
%%SDLGL%%%%LIBDIR%%/ref_q2sdlgl.so
|
||||
%%ROGUE%%%%LIBDIR%%/rogue/game.so
|
||||
%%ARTS%%%%LIBDIR%%/snd_arts.so
|
||||
%%OSS%%%%LIBDIR%%/snd_oss.so
|
||||
%%SDL%%%%LIBDIR%%/snd_sdl.so
|
||||
%%XATRIX%%%%LIBDIR%%/xatrix/game.so
|
||||
%%ZAERO%%%%LIBDIR%%/zaero/game.so
|
||||
%%PORTDOCS%%%%DOCSDIR%%/QuDos.txt
|
||||
|
Loading…
Reference in New Issue
Block a user