2003-03-29 13:40:00 +01:00
|
|
|
# $NetBSD: Makefile,v 1.12 2003/03/29 12:41:08 jmmv Exp $
|
2000-02-02 07:50:34 +01:00
|
|
|
|
|
|
|
DISTNAME= quake106
|
|
|
|
PKGNAME= quakedata-1.0
|
2003-03-29 13:40:00 +01:00
|
|
|
WRKSRC= ${WRKDIR}
|
2000-02-02 07:50:34 +01:00
|
|
|
CATEGORIES= games
|
2002-01-24 13:35:53 +01:00
|
|
|
MASTER_SITES= ftp://ftp.fu-berlin.de/pc/msdos/games/idgames/idstuff/quake/ \
|
2000-02-02 07:50:34 +01:00
|
|
|
ftp://ftp.idsoftware.com/idstuff/quake/
|
|
|
|
EXTRACT_SUFX= .zip
|
|
|
|
|
|
|
|
MAINTAINER= itojun@kame.net
|
|
|
|
HOMEPAGE= http://www.idsoftware.com/
|
2001-02-16 16:10:41 +01:00
|
|
|
COMMENT= Game data files for Quake
|
2000-02-02 07:50:34 +01:00
|
|
|
|
2002-09-23 12:20:41 +02:00
|
|
|
BUILD_DEPENDS+= lha-[0-9]*:../../archivers/lha
|
2000-02-02 07:50:34 +01:00
|
|
|
|
2000-10-05 06:25:59 +02:00
|
|
|
LICENSE+= shareware
|
|
|
|
RESTRICTED= "This software is shareware"
|
2000-08-19 00:46:29 +02:00
|
|
|
NO_SRC_ON_CDROM= ${RESTRICTED}
|
|
|
|
NO_BIN_ON_CDROM= ${RESTRICTED}
|
|
|
|
|
2000-10-05 06:25:59 +02:00
|
|
|
EXTRACT_CMD= unzip -q -o ${DOWNLOADED_DISTFILE} -d ${WRKDIR} resource.*
|
2002-09-23 12:20:41 +02:00
|
|
|
USE_BUILDLINK2= YES
|
2000-02-02 07:50:34 +01:00
|
|
|
NO_BUILD= YES
|
|
|
|
|
2000-10-05 06:25:59 +02:00
|
|
|
post-extract:
|
|
|
|
cd ${WRKSRC}; ${CAT} resource.dat resource.1 > resource.exe
|
|
|
|
cd ${WRKDIR}; lha xfq resource.exe id1/pak0.pak
|
2000-02-02 07:50:34 +01:00
|
|
|
|
|
|
|
do-install:
|
2000-10-05 06:25:59 +02:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/quake/id1
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/id1/pak0.pak ${PREFIX}/share/quake/id1
|
2000-02-02 07:50:34 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|