aboutsummaryrefslogtreecommitdiff
path: root/games/openarena-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/openarena-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/openarena-data')
-rw-r--r--games/openarena-data/Makefile32
-rw-r--r--games/openarena-data/distinfo6
-rw-r--r--games/openarena-data/pkg-plist1
3 files changed, 18 insertions, 21 deletions
diff --git a/games/openarena-data/Makefile b/games/openarena-data/Makefile
index a32539909041..3b1b331790a2 100644
--- a/games/openarena-data/Makefile
+++ b/games/openarena-data/Makefile
@@ -6,35 +6,33 @@
#
PORTNAME= data
-PORTVERSION= 0.8.5
+PORTVERSION= 0.8.8
CATEGORIES= games
-MASTER_SITES= http://openarena.ws/request.php?2\\\#/:data \
- http://openarena.ws/request.php?3\\\#/:patch
-DISTFILES= ${OA_DATA}:data \
- ${OA_PATCH}:patch
+MASTER_SITES= SF/oarena:data \
+ http://openarena.ws/request.php?4\\\#/:data \
+ SF/oarena:patch \
+ http://openarena.ws/request.php?5\\\#/:patch
+DISTFILES= ${OA_DATA}:data
EXTRACT_ONLY=
MAINTAINER= kamikaze@bsdforen.de
COMMENT= OpenArena game data files
-USE_ZIP= yes
-
WRKSRC= ${WRKDIR}/baseoa
NO_BUILD= yes
FETCH_ARGS=
-USE_ZIP= yes
-OA_DATA= oa081.zip
-OA_DATA_VER= 0.8.1
-OA_PATCH= oa085p.zip
-OA_PATCH_VER= 0.8.1
+OA_DATA= ${PKGNAMEPREFIX}${OA_DATA_VER}.zip
+OA_DATA_VER= 0.8.8
-post-extract:
- ${UNZIP_CMD} -j ${DISTDIR}/${OA_DATA} ${PKGNAMEPREFIX}${OA_DATA_VER}/${OABASE}/\* -d ${WRKSRC}
- ${UNZIP_CMD} -j ${DISTDIR}/${OA_PATCH} ${PKGNAMEPREFIX}${OA_PATCH_VER}/${OABASE}/\* -d ${WRKSRC}
+.include "../openarena/Makefile.include"
do-install:
${MKDIR} ${DATADIR}
- (cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${DATADIR})
+.for _file in ${DISTFILES:C/:[^:]*//}
+ ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${_file} \
+ ${EXTRACT_AFTER_ARGS} -C ${DATADIR} --strip-components 2 \
+ ${PKGNAMEPREFIX}\?.\?.\?/baseoa/
+.endfor
-.include "../openarena/Makefile.include"
+.include <bsd.port.post.mk>
diff --git a/games/openarena-data/distinfo b/games/openarena-data/distinfo
index a5b0590d33a4..72ffd7475fb0 100644
--- a/games/openarena-data/distinfo
+++ b/games/openarena-data/distinfo
@@ -1,4 +1,2 @@
-SHA256 (oa081.zip) = c96282de8bc2ac5781df58c6adbce4265376e36190af50d7528f51dc739b6d7d
-SIZE (oa081.zip) = 318927645
-SHA256 (oa085p.zip) = d360c4b095bc3b34d03d9a366b21c12052c3f9e9c57e86b17c8b2c038baa4719
-SIZE (oa085p.zip) = 42528474
+SHA256 (openarena-0.8.8.zip) = 5a8faf7f5b51f351b0a1618c06b6b98a5f1a6758f1d39818de2c87df2a0bac4a
+SIZE (openarena-0.8.8.zip) = 425189255
diff --git a/games/openarena-data/pkg-plist b/games/openarena-data/pkg-plist
index 046a011fa386..e976ec45740a 100644
--- a/games/openarena-data/pkg-plist
+++ b/games/openarena-data/pkg-plist
@@ -6,5 +6,6 @@
%%DATADIR%%/pak5-TA.pk3
%%DATADIR%%/pak6-misc.pk3
%%DATADIR%%/pak6-patch085.pk3
+%%DATADIR%%/pak6-patch088.pk3
@dirrm %%DATADIR%%
@dirrmtry %%OADIR%%