pkgsrc/games/rtcw/Makefile
2015-01-04 03:04:27 +00:00

38 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.21 2015/01/04 03:04:27 dholland Exp $
DISTNAME= wolf-linux-1.33.x86
PKGNAME= rtcw-1.33
PKGREVISION= 2
CATEGORIES= games
MASTER_SITES= ftp://ftp.idsoftware.com/idstuff/wolf/linux/old/
EXTRACT_SUFX= .run
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://games.activision.com/games/wolfenstein/
COMMENT= Return to Castle Wolfenstein for Linux
RESTRICTED= Size; the data set is much too big
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
NO_SRC_ON_FTP= ${RESTRICTED}
EMUL_PLATFORMS= linux-i386
EMUL_MODULES.linux= base
BUILD_DIRS= # empty
RTCWDIR= ${PREFIX}/lib/lokigames/rtcw
USE_TOOLS+= gtar pax gzip
EXTRACT_CMD= ${SED} '1,178d' $$extract_file | \
${GZIP_CMD} -d | ${GTAR} -C ${WRKSRC} -xf -
pre-extract:
${MKDIR} ${WRKSRC}
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${RTCWDIR}
${CHMOD} 755 ${WRKSRC}/Docs/PunkBuster
${CHMOD} 644 ${WRKSRC}/main/mp_bin.pk3
cd ${WRKSRC} && pax -rw -p am . ${DESTDIR}${RTCWDIR}
.include "../../mk/bsd.pkg.mk"