blob: a7cbfc38569162f395940bebb20fde87da4491c8 (
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
|
# $NetBSD: Makefile,v 1.7 2019/04/12 18:39:34 nia Exp $
#
DISTNAME= ioquake3-1.36
PKGREVISION= 3
CATEGORIES= games
MASTER_SITES= http://ioquake3.org/files/1.36/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.ioquake3.org/
COMMENT= Open source Quake 3 distribution
LICENSE= gnu-gpl-v2
USE_TOOLS+= gmake
BUILD_TARGET= release
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/ioquake3
cd ${WRKSRC} && ${GMAKE} copyfiles COPYDIR=${DESTDIR}${PREFIX}/lib/ioquake3
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD" && ${MACHINE_CPU:U} == "arm"
QUAKE_ARCH!= uname -m
.else
QUAKE_ARCH= ${MACHINE_ARCH}
.endif
PLIST_SUBST+= QUAKE_ARCH=${QUAKE_ARCH:Q}
# recursive error after: VM_CompileX86: mprotect failed
NOT_PAX_MPROTECT_SAFE+= lib/ioquake3/ioq3ded.${QUAKE_ARCH}
NOT_PAX_MPROTECT_SAFE+= lib/ioquake3/ioquake3.${QUAKE_ARCH}
.include "../../audio/openal-soft/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|