[SM-Commit] GIT changes to master z-rejected grimoire by Pol Vinogradov (b8d9cb1d8616c22633796fc032848bc65d96421f)

Pol Vinogradov scm at mail.sourcemage.org
Thu Mar 29 17:06:15 EDT 2007


GIT changes to master z-rejected grimoire by Pol Vinogradov <vin.public at gmail.com>:

 ChangeLog                    |    3 +++
 z-games/crafty/BUILD         |   10 ++++++++++
 z-games/crafty/DEPENDS       |    1 +
 z-games/crafty/DETAILS       |   21 +++++++++++++++++++++
 z-games/crafty/FINAL         |    5 +++++
 z-games/crafty/HISTORY       |   43 +++++++++++++++++++++++++++++++++++++++++++
 z-games/crafty/INSTALL       |    6 ++++++
 z-games/crafty/PREPARE       |    1 +
 z-games/crafty/UNATTEND_SAFE |    0 
 9 files changed, 90 insertions(+)

New commits:
commit b8d9cb1d8616c22633796fc032848bc65d96421f
Author: Pol Vinogradov <vin.public at gmail.com>
Commit: Pol Vinogradov <vin.public at gmail.com>

    z-games/crafty: moved from games grimoire, chess engine

diff --git a/ChangeLog b/ChangeLog
index 9d9134d..16acb77 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2007-03-29 Pol Vinogradov <vin.public at gmail.com>
+	* z-games/crafty: moved from games grimoire, chess engine
+
 2007-04-23 David Brown <dmlb2000 at gmail.com>
 	* z-kernels/ipw3945: new spell for ipw3945 wireless cards
 
diff --git a/z-games/crafty/BUILD b/z-games/crafty/BUILD
new file mode 100755
index 0000000..e78f7c8
--- /dev/null
+++ b/z-games/crafty/BUILD
@@ -0,0 +1,10 @@
+#sedit "s/\CXFLAGS=\$(CFLAGS) \\\/CXFLAGS='\$(CFLAGS)' \\\/g" Makefile  &&
+unset CFLAGS  &&
+sedit '/-o crafty/s/CC/CXX/g' Makefile  &&
+sedit "s:\"crafty.hlp\":\"${TRACK_ROOT}/usr/share/games/${SPELL}/crafty.hlp\":" option.c  &&
+sedit "s/-lpthread/-lpthread -lstdc++/g" Makefile  &&
+sedit "s/-lstdc++/-lpthread -lstdc++/g" Makefile  &&
+sedit "s/-fno-gcse//g" Makefile  &&
+sedit "s/-fforce-mem//g" Makefile  &&
+sedit "s/-g//g" Makefile  &&
+make  linux
diff --git a/z-games/crafty/DEPENDS b/z-games/crafty/DEPENDS
new file mode 100755
index 0000000..bcd1eeb
--- /dev/null
+++ b/z-games/crafty/DEPENDS
@@ -0,0 +1 @@
+depends  g++
diff --git a/z-games/crafty/DETAILS b/z-games/crafty/DETAILS
new file mode 100755
index 0000000..1aec5ba
--- /dev/null
+++ b/z-games/crafty/DETAILS
@@ -0,0 +1,21 @@
+           SPELL=crafty
+         VERSION=20.1
+          SOURCE=$SPELL-$VERSION.zip
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
+   SOURCE_URL[0]=ftp://ftp.cis.uab.edu/pub/hyatt/source/$SOURCE
+        WEB_SITE=http://www.cis.uab.edu/hyatt/hyatt.html
+     SOURCE_HASH=sha512:6437eb48b843d27d9105800f3bb7016c4e1d0f36609bca314ed313fbae60707cc05720fb579568c249bf4b16f5e79eb723c48278989612d5545489352af3163a
+      LICENSE[0]=UNKNOWN
+          REJECT="has license issues"
+         ENTERED=20030412
+           SHORT="Crafty is a computer chess program."
+cat << EOF
+Crafty is a state-of-the-art  computer  chess  program,  and
+uses  all  of  the  search algorithms you have probably read
+about, negascout search, killer/history move  ordering,  SEE
+(Static  Exchange  Evaluation)  quiescence move ordering and
+pruning, hash (transposition/refutation) tables as  well  as
+evaluation caches, selective extensions, recursive null-move
+search, and a host of other features that have been used and
+are  still  being  used in most computer chess programs.
+EOF
diff --git a/z-games/crafty/FINAL b/z-games/crafty/FINAL
new file mode 100755
index 0000000..7a31dd8
--- /dev/null
+++ b/z-games/crafty/FINAL
@@ -0,0 +1,5 @@
+message "\n${MESSAGE_COLOR}Note: No books or tablebases have been installed. If you want them, just\n"  \
+        "download them from ${WEB_SITE}.\n"  \
+        "You will find documentation there too. In most cases you take now\n"  \
+        "your xboard compatible application, (xboard, eboard, knights) and\n"  \
+        "just play chess against computer opponent. Have fun.\n\n"
diff --git a/z-games/crafty/HISTORY b/z-games/crafty/HISTORY
new file mode 100644
index 0000000..dad3913
--- /dev/null
+++ b/z-games/crafty/HISTORY
@@ -0,0 +1,43 @@
+2007-03-29 Pol Vinogradov <vin.public at gmail.com>
+	* PREPARE, UNATTEND_SAFE: added for z-rejected stuff
+	* INSTALL: some fixes
+
+2007-03-12 Andraž "ruskie" Levstik <ruskie at mages.ath.cx>
+	* DETAILS: removed GATHER_DOCS=off
+
+2007-03-12 Pol Vinogradov <vin.public at gmail.com>
+	* BUILD: unset our CFLAGS, added more sedits
+	* DEPENDS: added as it needs g++
+	* DETAILS: removed UPDATED, added GATHER_DOCS=off, fixed SOURCE_URL[0]
+	* INSTALL: install_rootifying, added installation of crafty.hlp
+	* FINAL: added to inform user about books and tablespaces
+
+2006-09-21 Andraž "ruskie" Levstik <ruskie at mages.ath.cx>
+	* DETAILS: [automated] Removed BUILD_API=2.
+
+2006-05-14 John Harding <johnh at kuberaconsulting.com>
+	* DETAILS: version bump and convert to api2
+	* PRE_BUILD: removed
+	* BUILD: api2 conversion
+	* INSTALL: created for api2 conversion
+
+2005-12-01 Seth Woolley <seth at tautology.org>
+	* DETAILS: MD5 -> SHA512
+
+2005-11-28 Andraž "ruskie" Levstik <ruskie at mages.ath.cx>
+	* PRE_BUILD: unpack api update
+
+2004-11-21 Andrew Stitt <astitt at sourcemage.org>
+	* DETAILS: fix syntax error
+
+2004-07-06 Andraž "ruskie" Levstik <ruskie at mages.ath.cx>
+	* DETAILS: Version bump
+
+2003-06-18 hgg <hgreig at bigpond.net.au>
+	* New Games grimoire is born!
+
+2003-04-13 Eric Sandall <sandalle at sourcemage.org>
+	* Added to games
+
+2003-04-13 Marc Greene <marcg at phreaker.net>
+	* Created spell
diff --git a/z-games/crafty/INSTALL b/z-games/crafty/INSTALL
new file mode 100755
index 0000000..a470a0c
--- /dev/null
+++ b/z-games/crafty/INSTALL
@@ -0,0 +1,6 @@
+mkdir -p ${INSTALL_ROOT}/usr/games                 &&
+mkdir -p ${INSTALL_ROOT}/usr/share/games/${SPELL}  &&
+chown root.games ${INSTALL_ROOT}/usr/games         &&
+
+install -o root -g games -m 755 ${SPELL} ${INSTALL_ROOT}/usr/games  &&
+install ${SPELL}.hlp ${INSTALL_ROOT}/usr/share/games/${SPELL}
diff --git a/z-games/crafty/PREPARE b/z-games/crafty/PREPARE
new file mode 100755
index 0000000..b8424fe
--- /dev/null
+++ b/z-games/crafty/PREPARE
@@ -0,0 +1 @@
+source $GRIMOIRE/REJECTED_MSG
diff --git a/z-games/crafty/UNATTEND_SAFE b/z-games/crafty/UNATTEND_SAFE
new file mode 100644
index 0000000..e69de29



More information about the SM-Commit mailing list