summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/quake/Makefile32
-rw-r--r--games/quake/files/md53
-rw-r--r--games/quake/files/patch-sum3
-rw-r--r--games/quake/patches/patch-aa13
-rw-r--r--games/quake/pkg/COMMENT1
-rw-r--r--games/quake/pkg/DESCR1
-rw-r--r--games/quake/pkg/PLIST1
7 files changed, 54 insertions, 0 deletions
diff --git a/games/quake/Makefile b/games/quake/Makefile
new file mode 100644
index 00000000000..828da4b8151
--- /dev/null
+++ b/games/quake/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/12/28 14:20:41 tron Exp $
+
+DISTNAME= q1source
+PKGNAME= quake-2.30
+CATEGORIES= games x11
+MASTER_SITES= ftp://ftp.cdrom.com/pub/idgames/idstuff/source/ \
+ ftp://ftp.fu-berlin.de/pub/pc/msdos/games/idgames/idstuff/source/ \
+ ftp://ftp.idsoftware.com/idstuff/source/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= tron@netbsd.org
+HOMEPAGE= http://www.idsoftware.com/
+
+BUILD_DEPENDS+= ${UNZIP}:../../archivers/unzip
+DEPENDS+= Mesa-*:../../graphics/Mesa
+
+USE_GMAKE= yes
+
+BROKEN= more patches are needed to make it build.
+
+EXTRACT_CMD= ${UNZIP} -q ${DISTDIR}/${EXTRACT_ONLY}
+MAKE_ENV+= MAINDIR=${WRKSRC}
+UNZIP= ${LOCALBASE}/bin/unzip
+WRKSRC= ${WRKDIR}/QW
+
+post-extract:
+ @${CHMOD} -R g-w,o-w ${WRKDIR}
+
+do-configure:
+ cd ${WRKSRC} && ${LN} -fs Makefile.Linux ${MAKEFILE}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/quake/files/md5 b/games/quake/files/md5
new file mode 100644
index 00000000000..567b0658af7
--- /dev/null
+++ b/games/quake/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/12/28 14:20:41 tron Exp $
+
+MD5 (q1source.zip) = 70a802bd815a61a99e6c1c9a4eaeb0f2
diff --git a/games/quake/files/patch-sum b/games/quake/files/patch-sum
new file mode 100644
index 00000000000..531f44ed519
--- /dev/null
+++ b/games/quake/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 1999/12/28 14:20:41 tron Exp $
+
+MD5 (patch-aa) = 2774e46a35aae2a6e568c86231c927c9
diff --git a/games/quake/patches/patch-aa b/games/quake/patches/patch-aa
new file mode 100644
index 00000000000..4638219d0e4
--- /dev/null
+++ b/games/quake/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/12/28 14:20:42 tron Exp $
+
+--- Makefile.Linux.orig Wed Apr 21 20:16:24 1999
++++ Makefile.Linux Tue Dec 28 12:01:52 1999
+@@ -27,8 +27,6 @@
+ RPMARCH=i386
+ endif
+
+-MAINDIR=/grog/Projects/QW
+-
+ BUILD_DEBUG_DIR=debug$(ARCH)$(GLIBC)
+ BUILD_RELEASE_DIR=release$(ARCH)$(GLIBC)
+ CLIENT_DIR=$(MAINDIR)/client
diff --git a/games/quake/pkg/COMMENT b/games/quake/pkg/COMMENT
new file mode 100644
index 00000000000..8b836f1a94f
--- /dev/null
+++ b/games/quake/pkg/COMMENT
@@ -0,0 +1 @@
+legendary 1st person shoot'em up game
diff --git a/games/quake/pkg/DESCR b/games/quake/pkg/DESCR
new file mode 100644
index 00000000000..8b836f1a94f
--- /dev/null
+++ b/games/quake/pkg/DESCR
@@ -0,0 +1 @@
+legendary 1st person shoot'em up game
diff --git a/games/quake/pkg/PLIST b/games/quake/pkg/PLIST
new file mode 100644
index 00000000000..691f985f07b
--- /dev/null
+++ b/games/quake/pkg/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/12/28 14:20:42 tron Exp $