diff options
author | acm <acm@FreeBSD.org> | 2016-12-14 12:48:47 +0800 |
---|---|---|
committer | acm <acm@FreeBSD.org> | 2016-12-14 12:48:47 +0800 |
commit | 882286f0d29ef6d5d0c15d22cbd7a7273db30db3 (patch) | |
tree | 4b7ab4760755d188cf7c9daca7dd91832b0b6324 /games/alienarena-data | |
parent | 6f2e7e13e30e1399d47dd6ffd8793e9aaae3166c (diff) | |
download | freebsd-ports-gnome-882286f0d29ef6d5d0c15d22cbd7a7273db30db3.tar.gz freebsd-ports-gnome-882286f0d29ef6d5d0c15d22cbd7a7273db30db3.tar.zst freebsd-ports-gnome-882286f0d29ef6d5d0c15d22cbd7a7273db30db3.zip |
- Re-add games/alienarena and games/alienarena-data ports
Diffstat (limited to 'games/alienarena-data')
-rw-r--r-- | games/alienarena-data/Makefile | 58 | ||||
-rw-r--r-- | games/alienarena-data/distinfo | 2 | ||||
-rw-r--r-- | games/alienarena-data/pkg-descr | 15 |
3 files changed, 75 insertions, 0 deletions
diff --git a/games/alienarena-data/Makefile b/games/alienarena-data/Makefile new file mode 100644 index 000000000000..b91f43097298 --- /dev/null +++ b/games/alienarena-data/Makefile @@ -0,0 +1,58 @@ +# Created by: alepulver +# $FreeBSD$ + +PORTNAME= alienarena +PORTVERSION= 2013.766 +CATEGORIES= games +MASTER_SITES= ftp://ftp.linux.kiev.ua/pub/Linux/Gentoo/distfiles/ \ + http://ftp.jeuxlinux.fr/files/ \ + http://mirror.ipgn.com.au/games/alienarena/ \ + http://gd.tuwien.ac.at/opsys/linux/gentoo/distfiles/ \ + http://offload2.icculus.org:9090/alienarena/Files/ \ + http://offload1.icculus.org:9090/alienarena/Files/ \ + http://icculus.org/alienarena/Files/ \ + http://red.planetarena.org/files/ \ + ${MASTER_SITE_GENTOO:S|$|distfiles/|} +PKGNAMESUFFIX= -data +DISTNAME= ${PORTNAME}-7.66-linux20130827 + +MAINTAINER= acm@FreeBSD.org +COMMENT= Alien Arena (data) + +LICENSE= AlienArena-Data +LICENSE_NAME= Freely redistributable as a whole +LICENSE_FILE= ${WRKSRC}/docs/license.txt +LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept +# See also http://red.planetarena.org/forum/showthread.php?tid=716 where fedora asked for clarification + +NO_BUILD= yes +PLIST= ${WRKDIR}/pkg-plist +WRKSRC= ${WRKDIR}/${PORTNAME}-7.66 + +OPTIONS_DEFINE= DOCS + +pre-install: + @${RM} -f ${PLIST} + +. for DIRE in arena botinfo data1 + @cd ${WRKSRC} && \ + ${FIND} ${DIRE} -type f | ${SORT} | ${SED} -e 's|^|%%DATADIR%%/|' >> ${PLIST} && \ + ${FIND} ${DIRE} -type d | ${SORT} -r | ${SED} -e 's|^|@dirrm %%DATADIR%%/|' >> ${PLIST} +. endfor + + @${ECHO_CMD} share/pixmaps/${PORTNAME}.png >> ${PLIST} + @${ECHO_CMD} "@dirrmtry %%DATADIR%%" >> ${PLIST} + + @cd ${WRKSRC}/docs && \ + ${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%PORTDOCS%%%%DOCSDIR%%/|' >> ${PLIST} && \ + ${FIND} * -type d | ${SORT} -r | ${SED} -e 's|^|%%PORTDOCS%%@dirrm %%DOCSDIR%%/|' >> ${PLIST} + @${ECHO_CMD} "%%PORTDOCS%%@dirrmtry %%DOCSDIR%%" >> ${PLIST} + +do-install: + cd ${WRKSRC} && ${COPYTREE_SHARE} "arena botinfo data1" ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR} + +.include <bsd.port.mk> diff --git a/games/alienarena-data/distinfo b/games/alienarena-data/distinfo new file mode 100644 index 000000000000..403ec652b4a3 --- /dev/null +++ b/games/alienarena-data/distinfo @@ -0,0 +1,2 @@ +SHA256 (alienarena-7.66-linux20130827.tar.gz) = 29086098eacb18319e6dcc9156355c44db4b1aa8a4f7b0bb63e6856d8128b012 +SIZE (alienarena-7.66-linux20130827.tar.gz) = 617636649 diff --git a/games/alienarena-data/pkg-descr b/games/alienarena-data/pkg-descr new file mode 100644 index 000000000000..3db04adb23da --- /dev/null +++ b/games/alienarena-data/pkg-descr @@ -0,0 +1,15 @@ +Alien Arena 2008 is a free standalone deathmatch game based on source code +released by id Software. Begun by COR Entertainment in 2004, the game combines +a 1950s-era sci-fi atmosphere with gameplay similar to the Quake, Doom, and +Unreal Tournament series. Alien Arena focuses mainly on online multiplayer +action, although it does contain single player campaigns against bots. + +Alien Arena has been released for Microsoft Windows, Linux and FreeBSD. Alien +Arena has been free-to-play since its inception, and there are currently no +plans to change it to pay-to-play. + +Note: this port only contains the data needed to run Alien Arena, shared by +the Linux and native ports of the game engine. To play Alien Arena you have to +install one of "games/alienarena" or "games/linux-alienarena". + +WWW: http://red.planetarena.org/ |