freebsd-ports/games/iourbanterror/Makefile
John Marino 4a5c97cd51 games: ioquak3* iourbanterror* openarena*: Update and stage support
The patch applied without incident.  Tested on DragonFly poudriere,
everything built fine.  It include an i386 fix, which is why the
previous commit was reverted.

The only modification was to change EXTRACT_CMD to TAR in a couple
of places.

PR:		ports/187859
submitted by;	maintainer (Dominic Fandrey)
2014-06-01 15:28:29 +00:00

47 lines
1.1 KiB
Makefile

# Created by: alepulver
# $FreeBSD$
PORTNAME= iourbanterror
PORTVERSION= ${GAMEVERSION}.${DISTVERSION}
PORTREVISION= 0
PORTEPOCH= 1
CATEGORIES= games
DISTNAME= ioquake3-${DISTVERSION}
MAINTAINER= kamikaze@bsdforen.de
COMMENT= Quake 3 engine modified for Urban Terror (based on ioquake3)
RUN_DEPENDS= ${Q3DIR}/q3ut4:${PORTSDIR}/games/urbanterror-data
MASTERDIR= ${.CURDIR}/../ioquake3
IOQ3?= CLIENT
# The docs belong to ioquake3
OPTIONS_EXCLUDE= DOCS
GAMEVERSION= 4.2.018
Q3ENGINEVER= ${DISTVERSION}+${GAMEVERSION}
Q3TOTALCONV= yes
Q3DIR= ${PREFIX}/share/quake3
Q3ICON= ${PREFIX}/share/quake3/q3ut4/q3ut.ico
Q3CLIENT= ioUrbanTerror
Q3SERVER= ioUrTded
Q3BASE= q3ut4
BINSUFFIX=
HOMEPATH= /.ioUrbanTerror
MAKE_ARGS+= BUILD_MISSIONPACK=0 \
BUILD_STANDALONE=1
post-patch:
@(cd ${WRKSRC} && \
for pfile in ${.CURDIR}/../${PORTNAME}/files/patch-*; do \
${PATCH} < $${pfile}; \
done)
@${REINPLACE_CMD} \
-e 's/ioquake3/${Q3CLIENT}/g' \
-e 's/ioq3ded/${Q3SERVER}/g' \
-e 's/baseq3/${Q3BASE}/g' \
"${WRKSRC}/Makefile"
.include "${MASTERDIR}/Makefile"