summaryrefslogtreecommitdiff
path: root/games/quake/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/quake/Makefile')
-rw-r--r--games/quake/Makefile32
1 files changed, 32 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"