blob: 5bf5d3a06f2c1d7c1128d6415717606d4b352e99 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# $NetBSD: Makefile,v 1.20 2013/04/06 12:04:01 rodent 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
# This package needs DRI support.
NOT_FOR_PLATFORM= NetBSD-*-*
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"
|