pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/games/yquake2
Module Name: pkgsrc
Committed By: nia
Date: Tue Oct 1 12:28:19 UTC 2019
Added Files:
pkgsrc/games/yquake2: DESCR MESSAGE Makefile PLIST distinfo
pkgsrc/games/yquake2/files: quake2.sh.in yquake2.desktop
pkgsrc/games/yquake2/patches: patch-CMakeLists.txt
Log Message:
Add games/yquake2.
Yamagi Quake II is an alternative client for id Software's Quake II. Our goal
is to provide the best Quake II experience possible, we strive to preserve
the gameplay as it was back in 1997. Thus we aim mostly for bug fixes,
stability and gentle enhancements were appropriate.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/games/yquake2/DESCR \
pkgsrc/games/yquake2/MESSAGE pkgsrc/games/yquake2/Makefile \
pkgsrc/games/yquake2/PLIST pkgsrc/games/yquake2/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/games/yquake2/files/quake2.sh.in \
pkgsrc/games/yquake2/files/yquake2.desktop
cvs rdiff -u -r0 -r1.1 pkgsrc/games/yquake2/patches/patch-CMakeLists.txt
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/games/yquake2/DESCR
diff -u /dev/null pkgsrc/games/yquake2/DESCR:1.1
--- /dev/null Tue Oct 1 12:28:19 2019
+++ pkgsrc/games/yquake2/DESCR Tue Oct 1 12:28:18 2019
@@ -0,0 +1,4 @@
+Yamagi Quake II is an alternative client for id Software's Quake II. Our goal
+is to provide the best Quake II experience possible, we strive to preserve
+the gameplay as it was back in 1997. Thus we aim mostly for bug fixes,
+stability and gentle enhancements were appropriate.
Index: pkgsrc/games/yquake2/MESSAGE
diff -u /dev/null pkgsrc/games/yquake2/MESSAGE:1.1
--- /dev/null Tue Oct 1 12:28:19 2019
+++ pkgsrc/games/yquake2/MESSAGE Tue Oct 1 12:28:18 2019
@@ -0,0 +1,11 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2019/10/01 12:28:18 nia Exp $
+
+To use Yamagi Quake II, you must have a set of data files from the original
+Quake II.
+
+Place them in the $PREFIX/share/yquake2/baseq2 directory.
+
+Then run "quake2".
+
+===========================================================================
Index: pkgsrc/games/yquake2/Makefile
diff -u /dev/null pkgsrc/games/yquake2/Makefile:1.1
--- /dev/null Tue Oct 1 12:28:19 2019
+++ pkgsrc/games/yquake2/Makefile Tue Oct 1 12:28:18 2019
@@ -0,0 +1,51 @@
+# $NetBSD: Makefile,v 1.1 2019/10/01 12:28:18 nia Exp $
+
+DISTNAME= quake2-7.41
+PKGNAME= y${DISTNAME}
+CATEGORIES= games
+MASTER_SITES= https://deponie.yamagi.org/quake2/
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+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++
+
+CMAKE_ARGS+= -DCMAKE_BUILD_TYPE="Release"
+CMAKE_ARGS+= -DSYSTEMWIDE_SUPPORT=ON
+
+INSTALLATION_DIRS+= bin libexec
+INSTALLATION_DIRS+= share/applications
+INSTALLATION_DIRS+= share/pixmaps
+INSTALLATION_DIRS+= share/yquake2/baseq2
+
+pre-configure:
+ ${SED} -e 's,@PREFIX@,${PREFIX},g' < ${FILESDIR}/quake2.sh.in > ${WRKDIR}/quake2.sh
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKDIR}/quake2.sh \
+ ${DESTDIR}${PREFIX}/bin/quake2
+ ${INSTALL_PROGRAM} ${WRKDIR}/quake2.sh \
+ ${DESTDIR}${PREFIX}/bin/q2ded
+ ${INSTALL_PROGRAM} ${WRKSRC}/release/quake2 \
+ ${DESTDIR}${PREFIX}/libexec/quake2
+ ${INSTALL_PROGRAM} ${WRKSRC}/release/q2ded \
+ ${DESTDIR}${PREFIX}/libexec/q2ded
+ ${INSTALL_LIB} ${WRKSRC}/release/baseq2/game.so \
+ ${DESTDIR}${PREFIX}/share/yquake2/baseq2
+ ${INSTALL_LIB} ${WRKSRC}/release/*.so \
+ ${DESTDIR}${PREFIX}/share/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 "../../graphics/glu/buildlink3.mk"
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/games/yquake2/PLIST
diff -u /dev/null pkgsrc/games/yquake2/PLIST:1.1
--- /dev/null Tue Oct 1 12:28:19 2019
+++ pkgsrc/games/yquake2/PLIST Tue Oct 1 12:28:18 2019
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1 2019/10/01 12:28:18 nia Exp $
+bin/q2ded
+bin/quake2
+libexec/q2ded
+libexec/quake2
+share/applications/yquake2.desktop
+share/pixmaps/quake2.png
+share/yquake2/baseq2/game.so
+share/yquake2/ref_gl1.so
+share/yquake2/ref_gl3.so
+share/yquake2/ref_soft.so
Index: pkgsrc/games/yquake2/distinfo
diff -u /dev/null pkgsrc/games/yquake2/distinfo:1.1
--- /dev/null Tue Oct 1 12:28:19 2019
+++ pkgsrc/games/yquake2/distinfo Tue Oct 1 12:28:18 2019
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2019/10/01 12:28:18 nia Exp $
+
+SHA1 (quake2-7.41.tar.xz) = 9348f3ad69b04393b92ac740e12c515b317422c2
+RMD160 (quake2-7.41.tar.xz) = bf7329ff0c2753f795a26678606ff07e6347e886
+SHA512 (quake2-7.41.tar.xz) = fd2c991274415eb38cf3deb7562f7c51c7f8e935cf7215eba7e8ae088f25cddf95e86221fcbbb5fcc8bd97e264b147951bf5f4aecb8ee54973d46af7ef39d3af
+Size (quake2-7.41.tar.xz) = 1978952 bytes
+SHA1 (patch-CMakeLists.txt) = 9abf8f2345ed90379146a637bf79f4021777a67b
Index: pkgsrc/games/yquake2/files/quake2.sh.in
diff -u /dev/null pkgsrc/games/yquake2/files/quake2.sh.in:1.1
--- /dev/null Tue Oct 1 12:28:19 2019
+++ pkgsrc/games/yquake2/files/quake2.sh.in Tue Oct 1 12:28:18 2019
@@ -0,0 +1,3 @@
+#!/bin/sh
+BIN=$(basename "$0")
+cd "@PREFIX@/share/yquake2" && exec "@PREFIX@/libexec/$BIN" "$@"
Index: pkgsrc/games/yquake2/files/yquake2.desktop
diff -u /dev/null pkgsrc/games/yquake2/files/yquake2.desktop:1.1
--- /dev/null Tue Oct 1 12:28:19 2019
+++ pkgsrc/games/yquake2/files/yquake2.desktop Tue Oct 1 12:28:18 2019
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Name=Yamagi Quake II
+Comment=Alternative client for id Software's Quake II
+Icon=quake2
+Exec=quake2
+Categories=Game;ActionGame;
+Terminal=false
+StartupNotify=false
Index: pkgsrc/games/yquake2/patches/patch-CMakeLists.txt
diff -u /dev/null pkgsrc/games/yquake2/patches/patch-CMakeLists.txt:1.1
--- /dev/null Tue Oct 1 12:28:19 2019
+++ pkgsrc/games/yquake2/patches/patch-CMakeLists.txt Tue Oct 1 12:28:19 2019
@@ -0,0 +1,14 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2019/10/01 12:28:19 nia Exp $
+
+Don't allow it to default to /usr/share/games/quake2.
+
+--- CMakeLists.txt.orig 2019-09-26 13:14:20.599841947 +0000
++++ CMakeLists.txt
+@@ -81,6 +81,7 @@ add_definitions(-DYQ2ARCH="${ARCH}")
+ # Systemwide installation of game assets.
+ if(${SYSTEMWIDE_SUPPORT})
+ add_definitions(-DSYSTEMWIDE)
++ add_definitions(-DSYSTEMDIR="${CMAKE_INSTALL_PREFIX}/share/yquake2")
+ endif()
+
+ # We need to pass some options to minizip / unzip.
Home |
Main Index |
Thread Index |
Old Index