diff options
author | wiz <wiz> | 2009-09-06 12:13:27 +0000 |
---|---|---|
committer | wiz <wiz> | 2009-09-06 12:13:27 +0000 |
commit | 4e6d8e52f938897abe353dbd506b1e683063d85e (patch) | |
tree | a68b136e280b13402502b744d1783c59e5ad3bc2 /games | |
parent | 2a4923e9bcdf8599268f7a89fcb18989e839bbfd (diff) | |
download | pkgsrc-4e6d8e52f938897abe353dbd506b1e683063d85e.tar.gz |
Initial import of rftg-0.5.2:
This is a program to play Race for the Galaxy against AI players.
Diffstat (limited to 'games')
-rw-r--r-- | games/rftg/DESCR | 1 | ||||
-rw-r--r-- | games/rftg/Makefile | 33 | ||||
-rw-r--r-- | games/rftg/PLIST | 37 | ||||
-rw-r--r-- | games/rftg/distinfo | 6 | ||||
-rw-r--r-- | games/rftg/patches/patch-aa | 22 |
5 files changed, 99 insertions, 0 deletions
diff --git a/games/rftg/DESCR b/games/rftg/DESCR new file mode 100644 index 00000000000..c2158be96eb --- /dev/null +++ b/games/rftg/DESCR @@ -0,0 +1 @@ +This is a program to play Race for the Galaxy against AI players. diff --git a/games/rftg/Makefile b/games/rftg/Makefile new file mode 100644 index 00000000000..1f0dca9b16d --- /dev/null +++ b/games/rftg/Makefile @@ -0,0 +1,33 @@ +# $NetBSD: Makefile,v 1.1.1.1 2009/09/06 12:13:27 wiz Exp $ +# + +DISTNAME= rftg-0.5.2 +CATEGORIES= games +MASTER_SITES= http://warpcore.org/rftg/ \ + http://keldon.net/rftg/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://keldon.net/rftg/ +COMMENT= AI opponent(s) for the card game Race for the Galaxy +#LICENSE= gnu-gpl-v2 AND ??? (but allowed) + +PKG_DESTDIR_SUPPORT= user-destdir + +GNU_CONFIGURE= yes +USE_TOOLS+= pkg-config + +INSTALLATION_DIRS+= libexec share/doc/rftg + +post-build: + ${ECHO} '#!/bin/sh' > ${WRKSRC}/rftg.sh + ${ECHO} 'cd ${PREFIX}/share/rftg && ${PREFIX}/libexec/rftg' \ + >> ${WRKSRC}/rftg.sh + +post-install: + ${MV} ${DESTDIR}${PREFIX}/bin/rftg ${DESTDIR}${PREFIX}/libexec/rftg + ${INSTALL_SCRIPT} ${WRKSRC}/rftg.sh ${DESTDIR}${PREFIX}/bin/rftg + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/rftg + +.include "../../x11/gtk2/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/games/rftg/PLIST b/games/rftg/PLIST new file mode 100644 index 00000000000..49b9fb345a6 --- /dev/null +++ b/games/rftg/PLIST @@ -0,0 +1,37 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2009/09/06 12:13:27 wiz Exp $ +bin/do_train +bin/rftg +libexec/rftg +share/doc/rftg/README +share/rftg/cards.txt +share/rftg/images.data +share/rftg/network/rftg.eval.0.2.net +share/rftg/network/rftg.eval.0.2a.net +share/rftg/network/rftg.eval.0.3.net +share/rftg/network/rftg.eval.0.4.net +share/rftg/network/rftg.eval.1.2.net +share/rftg/network/rftg.eval.1.2a.net +share/rftg/network/rftg.eval.1.3.net +share/rftg/network/rftg.eval.1.4.net +share/rftg/network/rftg.eval.1.5.net +share/rftg/network/rftg.eval.2.2.net +share/rftg/network/rftg.eval.2.2a.net +share/rftg/network/rftg.eval.2.3.net +share/rftg/network/rftg.eval.2.4.net +share/rftg/network/rftg.eval.2.5.net +share/rftg/network/rftg.eval.2.6.net +share/rftg/network/rftg.role.0.2.net +share/rftg/network/rftg.role.0.2a.net +share/rftg/network/rftg.role.0.3.net +share/rftg/network/rftg.role.0.4.net +share/rftg/network/rftg.role.1.2.net +share/rftg/network/rftg.role.1.2a.net +share/rftg/network/rftg.role.1.3.net +share/rftg/network/rftg.role.1.4.net +share/rftg/network/rftg.role.1.5.net +share/rftg/network/rftg.role.2.2.net +share/rftg/network/rftg.role.2.2a.net +share/rftg/network/rftg.role.2.3.net +share/rftg/network/rftg.role.2.4.net +share/rftg/network/rftg.role.2.5.net +share/rftg/network/rftg.role.2.6.net diff --git a/games/rftg/distinfo b/games/rftg/distinfo new file mode 100644 index 00000000000..d9b57169261 --- /dev/null +++ b/games/rftg/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2009/09/06 12:13:27 wiz Exp $ + +SHA1 (rftg-0.5.2.tar.bz2) = df5acb78008e054945ac91dc69188a59981e5672 +RMD160 (rftg-0.5.2.tar.bz2) = 61c216814bb50fe13e370d4e58fb26dcc72731d4 +Size (rftg-0.5.2.tar.bz2) = 20719738 bytes +SHA1 (patch-aa) = 493bdeb0eb50ae5fd814078c85668c43cf48fe63 diff --git a/games/rftg/patches/patch-aa b/games/rftg/patches/patch-aa new file mode 100644 index 00000000000..35148315eae --- /dev/null +++ b/games/rftg/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.1.1.1 2009/09/06 12:13:27 wiz Exp $ + +--- do_train.orig 2009-08-27 16:18:04.000000000 +0000 ++++ do_train +@@ -2,7 +2,7 @@ + + advanced='' + +-if [ $1 == -a ] ++if [ $1 = -a ] + then + shift + advanced='a' +@@ -17,7 +17,7 @@ rm -f rftg.$name.out + + for i in `seq 1 1000` + do +- if [ "$advanced" == a ] ++ if [ "$advanced" = a ] + then + ./learner -e $1 -p $2 -f 100 -a >> rftg.$name.out + else |