summaryrefslogtreecommitdiff
path: root/games/xdoom
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2010-02-22 22:13:09 +0000
committerwiz <wiz@pkgsrc.org>2010-02-22 22:13:09 +0000
commit453b537c123e766c44149e05990a5199b3dcc617 (patch)
tree1c86b22d4984464e0138fe80ac49d02af7fb2035 /games/xdoom
parent3e9e8917ec1b5f5c1c0ed73e2f87de49cbc85a1b (diff)
downloadpkgsrc-453b537c123e766c44149e05990a5199b3dcc617.tar.gz
Depend on doom1 instead of providing doom wad.
Bump PKGREVISION.
Diffstat (limited to 'games/xdoom')
-rw-r--r--games/xdoom/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/games/xdoom/Makefile b/games/xdoom/Makefile
index 0046ce91ecd..abac990b9fd 100644
--- a/games/xdoom/Makefile
+++ b/games/xdoom/Makefile
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.47 2010/02/22 22:07:48 wiz Exp $
+# $NetBSD: Makefile,v 1.48 2010/02/22 22:13:09 wiz Exp $
DISTNAME= linuxdoom-1.10
PKGNAME= xdoom-1.10
-PKGREVISION= 3
+PKGREVISION= 4
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
+DISTFILES= doomsrc.zip
MAINTAINER= pkgsrc-users@NetBSD.org
# HOMEPAGE= http://www.idsoftware.com/archives/doomarc.html
@@ -14,9 +14,9 @@ MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= 3D shoot-em-up for 8-bit X11 displays
LICENSE= xdoom-license
-PKG_DESTDIR_SUPPORT= user-destdir
+DEPENDS+= doom1-[0-9]*:../../games/doom1
-EXTRACT_ONLY= doomsrc.zip
+PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}
USE_X11BASE= yes
@@ -37,7 +37,7 @@ CFLAGS+= -DLINUX
CFLAGS+= -D__BIG_ENDIAN__=1
.endif
-INSTALLATION_DIRS= bin share/doom
+INSTALLATION_DIRS= bin
post-extract:
(cd ${WRKDIR}; ${TAR} xzf linuxdoom-1.10.src.tgz)
@@ -52,8 +52,6 @@ do-install:
${DESTDIR}${PREFIX}/bin/xdoom
${INSTALL_PROGRAM} ${WRKSRC}/sndserv/linux/sndserver \
${DESTDIR}${PREFIX}/bin/sndserver
- ${GUNZIP_CMD} -c ${DISTDIR}/doom-1.8.wad.gz \
- > ${DESTDIR}${PREFIX}/share/doom/doom1.wad
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"