Depend on doom1 instead of providing doom wad.

Bump PKGREVISION.
This commit is contained in:
wiz 2010-02-22 22:13:09 +00:00
parent 40985a5c0a
commit 9adb0ab8c6

View file

@ -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"