File:
[cvs.NetBSD.org] /
pkgsrc /
games /
ioquake3-raspberrypi /
Makefile
Revision
1.3:
download - view:
text,
annotated -
select for diffs
Sun Jan 14 17:33:59 2018 UTC (6 years, 10 months ago) by
rillig
Branches:
MAIN
CVS tags:
pkgsrc-2024Q3-base,
pkgsrc-2024Q3,
pkgsrc-2024Q2-base,
pkgsrc-2024Q2,
pkgsrc-2024Q1-base,
pkgsrc-2024Q1,
pkgsrc-2023Q4-base,
pkgsrc-2023Q4,
pkgsrc-2023Q3-base,
pkgsrc-2023Q3,
pkgsrc-2023Q2-base,
pkgsrc-2023Q2,
pkgsrc-2023Q1-base,
pkgsrc-2023Q1,
pkgsrc-2022Q4-base,
pkgsrc-2022Q4,
pkgsrc-2022Q3-base,
pkgsrc-2022Q3,
pkgsrc-2022Q2-base,
pkgsrc-2022Q2,
pkgsrc-2022Q1-base,
pkgsrc-2022Q1,
pkgsrc-2021Q4-base,
pkgsrc-2021Q4,
pkgsrc-2021Q3-base,
pkgsrc-2021Q3,
pkgsrc-2021Q2-base,
pkgsrc-2021Q2,
pkgsrc-2021Q1-base,
pkgsrc-2021Q1,
pkgsrc-2020Q4-base,
pkgsrc-2020Q4,
pkgsrc-2020Q3-base,
pkgsrc-2020Q3,
pkgsrc-2020Q2-base,
pkgsrc-2020Q2,
pkgsrc-2020Q1-base,
pkgsrc-2020Q1,
pkgsrc-2019Q4-base,
pkgsrc-2019Q4,
pkgsrc-2019Q3-base,
pkgsrc-2019Q3,
pkgsrc-2019Q2-base,
pkgsrc-2019Q2,
pkgsrc-2019Q1-base,
pkgsrc-2019Q1,
pkgsrc-2018Q4-base,
pkgsrc-2018Q4,
pkgsrc-2018Q3-base,
pkgsrc-2018Q3,
pkgsrc-2018Q2-base,
pkgsrc-2018Q2,
pkgsrc-2018Q1-base,
pkgsrc-2018Q1,
HEAD
games/*: fix alignment of variable values
pkglint -Wall -r --autofix --only aligned
After running the above command, three packages had to be adjusted
manually:
In maelstrom-x11, pkglint didn't see that a commented variable
assignment should have been re-aligned as well.
In netmaze, there was a single line that didn't align well with all the
others, but pkglint decided to adjust the whole paragraph to this single
line. The result would have been ok, but not good.
In tscp, there was a paragraph where some of the lines were indented
one space more than the others. This rule is useful when one variable
name is very long compared to the others, but not in this case.
# $NetBSD: Makefile,v 1.3 2018/01/14 17:33:59 rillig Exp $
DISTNAME= ioquake3-raspberrypi-20150118
PKGREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.invisible.ca/packages/distfiles/
EXTRACT_SUFX= .zip
MAINTAINER= port-arm@NetBSD.org
HOMEPAGE= https://github.com/raspberrypi/quake3
COMMENT= Open source Quake 3 distribution (Raspberry Pi version)
LICENSE= gnu-gpl-v2
USE_TOOLS+= gmake pkg-config
BUILD_TARGET= release
# XXX install target does not work with debug builds
#BUILD_TARGET= debug
ONLY_FOR_PLATFORM= NetBSD-*-*arm*
INSTALLATION_DIRS+= lib/ioquake3
WRKSRC= ${WRKDIR}/quake3-master
MAKE_ENV+= ARCH=rpi
MAKE_ENV+= USE_SVN=0 USE_CURL=0 USE_OPENAL=0 USE_MUMBLE=0 USE_VOIP=0
MAKE_ENV+= COPYDIR=${DESTDIR}${PREFIX}/lib/ioquake3
CFLAGS+= -mfpu=vfp
CFLAGS+= -I${PREFIX}/include -I${PREFIX}/include/interface/vcos/pthreads
CFLAGS+= -I${PREFIX}/include/SDL
CFLAGS+= -DVCMODS_MISC -DVCMODS_OPENGLES -DVCMODS_DEPTH -DVCMODS_REPLACETRIG
LDFLAGS+= -Wl,-R${PREFIX}/lib -L${PREFIX}/lib
LDFLAGS+= -lSDL -lpthread -lvchostif -lvcfiled_check -lbcm_host -lkhrn_static -lvchiq_arm -lopenmaxil -lEGL -lGLESv2 -lvcos
do-install:
cd ${WRKSRC} && ${MAKE_ENV} ${GMAKE} copyfiles COPYDIR=${DESTDIR}${PREFIX}/lib/ioquake3
.include "../../devel/SDL/buildlink3.mk"
.include "../../misc/raspberrypi-userland/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>