diff options
author | Jose Alonso Cardenas Marquez <acm@FreeBSD.org> | 2006-10-01 02:10:10 +0000 |
---|---|---|
committer | Jose Alonso Cardenas Marquez <acm@FreeBSD.org> | 2006-10-01 02:10:10 +0000 |
commit | 38829c360249ca644d10110d424caaac5b835148 (patch) | |
tree | a4e69a8404929f769a67a70678b9310e345c4982 /games/ufoai-data | |
parent | f4947960cd616490494607cb5038faa53812b38e (diff) |
- New ports: games/ufoai games/ufoai-data
UFO ALIEN INVASION is a strategy game featuring tactical combat against hostile
alien forces which are about to infiltrate earth at this very moment. You are
in command of a small special unit which has been founded to face the alien
strike force. To be successful on the long run, you will also have to have a
research team study the aliens and their technologies in order to learn as much
as possible about their technology, their goals and the aliens themselves.
WWW: http://ufo.myexp.de/
Notes
Notes:
svn path=/head/; revision=174210
Diffstat (limited to 'games/ufoai-data')
-rw-r--r-- | games/ufoai-data/Makefile | 52 | ||||
-rw-r--r-- | games/ufoai-data/distinfo | 3 | ||||
-rw-r--r-- | games/ufoai-data/pkg-descr | 3 |
3 files changed, 58 insertions, 0 deletions
diff --git a/games/ufoai-data/Makefile b/games/ufoai-data/Makefile new file mode 100644 index 000000000000..723314fac27f --- /dev/null +++ b/games/ufoai-data/Makefile @@ -0,0 +1,52 @@ +# New ports collection makefile for: ufoai-data +# Date created: 2006-09-03 +# Whom: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= data +DISTVERSION= 2.0rc5 +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PKGNAMEPREFIX:S/-//} +PKGNAMEPREFIX= ufoai- +DISTNAME= ${PKGNAMEPREFIX}${DISTVERSION:S/r/-r/}-linux +EXTRACT_SUFX= .run +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 +NO_BUILD= yes +NO_WRKSUBDIR= yes + +PLIST= ${WRKDIR}/pkg-plist +DATADIR= share/${PKGNAMEPREFIX:S/-//} + +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 + +pre-install: + @${RM} -f ${PLIST} + @cd ${WRKDIR}/base && \ + ${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%DATADIR%%/|' >> ${PLIST} && \ + ${FIND} * -type d | ${SORT} -r | ${SED} -e 's|^|@dirrm %%DATADIR%%/|' >> ${PLIST} + @${ECHO_CMD} "@dirrm %%DATADIR%%" >> ${PLIST} + +do-install: + ${MKDIR} ${PREFIX}/${DATADIR} + cd ${WRKDIR}/base && \ + ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/${DATADIR}/{}" \; && \ + ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${PREFIX}/${DATADIR}/{}" \; + +.include <bsd.port.mk> diff --git a/games/ufoai-data/distinfo b/games/ufoai-data/distinfo new file mode 100644 index 000000000000..afc5fbdd6164 --- /dev/null +++ b/games/ufoai-data/distinfo @@ -0,0 +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 diff --git a/games/ufoai-data/pkg-descr b/games/ufoai-data/pkg-descr new file mode 100644 index 000000000000..a2c77b8d0789 --- /dev/null +++ b/games/ufoai-data/pkg-descr @@ -0,0 +1,3 @@ +UFO ALIEN INVASION data files. + +WWW: http://ufo.myexp.de/ |