summaryrefslogtreecommitdiff
path: root/games/quakespasm
diff options
context:
space:
mode:
authorsnj <snj>2010-03-08 22:00:31 +0000
committersnj <snj>2010-03-08 22:00:31 +0000
commit8e8a28abd1231e576f582520b35e5d572eefd284 (patch)
tree8154e97df8bdac2dee640f0aa8167a1e3aac43bc /games/quakespasm
parentab9662f89c2182ff200cb45be740487f52410cd5 (diff)
downloadpkgsrc-8e8a28abd1231e576f582520b35e5d572eefd284.tar.gz
Add quakespasm 0.85.1, an enhanced Quake engine, based on FitzQuake and
using SDL.
Diffstat (limited to 'games/quakespasm')
-rw-r--r--games/quakespasm/DESCR1
-rw-r--r--games/quakespasm/MESSAGE8
-rw-r--r--games/quakespasm/Makefile28
-rw-r--r--games/quakespasm/PLIST2
-rw-r--r--games/quakespasm/distinfo6
-rw-r--r--games/quakespasm/patches/patch-aa18
6 files changed, 63 insertions, 0 deletions
diff --git a/games/quakespasm/DESCR b/games/quakespasm/DESCR
new file mode 100644
index 00000000000..532410f9a91
--- /dev/null
+++ b/games/quakespasm/DESCR
@@ -0,0 +1 @@
+An enhanced Quake engine, based on FitzQuake and using SDL.
diff --git a/games/quakespasm/MESSAGE b/games/quakespasm/MESSAGE
new file mode 100644
index 00000000000..d6dde8153e1
--- /dev/null
+++ b/games/quakespasm/MESSAGE
@@ -0,0 +1,8 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2010/03/08 22:00:31 snj Exp $
+
+To use QuakeSpasm, you must have a set of data files. One possible source
+is pkgsrc/games/quakedata/. Once you have obtained a set of data files,
+run quakespasm from the directory containing the "id1" directory.
+
+===========================================================================
diff --git a/games/quakespasm/Makefile b/games/quakespasm/Makefile
new file mode 100644
index 00000000000..e6b62bcb620
--- /dev/null
+++ b/games/quakespasm/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/03/08 22:00:31 snj Exp $
+
+DISTNAME= quakespasm-0.85.1
+CATEGORIES= games x11
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=quakespasm/}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= snj@NetBSD.org
+HOMEPAGE= http://quakespasm.sourceforge.net/
+COMMENT= Enhanced Quake engine using SDL
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+# needs fm{ax,in}, which NetBSD doesn't have prior to 5.1
+NOT_FOR_PLATFORM= NetBSD-4*-* NetBSD-5.0*-*
+
+USE_TOOLS+= gmake
+
+INSTALLATION_DIRS= bin
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/Quake
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/quakespasm ${DESTDIR}${PREFIX}/bin
+
+.include "../../net/SDL_net/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/quakespasm/PLIST b/games/quakespasm/PLIST
new file mode 100644
index 00000000000..794477ce555
--- /dev/null
+++ b/games/quakespasm/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/03/08 22:00:31 snj Exp $
+bin/quakespasm
diff --git a/games/quakespasm/distinfo b/games/quakespasm/distinfo
new file mode 100644
index 00000000000..27bb090c145
--- /dev/null
+++ b/games/quakespasm/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/03/08 22:00:31 snj Exp $
+
+SHA1 (quakespasm-0.85.1.tgz) = 4877148c09662c153a92c276116222e6c444f76d
+RMD160 (quakespasm-0.85.1.tgz) = d1ac2c9c96ea1b877e575351d5018730822169d3
+Size (quakespasm-0.85.1.tgz) = 1519477 bytes
+SHA1 (patch-aa) = 0665fd591c509216ccdb9a72b00c0f4772b7834b
diff --git a/games/quakespasm/patches/patch-aa b/games/quakespasm/patches/patch-aa
new file mode 100644
index 00000000000..4b41c1cfe55
--- /dev/null
+++ b/games/quakespasm/patches/patch-aa
@@ -0,0 +1,18 @@
+$NetBSD: patch-aa,v 1.1.1.1 2010/03/08 22:00:31 snj Exp $
+
+--- Makefile.orig 2010-02-18 08:55:28.000000000 -0800
++++ Makefile 2010-03-07 18:05:57.000000000 -0800
+@@ -138,7 +138,7 @@ common.o gl_rlight.o host_cmd.o ne
+ # ------------------------
+
+ quakespasm: $(OBJS)
+- $(CC) $(CFLAGS) -o quakespasm $(OBJS) $(X11_LFLAGS) $(SDL_LFLAGS) $(LIBS)
++ $(CC) $(CFLAGS) -o quakespasm $(OBJS) $(X11_LFLAGS) $(SDL_LFLAGS) $(LIBS) $(LDFLAGS)
+ $(STRIP_CMD) $@
+
+ release: quakespasm
+@@ -151,3 +151,4 @@ install: quakespasm
+ clean:
+ rm -f $(shell find . \( -name '*~' -o -name '#*#' -o -name '*.o' -o -name '*.res' -o -name $(DEFAULT_TARGET) \) -print)
+
++all: quakespasm