aboutsummaryrefslogtreecommitdiff
path: root/games/urbanterror-data
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/urbanterror-data
parentc4ff8f3272e7e12d4eba66ed97680e48dfaf3f5a (diff)
downloadports-3b64ffeba3280ff8a220ae36696876ccc297897f.tar.gz
ports-3b64ffeba3280ff8a220ae36696876ccc297897f.zip
- 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)
Notes
Notes: svn path=/head/; revision=296922
Diffstat (limited to 'games/urbanterror-data')
-rw-r--r--games/urbanterror-data/Makefile28
-rw-r--r--games/urbanterror-data/pkg-descr2
2 files changed, 15 insertions, 15 deletions
diff --git a/games/urbanterror-data/Makefile b/games/urbanterror-data/Makefile
index b160925451eb..1cd90057c3ca 100644
--- a/games/urbanterror-data/Makefile
+++ b/games/urbanterror-data/Makefile
@@ -5,36 +5,36 @@
# $FreeBSD$
#
-PORTNAME= urbanterror
+PORTNAME= data
PORTVERSION= 4.1.1
CATEGORIES= games
-MASTER_SITES= ftp://ftp.snt.utwente.nl/pub/games/urbanterror/full_install/linux_or_mac/
-# http://www.urbanterror.info/downloads/software/urt/${DISTNAME}${EXTRACT_SUFX}?download=direct\\\#
-PKGNAMESUFFIX= -data
+MASTER_SITES= ftp://ftp.snt.utwente.nl/pub/games/urbanterror/full_install/linux_or_mac/ \
+ http://www.iourt.com/files/ \
+ http://urbanterror.mtc-team.fr/
+PKGNAMEPREFIX= urbanterror-
DISTNAME= UrbanTerror${PORTVERSION:S/.//g}
+EXTRACT_SUFX= .zip
+EXTRACT_ONLY=
MAINTAINER= kamikaze@bsdforen.de
COMMENT= Standalone realism based mod originally for Quake III Arena
-USE_ZIP= yes
NO_BUILD= yes
NO_PACKAGE= Package will be 1GB; set FORCE_PACKAGE if you really want it
-WRKSRC= ${WRKDIR}/UrbanTerror
-DATADIR= ${Q3DIR}
-
-.include "../quake3-data/Makefile.include"
-
-post-extract:
- @cd ${WRKSRC}/q3ut4 && ${MV} readme${PORTVERSION:S/.//:C/\..*//}.txt ..
+DATADIR= ${PREFIX}/share/quake3
do-install:
${MKDIR} ${DATADIR}/q3ut4
- ${CP} -r ${WRKSRC}/q3ut4/* ${DATADIR}/q3ut4
+ ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${DISTFILES} \
+ ${EXTRACT_AFTER_ARGS} -C ${DATADIR} --strip-components 1 \
+ UrbanTerror/q3ut4
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/readme${PORTVERSION:S/.//:C/\..*//}.txt \
+ ${MV} ${DATADIR}/q3ut4/readme${PORTVERSION:S/.//:C/\..*//}.txt \
${DOCSDIR}/readme${PORTVERSION:S/.//g}.txt
+.else
+ ${RM} ${DATADIR}/q3ut4/readme${PORTVERSION:S/.//:C/\..*//}.txt
.endif
.include <bsd.port.mk>
diff --git a/games/urbanterror-data/pkg-descr b/games/urbanterror-data/pkg-descr
index 807a9f869444..5c919f23dac8 100644
--- a/games/urbanterror-data/pkg-descr
+++ b/games/urbanterror-data/pkg-descr
@@ -9,4 +9,4 @@ and nice jumps. Urban Terror has 7 game modes, 25 maps and 15 weapons.
This port only contains the data, and can be played with ioUrbanTerror
(games/iourbanterror) or any other Quake 3 Arena compatible engine.
-WWW: http://www.urbanterror.net/
+WWW: http://www.urbanterror.net/