freebsd-ports/games/iourbanterror/Makefile
Chris Rees ff356ceb6a ioquake3:
- Allow slave ports to turn off some options
- Add modular renderer support for slaves
- Add WITH_DEBUG support
- Always check against non-default options so that they can be overridden
  (e.g. for BATCH mode)
- Add pkg-config build dependency

ioquake3-devel, iourbanterror, openarena:
- Fix CURL support
- Link libraries instead of using dlopen

ioquake3-devel, iourbanterror:
- Update SVN snapshot r2064 to r2194
- Improved UDP download speed
- New protocol version 71
- Reduced VOIP latency
- Modular rendering system
- Added r_mode -2 for using display resolution
- Clang support

openarena:
- Switch from engine src dist 21 to 22 (both r1910 based)

openarena-oax:
- Update to B50

iourbanterror, openarena:
- Clean up plist
- Disable GAMELIBS option

PR:		ports/162301
Submitted by:	Dominic Fandrey <kamikaze@bsdforen.de> (maintainer)
Feature safe:	yes
2011-12-12 21:05:02 +00:00

51 lines
1.1 KiB
Makefile

# New ports collection makefile for: ioquake3
# Date created: 3 Jun 2006
# Whom: alepulver
#
# $FreeBSD$
#
PORTNAME= iourbanterror
PORTVERSION= ${GAMEVERSION}.s${SVNREVISION}
DISTVERSION= 1.36_SVN${SVNREVISION}+${GAMEVERSION}
PORTEPOCH= 1
CATEGORIES= games
DISTNAME= ioquake3-devel-1.36_SVN${SVNREVISION}
MAINTAINER= kamikaze@bsdforen.de
COMMENT= Quake 3 engine modified for Urban Terror (based on ioquake3)
RUN_DEPENDS= ${Q3DIR}/q3ut4:${PORTSDIR}/games/urbanterror-data
PLIST= ${.CURDIR}/pkg-plist
NO_GAMELIBS= yes
# The docs belong to ioquake3
NOPORTDOCS= yes
GAMEVERSION= 4.1.1
Q3TOTALCONV= yes
Q3DIR= ${PREFIX}/share/quake3
Q3ICON= ${PREFIX}/share/quake3/q3ut4/q3ut.ico
Q3CLIENT= ioUrbanTerror
Q3SERVER= ioUrTded
Q3TOOLS=
Q3BASE= q3ut4
BINSUFFIX=
HOMEPATH= /.ioUrbanTerror
MAKE_ARGS+= BUILD_MISSIONPACK=0 \
BUILD_STANDALONE=1
UTPATCHES!= echo ${.CURDIR}/files/*
post-patch:
.for _file in ${UTPATCHES}
@${PATCH} -sd "${WRKSRC}" < ${_file}
.endfor
@${REINPLACE_CMD} \
-e 's/ioquake3/${Q3CLIENT}/g' \
-e 's/ioq3ded/${Q3SERVER}/g' \
-e 's/baseq3/${Q3BASE}/g' \
"${WRKSRC}/Makefile"
.include "../ioquake3-devel/Makefile"