pkgsrc/games/quakedata/Makefile
wiz 109c80313e Change default for zip extraction to leave files as they are.
Previously, zip extraction by default converted to lower case.

Fix some packages that need it and remove -L from some packages
that manually set it.
2009-08-25 11:56:34 +00:00

40 lines
1,019 B
Makefile

# $NetBSD: Makefile,v 1.24 2009/08/25 11:56:36 wiz Exp $
DISTNAME= quake106
PKGNAME= quakedata-1.0
PKGREVISION= 1
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= pkgsrc-users@NetBSD.org
HOMEPAGE= http://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
PKG_DESTDIR_SUPPORT= user-destdir
EXTRACT_ELEMENTS= resource.*
WRKSRC= ${WRKDIR}
NO_BUILD= YES
USE_TOOLS+= lha
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} ${DESTDIR}${PREFIX}/share/quake/id1
${INSTALL_DATA} ${WRKSRC}/id1/pak0.pak \
${DESTDIR}${PREFIX}/share/quake/id1
.include "../../mk/bsd.pkg.mk"