1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/games/iourbanterror/Makefile
Ruslan Makhmatkhanov 3b64ffeba3 - split out -server part from ioquake3-based ports:
- games/ioquake3-devel-server added
  - games/ioquake3-server added
  - games/iourbanterror-server
  - games/openarena-server added
- update games/ioquake3-devel to svn revision 2244
- update games/openarena to 0.8.8
- update games/openarena-data to 0.8.8

Doing this in single commit since all this ports are
tightly interconnected.

PR:		ports/165842
Submitted by:	Dominic Fandrey <kamikaze at bsdforen dot de> (maintainer)
2012-05-18 20:21:53 +00:00

54 lines
1.3 KiB
Makefile

# New ports collection makefile for: ioquake3
# Date created: 3 Jun 2006
# Whom: alepulver
#
# $FreeBSD$
#
PORTNAME= iourbanterror
PORTVERSION= ${GAMEVERSION}.s${SVNREVISION}
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
MASTERDIR= ${.CURDIR}/../ioquake3-devel
DISTINFO_FILE= ${.CURDIR}/../ioquake3-devel/distinfo
PLIST= ${.CURDIR}/../${PORTNAME}/pkg-plist
NO_GAMELIBS= yes
NO_TOOLS= yes
# The docs belong to ioquake3
NOPORTDOCS= yes
GAMEVERSION= 4.1.1
Q3ENGINEVER= 1.36_SVN${SVNREVISION}+${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
UTPATCHES= ${.CURDIR}/../${PORTNAME}/files/*
post-patch:
@for utpatch in ${UTPATCHES}; do \
${PATCH} -sd "${WRKSRC}" < $$utpatch; \
done
@${REINPLACE_CMD} \
-e 's/ioquake3/${Q3CLIENT}/g' \
-e 's/ioq3ded/${Q3SERVER}/g' \
-e 's/baseq3/${Q3BASE}/g' \
"${WRKSRC}/Makefile"
.include "${MASTERDIR}/Makefile"