freebsd-ports/games/iourbanterror/Makefile
Roman Bogorodskiy 802bbf72ff games/iourbanterror: point to proper pkg-descr
games/iourbanterror ships its own pkg-descr file, but does not define
DESCR, so pkg-descr from its parent port, games/ioquake3, is used.

Define DESCR to point to the proper file for games/iourbanterror and
games/iourbanterror-server.

While here, fix tabs/space mix in intendation and drop trailing whitespace
as pointed by portlint.
2015-09-30 17:49:01 +00:00

48 lines
1.1 KiB
Makefile

# Created by: alepulver
# $FreeBSD$
PORTNAME= iourbanterror
PORTVERSION= ${GAMEVERSION}.${DISTVERSION}
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= games
DISTNAME= ioquake3-${DISTVERSION}
MAINTAINER= kamikaze@bsdforen.de
COMMENT= Quake 3 engine modified for Urban Terror (based on ioquake3)
RUN_DEPENDS= urbanterror-data>0:${PORTSDIR}/games/urbanterror-data
MASTERDIR= ${.CURDIR}/../ioquake3
DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr
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"