diff options
author | garbled <garbled@pkgsrc.org> | 1998-08-28 12:53:03 +0000 |
---|---|---|
committer | garbled <garbled@pkgsrc.org> | 1998-08-28 12:53:03 +0000 |
commit | c54bfe9f062669caf89950e0043490ebb3f381c5 (patch) | |
tree | 296ffa408a97c46ee412fcf1b1b81a5dd876e8f6 /games/xdoom/Makefile | |
parent | 0761d22ecc7c1f11f17cd28353c3e920b615a271 (diff) | |
download | pkgsrc-c54bfe9f062669caf89950e0043490ebb3f381c5.tar.gz |
xdoom-1.10: a 3D shoot-em-up for 8-bit X11 displays.
Many thanks to Matthias Drochner for giving me his framework on the pkg
as a starting point.
Diffstat (limited to 'games/xdoom/Makefile')
-rw-r--r-- | games/xdoom/Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/games/xdoom/Makefile b/games/xdoom/Makefile new file mode 100644 index 00000000000..0a562748340 --- /dev/null +++ b/games/xdoom/Makefile @@ -0,0 +1,36 @@ +# $NetBSD: Makefile,v 1.1 1998/08/28 12:53:03 garbled Exp $ + +DISTNAME= linuxdoom-1.10 +PKGNAME= xdoom-1.10 +CATEGORIES= games x11 +MASTER_SITES= ftp://ftp.idsoftware.com/idstuff/source/ +MASTER_SITES+= ftp://ftp.idsoftware.com/idstuff/doom/ +DISTFILES= doomsrc.zip doom-1.8.wad.gz + +MAINTAINER= root@garbled.net +HOMEPAGE= http://www.idsoftware.com/archives/doomarc.html + +BUILD_DEPENDS= unzip:../../archivers/unzip + +EXTRACT_CMD= unzip +EXTRACT_BEFORE_ARGS= -qo +EXTRACT_ONLY= doomsrc.zip +USE_X11= yes +USE_GMAKE= yes + +post-extract: + (cd ${WRKDIR}; tar xzf linuxdoom-1.10.src.tgz) + +post-patch: + @${MV} ${WRKSRC}/i_sound.c foo + @${SED} -e 's@XXXPREFIXXXX@${PREFIX}@' <foo> ${WRKSRC}/i_sound.c + @${MV} ${WRKSRC}/d_main.c foo + @${SED} -e 's@XXXPREFIXXXX@${PREFIX}@' <foo> ${WRKSRC}/d_main.c + @${RM} -f foo + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/linux/linuxxdoom ${PREFIX}/bin/xdoom + ${MKDIR} ${PREFIX}/share/doom + ${GUNZIP_CMD} -c ${DISTDIR}/doom-1.8.wad.gz > ${PREFIX}/share/doom/doom1.wad + +.include "../../mk/bsd.pkg.mk" |