aboutsummaryrefslogtreecommitdiff
path: root/games/crafty
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-05-02 20:08:06 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-05-02 20:08:06 +0000
commit4b57115af8147357c795a86a34b7bf151a8fc43b (patch)
tree430832ffc2c3596f09a4450f980dc9db2daad7be /games/crafty
parenta1f503fcf1c994bc46c68c05c31f6435669deb48 (diff)
downloadports-4b57115af8147357c795a86a34b7bf151a8fc43b.tar.gz
ports-4b57115af8147357c795a86a34b7bf151a8fc43b.zip
- Update to 22.1
PR: 123302 Submitted by: Jonathan Shoemaker <shoemaker@bluebottle.com> (maintainer)
Notes
Notes: svn path=/head/; revision=212500
Diffstat (limited to 'games/crafty')
-rw-r--r--games/crafty/Makefile4
-rw-r--r--games/crafty/distinfo6
-rw-r--r--games/crafty/pkg-descr19
-rw-r--r--games/crafty/pkg-message14
4 files changed, 24 insertions, 19 deletions
diff --git a/games/crafty/Makefile b/games/crafty/Makefile
index 6e1f95c27bc4..2e0fe76aaedb 100644
--- a/games/crafty/Makefile
+++ b/games/crafty/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= crafty
-PORTVERSION= 22.0
+PORTVERSION= 22.1
CATEGORIES= games
MASTER_SITES= ftp://ftp.cis.uab.edu/pub/hyatt/pgn/:data \
ftp://ftp.cis.uab.edu/pub/hyatt/documentation/:doc \
@@ -51,7 +51,7 @@ OPT= -DCPUS=4 -DHASHSTATS -DTRACE -DBOOKDIR=\\\"${WITH_BOOKDIR}\\\" \
-DLOGDIR=\\\"${WITH_LOGDIR}\\\" \
-DRCDIR=\\\"${WITH_RCDIR}\\\" \
-DTBDIR=\\\"${WITH_TBDIR}\\\" \
- -DPERSDIR=\\\"${WITH_PERSDIR}\\\"
+ -DPERSDIR=\\\"${WITH_PERSDIR}\\\" -DSKILL
.include <bsd.port.pre.mk>
diff --git a/games/crafty/distinfo b/games/crafty/distinfo
index 7112b7938b49..97f3fa0d293e 100644
--- a/games/crafty/distinfo
+++ b/games/crafty/distinfo
@@ -1,6 +1,6 @@
-MD5 (crafty/crafty-22.0.zip) = da1890c572441dfd7687c392c4e897d0
-SHA256 (crafty/crafty-22.0.zip) = 05772b0a63a07dd5dafc307bcf41df41df0212209a22907244652422bb302fa6
-SIZE (crafty/crafty-22.0.zip) = 402797
+MD5 (crafty/crafty-22.1.zip) = 44c983e96cd16bb0314484c5d7af91de
+SHA256 (crafty/crafty-22.1.zip) = ec25063af97d079402f1daee99493cc7d7c9a9df6001f856f9d0584dd23894be
+SIZE (crafty/crafty-22.1.zip) = 405169
MD5 (crafty/start.pgn) = 98176af8ec13945a4ec60ad9b5959412
SHA256 (crafty/start.pgn) = 750397385a67307bd3e565f7a86d69745476db5fed4735650af971cc94318021
SIZE (crafty/start.pgn) = 1349
diff --git a/games/crafty/pkg-descr b/games/crafty/pkg-descr
index bc68b3778149..478c894d50aa 100644
--- a/games/crafty/pkg-descr
+++ b/games/crafty/pkg-descr
@@ -1,14 +1,21 @@
-Crafty is a rapidly developing chess engine with more and more features being
-added regularly. It can play, analyze, and even annotate games for you. Crafty
-can utilize tablebases; these are available for freebsd in the related ports.
+Crafty is a rapidly developing chess engine with more and more features
+being added regularly. It can play, analyze, and even annotate games
+for you. Crafty can utilize tablebases; these are available for freebsd
+in the related ports.
The files bitmaps.tgz and sound.tgz are available in your doc directory,
-usually /usr/local/share/doc/crafty. The bitmaps are for html annotations
-performed by crafty - they should be unpacked into the directory you normally
-analyze games into, and all should be fine...
+usually /usr/local/share/doc/crafty. The bitmaps are for html
+annotations performed by crafty - they should be unpacked into the
+directory you normally analyze games into, and all should be fine...
The sounds are for move announcements. Unpack the archive somewhere,
and have a look at the 'speak' script to customize for your use, if
desired.
+22.1 -> New "skill" command that can be used to "dumb down" crafty.
+"skill <n>" where n is a number between 1 and 100. 100 is max (default)
+skill. Skill 70 will drop the playing Elo by about 200 points. Skill
+50 will drop it about 400 points. The curve is not linear, and the
+closer you get to 1, the lower the rating.
+
// J Shoemaker
diff --git a/games/crafty/pkg-message b/games/crafty/pkg-message
index 3711146f7de4..10bf0a20f201 100644
--- a/games/crafty/pkg-message
+++ b/games/crafty/pkg-message
@@ -1,17 +1,9 @@
-
This package is set to allow per-user config files, and a shared books
directory. To accomplish this, crafty is setgid nobody, and the books
and learning information are owned by the user 'nobody.'
The location values are tunable, see message when make is issued.
- ** IMPORTANT **
-
-IF YOU ARE UPGRADING TO THIS VERSION, YOU WILL NEED TO DE-INSTALL ANY
-OPENING BOOKS YOU HAVE AS THE FORMATS HAVE CHANGED. SIMPLY UNINSTALL
-AND REBUILD FROM THE PORT (NOT PACKAGE) AND THEY'LL BE REBUILT BY THE
-ENGINE IN THE NEW FORMAT.
-
If you have an SMP system, add a line to your ~/.craftyrc file to the
effect:
@@ -19,3 +11,9 @@ smpmt=2 (or however many cpus you have)
Do not set this higher than you really have, or performance will
actually drop.
+
+New "skill" command that can be used to "dumb down" crafty. "skill <n>"
+where n is a number between 1 and 100. 100 is max (default) skill.
+Skill 70 will drop the playing Elo by about 200 points. Skill 50 will
+drop it about 400 points. The curve is not linear, and the closer you
+get to 1, the lower the rating.