pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/rftg Initial import of rftg-0.5.2:
details: https://anonhg.NetBSD.org/pkgsrc/rev/0244602b8776
branches: trunk
changeset: 398669:0244602b8776
user: wiz <wiz%pkgsrc.org@localhost>
date: Sun Sep 06 12:13:27 2009 +0000
description:
Initial import of rftg-0.5.2:
This is a program to play Race for the Galaxy against AI players.
diffstat:
games/rftg/DESCR | 1 +
games/rftg/Makefile | 33 +++++++++++++++++++++++++++++++++
games/rftg/PLIST | 37 +++++++++++++++++++++++++++++++++++++
games/rftg/distinfo | 6 ++++++
games/rftg/patches/patch-aa | 22 ++++++++++++++++++++++
5 files changed, 99 insertions(+), 0 deletions(-)
diffs (119 lines):
diff -r a6557a495b5f -r 0244602b8776 games/rftg/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/rftg/DESCR Sun Sep 06 12:13:27 2009 +0000
@@ -0,0 +1,1 @@
+This is a program to play Race for the Galaxy against AI players.
diff -r a6557a495b5f -r 0244602b8776 games/rftg/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/rftg/Makefile Sun Sep 06 12:13:27 2009 +0000
@@ -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@localhost
+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 -r a6557a495b5f -r 0244602b8776 games/rftg/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/rftg/PLIST Sun Sep 06 12:13:27 2009 +0000
@@ -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 -r a6557a495b5f -r 0244602b8776 games/rftg/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/rftg/distinfo Sun Sep 06 12:13:27 2009 +0000
@@ -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 -r a6557a495b5f -r 0244602b8776 games/rftg/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/rftg/patches/patch-aa Sun Sep 06 12:13:27 2009 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index