Skip site navigation (1)Skip section navigation (2)
Date:      15 Apr 2008 12:28:22 -0600
From:      shoemaker@bluebottle.com (Jonathan Shoemaker)
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/122800: [Maintainer Update] games/crafty - bump version 
Message-ID:  <86prsrkm61.fsf@dakar.lan>
Resent-Message-ID: <200804151900.m3FJ07pA062589@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         122800
>Category:       ports
>Synopsis:       [Maintainer Update] games/crafty - bump version
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 15 19:00:06 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     shoemaker@bluebottle.com (Jonathan Shoemaker)
>Release:        FreeBSD 7.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD dakar.lan 7.0-RELEASE FreeBSD 7.0-RELEASE #3: Sun Apr 13 21:17:23 MDT 2008 root@:/var/tmp/obj/usr/src/sys/DAKAR i386

>Description:
	Bump to latest version of crafty.  Add files for html
	annotations, sound for move announcements, etc.
>How-To-Repeat:
>Fix:
diff -urN crafty-old/Makefile crafty/Makefile
--- crafty-old/Makefile	2007-09-29 08:46:14.000000000 -0600
+++ crafty/Makefile	2008-04-15 11:52:29.000000000 -0600
@@ -6,12 +6,13 @@
 #
 
 PORTNAME=	crafty
-PORTVERSION=	20.14
-PORTREVISION=	2
+PORTVERSION=	22.0
+PORTREVISION=	1
 CATEGORIES=	games
 MASTER_SITES=	ftp://ftp.cis.uab.edu/pub/hyatt/pgn/:data \
 		ftp://ftp.cis.uab.edu/pub/hyatt/documentation/:doc \
-		ftp://ftp.cis.uab.edu/pub/hyatt/source/:src
+		ftp://ftp.cis.uab.edu/pub/hyatt/source/:src \
+		ftp://ftp.cis.uab.edu/pub/hyatt/book/:utils
 DISTFILES=	crafty-${PORTVERSION}.zip:src \
 		start.pgn:data
 DIST_SUBDIR=	crafty
@@ -26,6 +27,8 @@
 .if !defined(NOPORTDOCS)
 DOCFILES=	crafty.doc.ascii crafty.doc.ps
 DISTFILES+=	${DOCFILES:S/$/:doc/}
+UTILS=		bitmaps.tgz sound.zip
+DISTFILES+=	${UTILS:S/$/:utils/}
 .endif
 
 ALL_TARGET=	freebsd
@@ -45,7 +48,7 @@
 .if !defined(WITH_PERSDIR)
 WITH_PERSDIR=	${PREFIX}/lib/crafty/cpf
 .endif
-OPT=		-DHASHSTATS -DTRACE -DBOOKDIR=\\\"${WITH_BOOKDIR}\\\" \
+OPT=		-DCPUS=4 -DHASHSTATS -DTRACE -DBOOKDIR=\\\"${WITH_BOOKDIR}\\\" \
 		-DLOGDIR=\\\"${WITH_LOGDIR}\\\" \
 	       	-DRCDIR=\\\"${WITH_RCDIR}\\\" \
 		-DTBDIR=\\\"${WITH_TBDIR}\\\" \
@@ -84,6 +87,7 @@
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${DOCSDIR}
 	cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${DOCFILES} ${DOCSDIR}
+	cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${UTILS} ${DOCSDIR}
 .endif
 
 post-install:
diff -urN crafty-old/distinfo crafty/distinfo
--- crafty-old/distinfo	2007-09-09 19:11:53.000000000 -0600
+++ crafty/distinfo	2008-04-15 10:23:12.000000000 -0600
@@ -1,6 +1,6 @@
-MD5 (crafty/crafty-20.14.zip) = ab681d84fc2f01ce0789cf4f47c945f8
-SHA256 (crafty/crafty-20.14.zip) = 9e4b90bde9c156ad537d6228c678d39dcaf790a0603125ab37ed48fb4662a01a
-SIZE (crafty/crafty-20.14.zip) = 422894
+MD5 (crafty/crafty-22.0.zip) = da1890c572441dfd7687c392c4e897d0
+SHA256 (crafty/crafty-22.0.zip) = 05772b0a63a07dd5dafc307bcf41df41df0212209a22907244652422bb302fa6
+SIZE (crafty/crafty-22.0.zip) = 402797
 MD5 (crafty/start.pgn) = 98176af8ec13945a4ec60ad9b5959412
 SHA256 (crafty/start.pgn) = 750397385a67307bd3e565f7a86d69745476db5fed4735650af971cc94318021
 SIZE (crafty/start.pgn) = 1349
@@ -10,3 +10,9 @@
 MD5 (crafty/crafty.doc.ps) = 6cef69aa2f9ea1ceb74b6c14edc8291f
 SHA256 (crafty/crafty.doc.ps) = 887eb54de05f3371ef95adc38629a0f1f2cad66d1ca1b14fc426b87f5b13a9ab
 SIZE (crafty/crafty.doc.ps) = 141725
+MD5 (crafty/bitmaps.tgz) = aa6bf9eb050cc8a1afecbf7d8bfa3907
+SHA256 (crafty/bitmaps.tgz) = fd9279dadb5fa2d8ee77ef4245ef4d5cd51842b3029b1b3698c0b8ed724b0be6
+SIZE (crafty/bitmaps.tgz) = 27317
+MD5 (crafty/sound.zip) = ccf72dfe83be9d11c230c9825f763af8
+SHA256 (crafty/sound.zip) = a9cd8f9c4ebfb41a8a57056da2256c8c88d5fa21c3865f2aeea5bbe8cd2b4e24
+SIZE (crafty/sound.zip) = 737470
diff -urN crafty-old/pkg-descr crafty/pkg-descr
--- crafty-old/pkg-descr	1998-05-31 22:56:10.000000000 -0600
+++ crafty/pkg-descr	2008-04-15 12:13:21.000000000 -0600
@@ -1,7 +1,14 @@
-This is crafty - a chess programm which is not just able to play a
-game and tell you the best move but also can annotate PGN files.
+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 user interface is ASCII based.  For a graphical interface one can
-use xboard which interfaces very well with it.
+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...
 
-- Stefan Eggers <seggers@semyam.dinoco.de>
+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.
+
+// J Shoemaker
diff -urN crafty-old/pkg-message crafty/pkg-message
--- crafty-old/pkg-message	2007-09-09 19:12:45.000000000 -0600
+++ crafty/pkg-message	2008-04-15 11:59:30.000000000 -0600
@@ -1,7 +1,21 @@
 
-This package is set to allow per-user config files, and a shared
-books directory.  To accomplish this, crafty is setuid nobody, and
-the books and learning information is owned by the user 'nobody.'
+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:
+
+smpmt=2 (or however many cpus you have)
+
+Do not set this higher than you really have, or performance will
+actually drop.

----------------------------------------------------------------------
Get a free email address with REAL anti-spam protection.
http://www.bluebottle.com/tag/1

>Release-Note:
>Audit-Trail:
>Unformatted:
 X-send-pr-version: 3.113
 X-GNATS-Notify: 
 
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86prsrkm61.fsf>