aboutsummaryrefslogtreecommitdiff
path: root/games/urbanterror-data
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-06-01 15:28:29 +0000
committerJohn Marino <marino@FreeBSD.org>2014-06-01 15:28:29 +0000
commit4a5c97cd515131649397e390a219423754e3d667 (patch)
treea60835aa71b563cea376eaa0213f34f52f978511 /games/urbanterror-data
parentb89c89362f4a0ac919af7d57adeb8a1a5a3630b6 (diff)
downloadports-4a5c97cd515131649397e390a219423754e3d667.tar.gz
ports-4a5c97cd515131649397e390a219423754e3d667.zip
games: ioquak3* iourbanterror* openarena*: Update and stage support
The patch applied without incident. Tested on DragonFly poudriere, everything built fine. It include an i386 fix, which is why the previous commit was reverted. The only modification was to change EXTRACT_CMD to TAR in a couple of places. PR: ports/187859 submitted by; maintainer (Dominic Fandrey)
Notes
Notes: svn path=/head/; revision=356137
Diffstat (limited to 'games/urbanterror-data')
-rw-r--r--games/urbanterror-data/Makefile12
-rw-r--r--games/urbanterror-data/distinfo4
-rw-r--r--games/urbanterror-data/pkg-plist12
3 files changed, 19 insertions, 9 deletions
diff --git a/games/urbanterror-data/Makefile b/games/urbanterror-data/Makefile
index 48a8d638e241..bb989fef3fff 100644
--- a/games/urbanterror-data/Makefile
+++ b/games/urbanterror-data/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= data
-PORTVERSION= 4.2.014
+PORTVERSION= 4.2.018
CATEGORIES= games
MASTER_SITES= http://cdn.urbanterror.info/urt/42/zips/ \
http://www.f1m.fr/uploads/urt/ \
@@ -28,16 +28,22 @@ PLIST_SUB+= VER=${URT_VER}
OPTIONS_DEFINE= DOCS
+UTDOCS= readme${URT_VER}.txt \
+ How_To_Install.txt \
+ QIIIA_Game_Source_License.doc
+
.include <bsd.port.options.mk>
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}/q3ut4
- ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${DISTFILES} \
+ ${TAR} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${DISTFILES} \
${EXTRACT_AFTER_ARGS} -C ${STAGEDIR}${DATADIR} --strip-components 1 \
UrbanTerror${URT_VER}/q3ut4
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${MV} ${STAGEDIR}${DATADIR}/q3ut4/readme${URT_VER}.txt ${STAGEDIR}${DOCSDIR}
+.for utdoc in ${UTDOCS}
+ ${MV} ${STAGEDIR}${DATADIR}/q3ut4/${utdoc} ${STAGEDIR}${DOCSDIR}
+.endfor
.else
${RM} ${STAGEDIR}${DATADIR}/q3ut4/readme${URT_VER}.txt
.endif
diff --git a/games/urbanterror-data/distinfo b/games/urbanterror-data/distinfo
index 090a29263e83..d77417f3ee1c 100644
--- a/games/urbanterror-data/distinfo
+++ b/games/urbanterror-data/distinfo
@@ -1,2 +1,2 @@
-SHA256 (UrbanTerror42_full014.zip) = 52618f40223baedf37b0a97fc99fd05d3915d20eaff38c71e4eeb66835c7d169
-SIZE (UrbanTerror42_full014.zip) = 1548345447
+SHA256 (UrbanTerror42_full018.zip) = 10710c5b762687a75a7abd3cc56de005ce12dcb7ac14c08f40bcb4e9d96f4e83
+SIZE (UrbanTerror42_full018.zip) = 1702949967
diff --git a/games/urbanterror-data/pkg-plist b/games/urbanterror-data/pkg-plist
index ed00678cfe95..d5f4575cbf9b 100644
--- a/games/urbanterror-data/pkg-plist
+++ b/games/urbanterror-data/pkg-plist
@@ -1,6 +1,6 @@
%%PORTDOCS%%%%DOCSDIR%%/readme%%VER%%.txt
-%%DATADIR%%/q3ut4/How_To_Install.txt
-%%DATADIR%%/q3ut4/QIIIA_Game_Source_License.doc
+%%PORTDOCS%%%%DOCSDIR%%/How_To_Install.txt
+%%PORTDOCS%%%%DOCSDIR%%/QIIIA_Game_Source_License.doc
%%DATADIR%%/q3ut4/autoexec_example.cfg
%%DATADIR%%/q3ut4/mapcycle_example.txt
%%DATADIR%%/q3ut4/server_example.cfg
@@ -28,7 +28,11 @@
%%DATADIR%%/q3ut4/zUrT42_0020.pk3
%%DATADIR%%/q3ut4/zUrT42_0021.pk3
%%DATADIR%%/q3ut4/zUrT42_0022.pk3
+%%DATADIR%%/q3ut4/zUrT42_0023.pk3
+%%DATADIR%%/q3ut4/zUrT42_0024.pk3
+%%DATADIR%%/q3ut4/zUrT42_0025.pk3
+%%DATADIR%%/q3ut4/zUrT42_0026.pk3
%%DATADIR%%/q3ut4/zUrT42_qvm.pk3
@dirrm %%DATADIR%%/q3ut4
-@dirrmtry %%DATADIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrmtry %%DATADIR%%%%PORTDOCS%%
+@dirrm %%DOCSDIR%%