Import QuakeSpasm a maintained SDL Quake engine.

ok awolk@ bmercer@
This commit is contained in:
jsg 2016-03-24 03:37:25 +00:00
parent 4ba9b6f580
commit f59beb2add
5 changed files with 65 additions and 0 deletions

38
games/quakespasm/Makefile Normal file
View File

@ -0,0 +1,38 @@
# $OpenBSD: Makefile,v 1.1.1.1 2016/03/24 03:37:25 jsg Exp $
COMMENT= SDL Quake port
CATEGORIES= games
DISTNAME= quakespasm-0.91.0
EXTRACT_SUFX= .tgz
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=quakespasm/}
HOMEPAGE= http://quakespasm.sourceforge.net
MAINTAINER= Jonathan Gray <jsg@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += GL SDL c m mad ogg pthread vorbis vorbisfile
LIB_DEPENDS= audio/libmad \
audio/libvorbis \
devel/sdl
WRKDIST= ${WRKDIR}/${DISTNAME}/Quake
USE_GMAKE= Yes
ALL_TARGET= release
DOCS= Quakespasm.html Quakespasm-Music.txt Quakespasm.txt
do-install:
${INSTALL_PROGRAM} ${WRKDIST}/quakespasm ${PREFIX}/libexec
${SUBST_CMD} -m 555 -c ${FILESDIR}/quakespasm.sh ${WRKSRC}/quakespasm.sh
${INSTALL_SCRIPT} ${WRKSRC}/quakespasm.sh ${PREFIX}/bin/quakespasm
${INSTALL_DATA_DIR} ${PREFIX}/share/quakespasm
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/quakespasm
.for DOC in ${DOCS}
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/${DOC} \
${PREFIX}/share/doc/quakespasm/
.endfor
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (quakespasm-0.91.0.tgz) = QLqqqdwkad2ETkKbhBhDNEVFOggTFaSiILFqRkAiZjk=
SIZE (quakespasm-0.91.0.tgz) = 7932264

View File

@ -0,0 +1,3 @@
#!/bin/sh
cd ${TRUEPREFIX}/share/quakespasm
exec ${TRUEPREFIX}/libexec/quakespasm "$@"

View File

@ -0,0 +1,14 @@
QuakeSpasm is a *Nix friendly Quake Engine based on the SDL port of the
popular FitzQuake. It includes some new features, important fixes, and
aims for portability and 64 bit correctness.
To run QuakeSpasm you must have the original quake datafiles from one of
the original CD releases or obtained from the Steam or GOG online stores.
For the base game copy the "id1" directory to
${TRUEPREFIX}/share/quakespasm/id1
The mission pack directories "rogue" and "hipnotic" can also be copied
into place and run by specifying the -game <dirname>, ie
quakespasm -game hipnotic

View File

@ -0,0 +1,8 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2016/03/24 03:37:25 jsg Exp $
bin/quakespasm
@bin libexec/quakespasm
share/doc/quakespasm/
share/doc/quakespasm/Quakespasm-Music.txt
share/doc/quakespasm/Quakespasm.html
share/doc/quakespasm/Quakespasm.txt
share/quakespasm/