diff options
author | mandree <mandree@FreeBSD.org> | 2010-08-14 20:02:48 +0800 |
---|---|---|
committer | mandree <mandree@FreeBSD.org> | 2010-08-14 20:02:48 +0800 |
commit | 6984a9865d9d354c771ea3eb2e8d4f130944119b (patch) | |
tree | 969659122a670421279b5b09840c2e747a191c49 /games/atanks | |
parent | 3adc7be1498bcf0ace909e24ff5d1074ab89db13 (diff) | |
download | freebsd-ports-gnome-6984a9865d9d354c771ea3eb2e8d4f130944119b.tar.gz freebsd-ports-gnome-6984a9865d9d354c771ea3eb2e8d4f130944119b.tar.zst freebsd-ports-gnome-6984a9865d9d354c771ea3eb2e8d4f130944119b.zip |
Add new port games/atanks.
Submitted by: Jesse Smith <jessefrgsmith@yahoo.ca>
PR: ports/147768
Diffstat (limited to 'games/atanks')
-rw-r--r-- | games/atanks/Makefile | 38 | ||||
-rw-r--r-- | games/atanks/distinfo | 3 | ||||
-rw-r--r-- | games/atanks/files/patch-Makefile | 11 | ||||
-rw-r--r-- | games/atanks/files/patch-src_files.cpp | 13 | ||||
-rw-r--r-- | games/atanks/pkg-descr | 9 | ||||
-rw-r--r-- | games/atanks/pkg-plist | 282 |
6 files changed, 356 insertions, 0 deletions
diff --git a/games/atanks/Makefile b/games/atanks/Makefile new file mode 100644 index 000000000000..b47ec97385ec --- /dev/null +++ b/games/atanks/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: atanks +# Date created: 10 June 2010 +# Whom: Jesse Smith <jessefrgsmith@yahoo.ca> +# +# $FreeBSD$ +# + +PORTNAME= atanks +PORTVERSION= 4.6 +CATEGORIES= games +MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTNAME} +DISTNAME= ${PORTNAME}-${PORTVERSION} + +MAINTAINER= jessefrgsmith@yahoo.ca +COMMENT= A 2D tank game with large, cartoonish weapons + +LIB_DEPENDS= alleg.42:${PORTSDIR}/devel/allegro + +USE_GMAKE= yes +MAKE_ARGS+= PREFIX=${PREFIX}/ +PATCH_DEBUG= 1 + +.include <bsd.port.pre.mk> + +post-patch: + ${REINPLACE_CMD} \ + -e 's}^INSTALL[ ]*=.*}INSTALL=${INSTALL} ${COPY}};' \ + -e 's/-m *755/-m555 ${STRIP}/;' \ + -e 's/-m *644/-m444/;' \ + ${WRKSRC}/Makefile + +.if ${OSVERSION} >= 800501 + ${REINPLACE_CMD} \ + -e 's/int Filter_File( struct dirent/int Filter_File( const struct dirent/' \ + ${WRKSRC}/src/files.cpp +.endif + +.include <bsd.port.post.mk> diff --git a/games/atanks/distinfo b/games/atanks/distinfo new file mode 100644 index 000000000000..bfe296a7be30 --- /dev/null +++ b/games/atanks/distinfo @@ -0,0 +1,3 @@ +MD5 (atanks-4.6.tar.gz) = fc8ae5d814f112e2d155597c7b242dfd +SHA256 (atanks-4.6.tar.gz) = 230fd102ffca083e30187c9fc86c098446f532a8cca5c035f852f7da5eb81a77 +SIZE (atanks-4.6.tar.gz) = 3118071 diff --git a/games/atanks/files/patch-Makefile b/games/atanks/files/patch-Makefile new file mode 100644 index 000000000000..0d889b06bfd6 --- /dev/null +++ b/games/atanks/files/patch-Makefile @@ -0,0 +1,11 @@ +--- Makefile.orig 2010-06-10 10:03:35.000000000 -0300 ++++ Makefile 2010-06-10 11:00:00.000000000 -0300 +@@ -16,7 +16,7 @@ + INCOMMON=COPYING README TODO Changelog *.txt unicode.dat + + all: +- FLAGS=-DLINUX $(MAKE) -C src ++ FLAGS=-DMACOSX $(MAKE) -C src -f Makefile.bsd + + install: + mkdir -p ${BINDIR} diff --git a/games/atanks/files/patch-src_files.cpp b/games/atanks/files/patch-src_files.cpp new file mode 100644 index 000000000000..df3c6f333a5c --- /dev/null +++ b/games/atanks/files/patch-src_files.cpp @@ -0,0 +1,13 @@ +--- ./src/files.cpp.orig 2010-08-14 12:32:25.605447928 +0200 ++++ ./src/files.cpp 2010-08-14 12:32:44.893731770 +0200 +@@ -2,10 +2,7 @@ + #include <stdlib.h> + #include <string.h> + #include <dirent.h> +- +-#ifdef MACOSX + #include <sys/stat.h> +-#endif + + #include "player.h" + #include "files.h" diff --git a/games/atanks/pkg-descr b/games/atanks/pkg-descr new file mode 100644 index 000000000000..4625b03f5532 --- /dev/null +++ b/games/atanks/pkg-descr @@ -0,0 +1,9 @@ +This is a port of Atomic Tanks, a 2D tank game where small tanks use +cartoonishly large weapons to blow up each other. Atomic Tanks is loosely +based on the classic DOS game, Scorched Earth. The game is very +flexible, allowing anywhere from two to ten players, variable environments +and a wide range of weapons and other items. + +To work, this game requires that the Allegro graphics library be installed. + +WWW: http://atanks.sourceforge.net/ diff --git a/games/atanks/pkg-plist b/games/atanks/pkg-plist new file mode 100644 index 000000000000..359298cd37d8 --- /dev/null +++ b/games/atanks/pkg-plist @@ -0,0 +1,282 @@ +bin/atanks +share/games/atanks/misc/12.bmp +share/games/atanks/misc/9.bmp +share/games/atanks/misc/1.bmp +share/games/atanks/misc/13.bmp +share/games/atanks/misc/10.bmp +share/games/atanks/misc/3.bmp +share/games/atanks/misc/14.bmp +share/games/atanks/misc/8.bmp +share/games/atanks/misc/16.bmp +share/games/atanks/misc/2.bmp +share/games/atanks/misc/11.bmp +share/games/atanks/misc/6.bmp +share/games/atanks/misc/0.bmp +share/games/atanks/misc/7.bmp +share/games/atanks/misc/15.bmp +share/games/atanks/misc/5.bmp +share/games/atanks/misc/4.bmp +share/games/atanks/misc/17.bmp +share/games/atanks/COPYING +share/games/atanks/TODO +share/games/atanks/tankgun/1.bmp +share/games/atanks/tankgun/3.bmp +share/games/atanks/tankgun/8.bmp +share/games/atanks/tankgun/2.bmp +share/games/atanks/tankgun/6.bmp +share/games/atanks/tankgun/0.bmp +share/games/atanks/tankgun/7.bmp +share/games/atanks/tankgun/5.bmp +share/games/atanks/tankgun/4.bmp +share/games/atanks/Changelog +share/games/atanks/title/1.bmp +share/games/atanks/title/3.bmp +share/games/atanks/title/2.bmp +share/games/atanks/title/0.bmp +share/games/atanks/unicode.dat +share/games/atanks/credits.txt +share/games/atanks/stock/66.bmp +share/games/atanks/stock/54.bmp +share/games/atanks/stock/74.bmp +share/games/atanks/stock/57.bmp +share/games/atanks/stock/39.bmp +share/games/atanks/stock/37.bmp +share/games/atanks/stock/27.bmp +share/games/atanks/stock/12.bmp +share/games/atanks/stock/9.bmp +share/games/atanks/stock/1.bmp +share/games/atanks/stock/52.bmp +share/games/atanks/stock/13.bmp +share/games/atanks/stock/29.bmp +share/games/atanks/stock/50.bmp +share/games/atanks/stock/75.bmp +share/games/atanks/stock/47.bmp +share/games/atanks/stock/43.bmp +share/games/atanks/stock/68.bmp +share/games/atanks/stock/10.bmp +share/games/atanks/stock/3.bmp +share/games/atanks/stock/14.bmp +share/games/atanks/stock/44.bmp +share/games/atanks/stock/8.bmp +share/games/atanks/stock/32.bmp +share/games/atanks/stock/26.bmp +share/games/atanks/stock/16.bmp +share/games/atanks/stock/2.bmp +share/games/atanks/stock/42.bmp +share/games/atanks/stock/55.bmp +share/games/atanks/stock/61.bmp +share/games/atanks/stock/11.bmp +share/games/atanks/stock/33.bmp +share/games/atanks/stock/23.bmp +share/games/atanks/stock/58.bmp +share/games/atanks/stock/25.bmp +share/games/atanks/stock/36.bmp +share/games/atanks/stock/20.bmp +share/games/atanks/stock/35.bmp +share/games/atanks/stock/64.bmp +share/games/atanks/stock/19.bmp +share/games/atanks/stock/59.bmp +share/games/atanks/stock/24.bmp +share/games/atanks/stock/56.bmp +share/games/atanks/stock/51.bmp +share/games/atanks/stock/53.bmp +share/games/atanks/stock/45.bmp +share/games/atanks/stock/69.bmp +share/games/atanks/stock/6.bmp +share/games/atanks/stock/78.bmp +share/games/atanks/stock/22.bmp +share/games/atanks/stock/49.bmp +share/games/atanks/stock/21.bmp +share/games/atanks/stock/30.bmp +share/games/atanks/stock/0.bmp +share/games/atanks/stock/62.bmp +share/games/atanks/stock/72.bmp +share/games/atanks/stock/65.bmp +share/games/atanks/stock/38.bmp +share/games/atanks/stock/34.bmp +share/games/atanks/stock/60.bmp +share/games/atanks/stock/18.bmp +share/games/atanks/stock/76.bmp +share/games/atanks/stock/7.bmp +share/games/atanks/stock/41.bmp +share/games/atanks/stock/15.bmp +share/games/atanks/stock/5.bmp +share/games/atanks/stock/67.bmp +share/games/atanks/stock/4.bmp +share/games/atanks/stock/46.bmp +share/games/atanks/stock/63.bmp +share/games/atanks/stock/73.bmp +share/games/atanks/stock/28.bmp +share/games/atanks/stock/71.bmp +share/games/atanks/stock/48.bmp +share/games/atanks/stock/77.bmp +share/games/atanks/stock/40.bmp +share/games/atanks/stock/31.bmp +share/games/atanks/stock/17.bmp +share/games/atanks/stock/70.bmp +share/games/atanks/README_ru.txt +share/games/atanks/sound/0.wav +share/games/atanks/sound/2.wav +share/games/atanks/sound/8.wav +share/games/atanks/sound/12.wav +share/games/atanks/sound/9.wav +share/games/atanks/sound/3.wav +share/games/atanks/sound/1.wav +share/games/atanks/sound/6.wav +share/games/atanks/sound/4.wav +share/games/atanks/sound/7.wav +share/games/atanks/sound/11.wav +share/games/atanks/sound/10.wav +share/games/atanks/sound/5.wav +share/games/atanks/button/27.bmp +share/games/atanks/button/12.bmp +share/games/atanks/button/9.bmp +share/games/atanks/button/1.bmp +share/games/atanks/button/13.bmp +share/games/atanks/button/10.bmp +share/games/atanks/button/3.bmp +share/games/atanks/button/14.bmp +share/games/atanks/button/8.bmp +share/games/atanks/button/26.bmp +share/games/atanks/button/16.bmp +share/games/atanks/button/2.bmp +share/games/atanks/button/11.bmp +share/games/atanks/button/23.bmp +share/games/atanks/button/25.bmp +share/games/atanks/button/20.bmp +share/games/atanks/button/19.bmp +share/games/atanks/button/24.bmp +share/games/atanks/button/6.bmp +share/games/atanks/button/22.bmp +share/games/atanks/button/21.bmp +share/games/atanks/button/0.bmp +share/games/atanks/button/18.bmp +share/games/atanks/button/7.bmp +share/games/atanks/button/15.bmp +share/games/atanks/button/5.bmp +share/games/atanks/button/4.bmp +share/games/atanks/button/17.bmp +share/games/atanks/README +share/games/atanks/text/instr_ES.txt +share/games/atanks/text/revenge_fr.txt +share/games/atanks/text/kamikaze_sk.txt +share/games/atanks/text/war_quotes_ru.txt +share/games/atanks/text/retaliation_de.txt +share/games/atanks/text/instr.txt +share/games/atanks/text/retaliation_sk.txt +share/games/atanks/text/instr_sk.txt +share/games/atanks/text/weapons.txt +share/games/atanks/text/suicide_de.txt +share/games/atanks/text/ingame.pt_BR.txt +share/games/atanks/text/instr.pt_BR.txt +share/games/atanks/text/weapons_de.txt +share/games/atanks/text/retaliation_ru.txt +share/games/atanks/text/instr_ru.txt +share/games/atanks/text/gloat_ru.txt +share/games/atanks/text/ingame_sk.txt +share/games/atanks/text/Help_sk.txt +share/games/atanks/text/instr_fr.txt +share/games/atanks/text/revenge_de.txt +share/games/atanks/text/ingame_de.txt +share/games/atanks/text/gloat_fr.txt +share/games/atanks/text/suicide_fr.txt +share/games/atanks/text/revenge_ES.txt +share/games/atanks/text/retaliation.pt_BR.txt +share/games/atanks/text/Help_fr.txt +share/games/atanks/text/Help_ES.txt +share/games/atanks/text/revenge.txt +share/games/atanks/text/suicide.txt +share/games/atanks/text/ingame_ES.txt +share/games/atanks/text/suicide_ES.txt +share/games/atanks/text/suicide_ru.txt +share/games/atanks/text/gloat.pt_BR.txt +share/games/atanks/text/instr_de.txt +share/games/atanks/text/gloat_ES.txt +share/games/atanks/text/kamikaze_ES.txt +share/games/atanks/text/ingame_fr.txt +share/games/atanks/text/weapons_sk.txt +share/games/atanks/text/weapons_ru.txt +share/games/atanks/text/gloat.txt +share/games/atanks/text/suicide.pt_BR.txt +share/games/atanks/text/kamikaze.pt_BR.txt +share/games/atanks/text/weapons_fr.txt +share/games/atanks/text/Help.pt_BR.txt +share/games/atanks/text/kamikaze_de.txt +share/games/atanks/text/retaliation_fr.txt +share/games/atanks/text/Help.txt +share/games/atanks/text/kamikaze_ru.txt +share/games/atanks/text/weapons_ES.txt +share/games/atanks/text/weapons.pt_BR.txt +share/games/atanks/text/suicide_sk.txt +share/games/atanks/text/gloat_sk.txt +share/games/atanks/text/retaliation.txt +share/games/atanks/text/ingame.txt +share/games/atanks/text/revenge.pt_BR.txt +share/games/atanks/text/kamikaze_fr.txt +share/games/atanks/text/war_quotes.txt +share/games/atanks/text/Help_ru.txt +share/games/atanks/text/war_quotes_ES.txt +share/games/atanks/text/kamikaze.txt +share/games/atanks/text/retaliation_ES.txt +share/games/atanks/text/ingame_ru.txt +share/games/atanks/text/revenge_sk.txt +share/games/atanks/text/gloat_de.txt +share/games/atanks/text/revenge_ru.txt +share/games/atanks/missile/27.bmp +share/games/atanks/missile/12.bmp +share/games/atanks/missile/9.bmp +share/games/atanks/missile/1.bmp +share/games/atanks/missile/13.bmp +share/games/atanks/missile/29.bmp +share/games/atanks/missile/10.bmp +share/games/atanks/missile/3.bmp +share/games/atanks/missile/14.bmp +share/games/atanks/missile/8.bmp +share/games/atanks/missile/26.bmp +share/games/atanks/missile/16.bmp +share/games/atanks/missile/2.bmp +share/games/atanks/missile/11.bmp +share/games/atanks/missile/23.bmp +share/games/atanks/missile/25.bmp +share/games/atanks/missile/20.bmp +share/games/atanks/missile/19.bmp +share/games/atanks/missile/24.bmp +share/games/atanks/missile/6.bmp +share/games/atanks/missile/22.bmp +share/games/atanks/missile/21.bmp +share/games/atanks/missile/30.bmp +share/games/atanks/missile/0.bmp +share/games/atanks/missile/18.bmp +share/games/atanks/missile/7.bmp +share/games/atanks/missile/15.bmp +share/games/atanks/missile/5.bmp +share/games/atanks/missile/4.bmp +share/games/atanks/missile/28.bmp +share/games/atanks/missile/17.bmp +share/games/atanks/tank/12.bmp +share/games/atanks/tank/9.bmp +share/games/atanks/tank/1.bmp +share/games/atanks/tank/13.bmp +share/games/atanks/tank/10.bmp +share/games/atanks/tank/3.bmp +share/games/atanks/tank/14.bmp +share/games/atanks/tank/8.bmp +share/games/atanks/tank/2.bmp +share/games/atanks/tank/11.bmp +share/games/atanks/tank/6.bmp +share/games/atanks/tank/0.bmp +share/games/atanks/tank/7.bmp +share/games/atanks/tank/15.bmp +share/games/atanks/tank/5.bmp +share/games/atanks/tank/4.bmp +@dirrm share/games/atanks/button +@dirrm share/games/atanks/misc +@dirrm share/games/atanks/missile +@dirrm share/games/atanks/sound +@dirrm share/games/atanks/stock +@dirrm share/games/atanks/tank +@dirrm share/games/atanks/tankgun +@dirrm share/games/atanks/text +@dirrm share/games/atanks/title +@dirrm share/games/atanks +@dirrmtry share/games |