pkgsrc/games/quakedata/Makefile

39 lines
998 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.28 2018/01/14 17:34:01 rillig Exp $
2000-02-02 07:50:34 +01:00
DISTNAME= quake106
PKGNAME= quakedata-1.0
PKGREVISION= 1
2000-02-02 07:50:34 +01:00
CATEGORIES= games
MASTER_SITES= ftp://ftp.fu-berlin.de/pc/msdos/games/idgames/idstuff/quake/
MASTER_SITES+= ftp://ftp.idsoftware.com/idstuff/quake/
2000-02-02 07:50:34 +01:00
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
2017-09-04 20:08:18 +02:00
HOMEPAGE= https://www.idsoftware.com/
COMMENT= Game data files for Quake
LICENSE= quakedata-license
RESTRICTED= This software is shareware.
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
BUILD_DEPENDS+= lha-[0-9]*:../../archivers/lha
EXTRACT_ELEMENTS= resource.*
WRKSRC= ${WRKDIR}
2000-02-02 07:50:34 +01:00
NO_BUILD= YES
2006-05-22 08:45:08 +02:00
USE_TOOLS+= lha
2000-02-02 07:50:34 +01:00
post-extract:
2006-05-22 08:45:08 +02:00
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:
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/quake/id1
${INSTALL_DATA} ${WRKSRC}/id1/pak0.pak \
${DESTDIR}${PREFIX}/share/quake/id1
2000-02-02 07:50:34 +01:00
.include "../../mk/bsd.pkg.mk"