aboutsummaryrefslogtreecommitdiff
path: root/games/iourbanterror
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2012-05-18 20:21:53 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2012-05-18 20:21:53 +0000
commit3b64ffeba3280ff8a220ae36696876ccc297897f (patch)
tree99e266cd9b7aaf695b1ed438bbf7caf5462291da /games/iourbanterror
parentc4ff8f3272e7e12d4eba66ed97680e48dfaf3f5a (diff)
downloadports-3b64ffeba3280ff8a220ae36696876ccc297897f.tar.gz
ports-3b64ffeba3280ff8a220ae36696876ccc297897f.zip
Notes
Diffstat (limited to 'games/iourbanterror')
-rw-r--r--games/iourbanterror/Makefile18
-rw-r--r--games/iourbanterror/distinfo2
-rw-r--r--games/iourbanterror/pkg-descr2
3 files changed, 11 insertions, 11 deletions
diff --git a/games/iourbanterror/Makefile b/games/iourbanterror/Makefile
index 908fe1201026..6ef3cad06887 100644
--- a/games/iourbanterror/Makefile
+++ b/games/iourbanterror/Makefile
@@ -7,7 +7,6 @@
PORTNAME= iourbanterror
PORTVERSION= ${GAMEVERSION}.s${SVNREVISION}
-DISTVERSION= 1.36_SVN${SVNREVISION}+${GAMEVERSION}
PORTEPOCH= 1
CATEGORIES= games
DISTNAME= ioquake3-devel-1.36_SVN${SVNREVISION}
@@ -17,18 +16,21 @@ COMMENT= Quake 3 engine modified for Urban Terror (based on ioquake3)
RUN_DEPENDS= ${Q3DIR}/q3ut4:${PORTSDIR}/games/urbanterror-data
-PLIST= ${.CURDIR}/pkg-plist
+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
-Q3TOOLS=
Q3BASE= q3ut4
BINSUFFIX=
HOMEPATH= /.ioUrbanTerror
@@ -36,16 +38,16 @@ HOMEPATH= /.ioUrbanTerror
MAKE_ARGS+= BUILD_MISSIONPACK=0 \
BUILD_STANDALONE=1
-UTPATCHES!= echo ${.CURDIR}/files/*
+UTPATCHES= ${.CURDIR}/../${PORTNAME}/files/*
post-patch:
-.for _file in ${UTPATCHES}
- @${PATCH} -sd "${WRKSRC}" < ${_file}
-.endfor
+ @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 "../ioquake3-devel/Makefile"
+.include "${MASTERDIR}/Makefile"
diff --git a/games/iourbanterror/distinfo b/games/iourbanterror/distinfo
deleted file mode 100644
index 168c2eb6d6e7..000000000000
--- a/games/iourbanterror/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (ioquake3-devel-1.36_SVN2194.zip) = 91ef10e29ebc49c4d1faa4265b573e98c3b804b71004111142ee7b55543a54ff
-SIZE (ioquake3-devel-1.36_SVN2194.zip) = 5660634
diff --git a/games/iourbanterror/pkg-descr b/games/iourbanterror/pkg-descr
index 2998ff22860d..5acc5f06f0ad 100644
--- a/games/iourbanterror/pkg-descr
+++ b/games/iourbanterror/pkg-descr
@@ -9,4 +9,4 @@ and nice jumps. Urban Terror has 7 game modes, 25 maps and 15 weapons.
This port installs a modified ioquake3 engine for Urban Terror called
ioUrbanTerror, and depends on the data, resulting in a playable game.
-WWW: http://www.urbanterror.info/
+WWW: http://www.urbanterror.info/