# $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"