aboutsummaryrefslogtreecommitdiff
path: root/games/ufoai-data
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2007-08-20 07:51:23 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2007-08-20 07:51:23 +0000
commit456ab9294969bd57091cb5525a435e436ca057c7 (patch)
treefa76080caaf71b7f647542ab46c5589bf92ebbb4 /games/ufoai-data
parent91dc86c4a6b51f7d3b28828fb578df35f3e5ef99 (diff)
downloadports-456ab9294969bd57091cb5525a435e436ca057c7.tar.gz
ports-456ab9294969bd57091cb5525a435e436ca057c7.zip
Notes
Diffstat (limited to 'games/ufoai-data')
-rw-r--r--games/ufoai-data/Makefile26
-rw-r--r--games/ufoai-data/distinfo6
-rw-r--r--games/ufoai-data/pkg-descr2
3 files changed, 15 insertions, 19 deletions
diff --git a/games/ufoai-data/Makefile b/games/ufoai-data/Makefile
index 723314fac27f..96f9180ad8ae 100644
--- a/games/ufoai-data/Makefile
+++ b/games/ufoai-data/Makefile
@@ -6,35 +6,31 @@
#
PORTNAME= data
-DISTVERSION= 2.0rc5
+PORTVERSION= 2.1.1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PKGNAMEPREFIX:S/-//}
PKGNAMEPREFIX= ufoai-
-DISTNAME= ${PKGNAMEPREFIX}${DISTVERSION:S/r/-r/}-linux
-EXTRACT_SUFX= .run
+DISTNAME= ${PKGNAMEPREFIX}${PORTVERSION}-${PORTNAME}
+EXTRACT_SUFX= .tar
DIST_SUBDIR= ${PKGNAMEPREFIX:S/-//}
MAINTAINER= acm@FreeBSD.org
COMMENT= UFO alien invasion data files
-NO_PACKAGE= Package will be 160MB, set FORCE_PACKAGE if you really want it
+BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
+
+NO_PACKAGE= Package will be 250MB, set FORCE_PACKAGE if you really want it
NO_BUILD= yes
NO_WRKSUBDIR= yes
-PLIST= ${WRKDIR}/pkg-plist
DATADIR= share/${PKGNAMEPREFIX:S/-//}
+PLIST= ${WRKDIR}/pkg-plist
-do-extract:
- @${MKDIR} ${WRKSRC}
- @cd ${WRKSRC} && \
- ${TAIL} -c +9390 ${_DISTDIR}/${DISTFILES} | ${TAR} xf -
- @cd ${WRKSRC} && \
- ${TAR} -xjf ${PORTNAME}.tar.bz2
-
-post-patch:
- @cd ${WRKSRC}/base && \
- ${RM} -rf i18n game.so
+post-extract:
+ @cd ${WRKDIR}/base && \
+ ${FIND} * -type f -exec ${UNZIP_CMD} "{}" -d ${WRKDIR}/base \;
+ @${RM} ${WRKDIR}/base/*.pk3
pre-install:
@${RM} -f ${PLIST}
diff --git a/games/ufoai-data/distinfo b/games/ufoai-data/distinfo
index afc5fbdd6164..8bec21395525 100644
--- a/games/ufoai-data/distinfo
+++ b/games/ufoai-data/distinfo
@@ -1,3 +1,3 @@
-MD5 (ufoai/ufoai-2.0-rc5-linux.run) = 694921d1643a7ddddbcce8bbf6281938
-SHA256 (ufoai/ufoai-2.0-rc5-linux.run) = 40b1c39cefabbd85b8ed7997f1b60285a364e9cee56631b7ada482c59fdb8c84
-SIZE (ufoai/ufoai-2.0-rc5-linux.run) = 170587309
+MD5 (ufoai/ufoai-2.1.1-data.tar) = ae2ebfeaf34afab92638e128c76860b9
+SHA256 (ufoai/ufoai-2.1.1-data.tar) = 5e92950f93d0dcef7fbdefc0c0da6f398b06476837bfce79243baa6227176f7c
+SIZE (ufoai/ufoai-2.1.1-data.tar) = 267755520
diff --git a/games/ufoai-data/pkg-descr b/games/ufoai-data/pkg-descr
index a2c77b8d0789..e384c1feaa58 100644
--- a/games/ufoai-data/pkg-descr
+++ b/games/ufoai-data/pkg-descr
@@ -1,3 +1,3 @@
UFO ALIEN INVASION data files.
-WWW: http://ufo.myexp.de/
+WWW: http://ufoai.ninex.info/