Index: head/games/ioquake3-devel/Makefile =================================================================== --- head/games/ioquake3-devel/Makefile +++ head/games/ioquake3-devel/Makefile @@ -4,9 +4,7 @@ PORTNAME?= ioquake3-devel DISTVERSION?= GIT${GITREVISION} PORTREVISION?= 0 -MASTER_SITES?= ftp://deponie.yamagi.org/freebsd/distfiles/ioquake3/ \ - http://deponie.yamagi.org/freebsd/distfiles/ioquake3/ -EXTRACT_SUFX?= .tar.xz +MASTER_SITES?= MAINTAINER?= kami@FreeBSD.org COMMENT?= Development GIT snapshots of ioquake3 @@ -19,13 +17,18 @@ PATCHDIR?= ${.CURDIR}/../${PORTNAME}/files PKGMESSAGE?= ${.CURDIR}/../${PORTNAME}/pkg-message -GITREVISION?= 2808 +GITREVISION?= 2904 BINSUFFIX?= -devel IOQ3?= CLIENT TOOLS DLRENDERER GAMELIBS OPUS OPENGL2 IOQ3ARCH?= ${ARCH:S/i386/x86/:S/amd64/x86_64/} IOQ3SDL?= sdl2 +USE_GITHUB= yes +GH_ACCOUNT= lonkamikaze +GH_PROJECT= ioq3-freebsd +GH_TAGNAME= ${GITREVISION} + Q3DOCS?= README.md \ id-readme.txt \ md4-readme.txt \ Index: head/games/ioquake3-devel/distinfo =================================================================== --- head/games/ioquake3-devel/distinfo +++ head/games/ioquake3-devel/distinfo @@ -1,2 +1,3 @@ -SHA256 (ioquake3-devel-GIT2808.tar.xz) = a9fe73c4c29e218e64d782ce8b458a93e4860e81d4c1fc08e6556cd32dfabbb2 -SIZE (ioquake3-devel-GIT2808.tar.xz) = 8166804 +TIMESTAMP = 1480690112 +SHA256 (lonkamikaze-ioq3-freebsd-GIT2904-2904_GH0.tar.gz) = 690e58065f22f01d20a87559b2550c1ab65734a7165d9b38187c2525b8c4f7b0 +SIZE (lonkamikaze-ioq3-freebsd-GIT2904-2904_GH0.tar.gz) = 11566763 Index: head/games/ioquake3-devel/pkg-message =================================================================== --- head/games/ioquake3-devel/pkg-message +++ head/games/ioquake3-devel/pkg-message @@ -1,2 +1,9 @@ -Should the game have trouble meeting com_maxfps, which would result in less -effective strafe jumping, set com_busywait 1 to restore the old behaviour. +The default renderer has switched to OpenGL2. Should you encounter +a performance drop with this update, you can return to the old +OpenGL1 rendere by executing: + + ioquake3-devel +seta cl_renderer opengl1 + +If you have chosen to build without the DLRENDERER option OpenGL1 +is used by default, OpenGL2 can be used by executing the +`iqouake3_opengl2-devel` binary. Index: head/games/ioquake3/Makefile =================================================================== --- head/games/ioquake3/Makefile +++ head/games/ioquake3/Makefile @@ -33,6 +33,7 @@ OPTIONS_DEFAULT= SERVER CURL OPENAL MUMBLE VORBIS SERVER_DESC= Install dedicated server MUMBLE_DESC= Enable Mumble support (no dependencies) +USE_GL+= gl .endif IOQ3_OPTIONS= ${IOQ3:MTOOLS} ${IOQ3:MDLRENDERER} ${IOQ3:MGAMELIBS} \ ${IOQ3:MOPUS} @@ -74,10 +75,12 @@ ui Q3ICON?= ${PREFIX}/share/pixmaps/quake3.xpm .if ${IOQ3:MOPENGL2} -Q3RENDERER?= renderer_opengl1_${IOQ3ARCH} renderer_opengl2_${IOQ3ARCH} +Q3RENDERER?= opengl1 opengl2 .else -Q3RENDERER?= renderer_opengl1_${IOQ3ARCH} +Q3RENDERER?= opengl1 .endif +Q3RENDPREFIX?= renderer_ +Q3RENDSUFFIX?= _${IOQ3ARCH} Q3INSTALL?= Q3ENGINEVER?= ${DISTVERSION} @@ -155,7 +158,11 @@ .endif .if ${PORT_OPTIONS:MDLRENDERER} . 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 .endif .if ${PORT_OPTIONS:MGAMELIBS}