34 lines
938 B
Makefile
34 lines
938 B
Makefile
# $NetBSD: Makefile,v 1.14 2004/04/11 19:22:43 snj Exp $
|
|
|
|
DISTNAME= quake106
|
|
PKGNAME= quakedata-1.0
|
|
CATEGORIES= games
|
|
MASTER_SITES= ftp://ftp.fu-berlin.de/pc/msdos/games/idgames/idstuff/quake/ \
|
|
ftp://ftp.idsoftware.com/idstuff/quake/
|
|
EXTRACT_SUFX= .zip
|
|
|
|
MAINTAINER= itojun@kame.net
|
|
HOMEPAGE= http://www.idsoftware.com/
|
|
COMMENT= Game data files for Quake
|
|
|
|
BUILD_DEPENDS+= lha-[0-9]*:../../archivers/lha
|
|
|
|
LICENSE+= shareware
|
|
RESTRICTED= "This software is shareware"
|
|
NO_SRC_ON_CDROM= ${RESTRICTED}
|
|
NO_BIN_ON_CDROM= ${RESTRICTED}
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
EXTRACT_CMD= unzip -q -o ${DOWNLOADED_DISTFILE} -d ${WRKDIR} resource.*
|
|
NO_BUILD= YES
|
|
NO_BUILDLINK= YES
|
|
|
|
post-extract:
|
|
cd ${WRKSRC}; ${CAT} resource.dat resource.1 > resource.exe
|
|
cd ${WRKDIR}; lha xfq resource.exe id1/pak0.pak
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/quake/id1
|
|
${INSTALL_DATA} ${WRKSRC}/id1/pak0.pak ${PREFIX}/share/quake/id1
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|