summaryrefslogtreecommitdiff
path: root/games/yquake2/Makefile
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-11-24 13:04:52 +0000
committernia <nia@pkgsrc.org>2020-11-24 13:04:52 +0000
commit7d2625a3fc6b41652f1823c7077f857cbec5e378 (patch)
treed68e825388b48e983e3582100677ebe3944e46d2 /games/yquake2/Makefile
parent693afa2a74f7b2825b3842e0f0c4a9c113575541 (diff)
downloadpkgsrc-7d2625a3fc6b41652f1823c7077f857cbec5e378.tar.gz
yquake2: Update to 7.45
Quake II 7.44 to 7.45: - Fix a crash under windows when opening the games menu with mods installed. Quake II 7.43 to 7.44: - Fix some input option not getting saved. - Limit busywaits to the full client. This lowers the cpu consumption of q2ded considerably. - Rework the build system to be more distribution friendly. The base CFLAGS and LDFLAGS can now be overridden by the environment and by options passed to make. (by Simon McVittie) - Fix some corner cases of broken IPv6 connectivity. - Fix qport colliding between several Yamagi Quake II clients. - Keyboard keys unknown to Yamagi Quake II can now be bound. - Adaptive vsync is now supported by setting 'r_vsync' to '1'. - Implement 'coop_pickup_weapons'. When set to '1', a weapon may be picked up by coop players if the player doesn't have the weapon in their inventory or no other player has already picked it up. - In coop elevators wait for 'coop_elevator_delay' seconds. - If 'cl_anglekick' is set '1' angle kicks are ignored. This breaks the gameplay a little bit, but helps against motion sickness. This cvar is cheat protected. - Add 'listmaps' command and autocompletion for maps. (by JBerg) - Make 'wait' in scripts wait for 17 ms. This fixes some movement makros. - Support for Haiku. (by David Carlier) - Add a 'mods' submenu. (by earth-metal) - Add the 'vstr' command and 'nextdemo' cvar. Ported from ioquake3. (by Denis Pauk)
Diffstat (limited to 'games/yquake2/Makefile')
-rw-r--r--games/yquake2/Makefile24
1 files changed, 12 insertions, 12 deletions
diff --git a/games/yquake2/Makefile b/games/yquake2/Makefile
index eb73df0e367..148c4d22351 100644
--- a/games/yquake2/Makefile
+++ b/games/yquake2/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2020/08/18 17:57:59 leot Exp $
+# $NetBSD: Makefile,v 1.11 2020/11/24 13:04:52 nia Exp $
-DISTNAME= quake2-7.43
+DISTNAME= quake2-7.45
PKGNAME= y${DISTNAME}
-PKGREVISION= 3
CATEGORIES= games
MASTER_SITES= https://deponie.yamagi.org/quake2/
EXTRACT_SUFX= .tar.xz
@@ -12,14 +11,14 @@ HOMEPAGE= https://www.yamagi.org/quake2/
COMMENT= Yamagi Quake II - alternative Quake II client
LICENSE= gnu-gpl-v2
-USE_CMAKE= yes
-USE_TOOLS+= pkg-config
-USE_LANGUAGES= c99 c++
+USE_TOOLS+= gmake
+USE_LANGUAGES= c99
-CMAKE_ARGS+= -DCMAKE_BUILD_TYPE="Release"
-CMAKE_ARGS+= -DSYSTEMWIDE_SUPPORT=ON
+MAKE_FLAGS+= WITH_SYSTEMWIDE=yes
+MAKE_FLAGS+= WITH_SYSTEMDIR=${PREFIX}/share/yquake2
-INSTALLATION_DIRS+= bin libexec
+INSTALLATION_DIRS+= bin
+INSTALLATION_DIRS+= libexec/yquake2
INSTALLATION_DIRS+= share/applications
INSTALLATION_DIRS+= share/pixmaps
INSTALLATION_DIRS+= share/yquake2/baseq2
@@ -33,19 +32,20 @@ do-install:
${INSTALL_SCRIPT} ${WRKDIR}/quake2.sh \
${DESTDIR}${PREFIX}/bin/q2ded
${INSTALL_PROGRAM} ${WRKSRC}/release/quake2 \
- ${DESTDIR}${PREFIX}/libexec/quake2
+ ${DESTDIR}${PREFIX}/libexec/yquake2/quake2
${INSTALL_PROGRAM} ${WRKSRC}/release/q2ded \
- ${DESTDIR}${PREFIX}/libexec/q2ded
+ ${DESTDIR}${PREFIX}/libexec/yquake2/q2ded
${INSTALL_LIB} ${WRKSRC}/release/baseq2/game.so \
${DESTDIR}${PREFIX}/share/yquake2/baseq2
${INSTALL_LIB} ${WRKSRC}/release/*.so \
- ${DESTDIR}${PREFIX}/share/yquake2
+ ${DESTDIR}${PREFIX}/libexec/yquake2
${INSTALL_DATA} ${FILESDIR}/yquake2.desktop \
${DESTDIR}${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/stuff/icon/Quake2.png \
${DESTDIR}${PREFIX}/share/pixmaps/quake2.png
.include "../../audio/openal-soft/buildlink3.mk"
+.include "../../devel/libexecinfo/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../devel/SDL2/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"