summaryrefslogtreecommitdiff
path: root/games/quakedata/Makefile
diff options
context:
space:
mode:
authoritojun <itojun@pkgsrc.org>2000-02-02 06:50:34 +0000
committeritojun <itojun@pkgsrc.org>2000-02-02 06:50:34 +0000
commit4bbbb13e0caa5cca2c54b731091cf195d568c42e (patch)
tree74c6a18b0b58eee9d6e5f079e594a7531e053057 /games/quakedata/Makefile
parent54b77d469bfba67ec9724c4042c5965a5c9af6e7 (diff)
downloadpkgsrc-4bbbb13e0caa5cca2c54b731091cf195d568c42e.tar.gz
game data for quake/shareware
Diffstat (limited to 'games/quakedata/Makefile')
-rw-r--r--games/quakedata/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/games/quakedata/Makefile b/games/quakedata/Makefile
new file mode 100644
index 00000000000..3f68778b750
--- /dev/null
+++ b/games/quakedata/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/02/02 06:50:34 itojun Exp $
+# Based on FreeBSD ports/games/quakeserver
+# FreeBSD: ports/games/quakeserver/Makefile,v 1.20 1999/08/31 06:44:23 mharo Exp
+#
+
+DISTNAME= quake106
+PKGNAME= quakedata-1.0
+CATEGORIES= games
+MASTER_SITES= ftp://ftp.cdrom.com/pub/quake/planetquake/threewave/unix/ \
+ ftp://ftp.idsoftware.com/idstuff/quake/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= itojun@kame.net
+HOMEPAGE= http://www.idsoftware.com/
+
+BUILD_DEPENDS= unzip:../../archivers/unzip \
+ lha:../../archivers/lha
+
+NO_WRKSUBDIR= YES
+NO_BUILD= YES
+NO_CDROM= "This software is shareware"
+LICENSE+= shareware
+
+do-extract:
+ ${RM} -rf ${WRKDIR}
+ ${MKDIR} ${WRKDIR}
+ unzip -q -o ${DISTDIR}/quake106.zip -d ${WRKDIR} resource.*
+ ${CAT} ${WRKDIR}/resource.dat ${WRKDIR}/resource.1 > ${WRKDIR}/resource.exe
+ cd ${WRKDIR}; lha xfq resource.exe id1/pak0.pak
+
+do-install:
+ ${MKDIR} ${PREFIX}/share/quake/id1
+ ${INSTALL_DATA} ${WRKSRC}/id1/pak0.pak ${PREFIX}/share/quake/id1
+
+.include "../../mk/bsd.pkg.mk"