blob: f519aa4879741dce1821c1f9a134d852518626f3 (
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
|
# $NetBSD: Makefile,v 1.5 2015/04/25 14:22:56 tnn Exp $
#
DISTNAME= ioquake3-1.36
PKGREVISION= 1
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
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}
.include "../../audio/openal/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|