Skip site navigation (1)Skip section navigation (2)
Date:      09 Sep 2007 20:21:04 -0600
From:      shoemaker@bluebottle.com (Jonathan Shoemaker)
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/116247: [UPDATE] games/crafty-open-large
Message-ID:  <86y7ffi7lb.fsf@localhost.lan>
Resent-Message-ID: <200709100230.l8A2U0xE084625@freefall.freebsd.org>

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

>Number:         116247
>Category:       ports
>Synopsis:       [UPDATE] games/crafty-open-large
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 10 02:30:00 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan Shoemaker
>Release:        FreeBSD 6.2-RELEASE-p7 i386
>Organization:
>Environment:
System: FreeBSD localhost 6.2-RELEASE-p7 FreeBSD 6.2-RELEASE-p7 #0: Sat Sep 8 13:47:46 MDT 2007 root@localhost:/var/obj/usr/src/sys/CUSTOM i386

>Description:
	Since the crafty port has been updated, there are
inconsistencies in the opening book ports now.  Since the maintainer's
email bounces, I'll volunteer to maintain these as well.  The port has
been updated so that it'll actually be seen by crafty, and has been
made accessible for the learning function to work.

>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	crafty-open-large
#	crafty-open-large/files
#	crafty-open-large/files/book-building
#	crafty-open-large/Makefile
#	crafty-open-large/distinfo
#	crafty-open-large/pkg-descr
#	crafty-open-large/pkg-plist
#
echo c - crafty-open-large
mkdir -p crafty-open-large > /dev/null 2>&1
echo c - crafty-open-large/files
mkdir -p crafty-open-large/files > /dev/null 2>&1
echo x - crafty-open-large/files/book-building
sed 's/^X//' >crafty-open-large/files/book-building << 'END-of-crafty-open-large/files/book-building'
Xbook create Book.pgn 60 2 50
Xquit
END-of-crafty-open-large/files/book-building
echo x - crafty-open-large/Makefile
sed 's/^X//' >crafty-open-large/Makefile << 'END-of-crafty-open-large/Makefile'
X# New ports collection makefile for:	crafty-open-large
X# Date created:				1 June 1998
X# Whom:					Stefan Eggers <seggers@semyam.dinoco.de>
X#
X# $FreeBSD: ports/games/crafty-open-large/Makefile,v 1.8 2004/11/07 10:52:14 dd Exp $
X#
X
XPORTNAME=	crafty-open-large
XPORTVERSION=	2
XCATEGORIES=	games
XMASTER_SITES=	${MASTER_SITE_LOCAL}
XMASTER_SITE_SUBDIR=	dd/crafty
XDISTFILES=	large1.zip large2.zip large3.zip large4.zip
X
XMAINTAINER=	shoemaker@bluebottle.com
XCOMMENT=	The large opening book for crafty
X
XBUILD_DEPENDS=	crafty:${PORTSDIR}/games/crafty
XRUN_DEPENDS=	crafty:${PORTSDIR}/games/crafty
X
XDIST_SUBDIR=		crafty
XUSE_ZIP=		yes
XNO_WRKSUBDIR=		yes
XCONFLICTS=	games/crafty-open-enormous-* games/crafty-open-medium-*
Xpost-extract:
X	@${ECHO_MSG} '================================================================'
X	@${ECHO_MSG} 'Ignore warnings about illegal moves.  These warnings are normal.'
X	@${ECHO_MSG} '================================================================'
X	${CAT} ${WRKDIR}/Book1.pgn ${WRKDIR}/Book2.pgn ${WRKDIR}/Book3.pgn ${WRKDIR}/Book4.pgn >${WRKDIR}/Book.pgn
X	${RM} ${WRKDIR}/Book1.pgn ${WRKDIR}/Book2.pgn ${WRKDIR}/Book3.pgn ${WRKDIR}/Book4.pgn
X
Xdo-build:
X	(${CHOWN} nobody ${WRKDIR}; cd ${WRKDIR}; crafty <${FILESDIR}/book-building)
X
Xdo-install:
X	${MKDIR} ${PREFIX}/lib/crafty
X	${INSTALL_DATA} ${WRKDIR}/book.bin ${PREFIX}/lib/crafty/book.bin
X	${CHOWN} nobody:nogroup ${PREFIX}/lib/crafty/book.bin
X	${CHMOD} 664 ${PREFIX}/lib/crafty/book.bin
X
X.include <bsd.port.mk>
END-of-crafty-open-large/Makefile
echo x - crafty-open-large/distinfo
sed 's/^X//' >crafty-open-large/distinfo << 'END-of-crafty-open-large/distinfo'
XMD5 (crafty/large1.zip) = 0ed222c7df3eb9a0f4ad91c76dc0349c
XSHA256 (crafty/large1.zip) = 90f18e8d5084b9d63cad74b4e5996193e88008d98958d67aa0bf4d6e89eda6ae
XSIZE (crafty/large1.zip) = 6326344
XMD5 (crafty/large2.zip) = 8f1bdc7dd3f9379d5e6fd43f1f9c07d3
XSHA256 (crafty/large2.zip) = 84136cfd51e1efc45e29ee25026814e740d713d74b5823f4376c251c982a0c20
XSIZE (crafty/large2.zip) = 6255452
XMD5 (crafty/large3.zip) = b9c6fbdfb56b489e31a85382c8142ff3
XSHA256 (crafty/large3.zip) = 214a17b98e37406b6bcbb4c47ba9df5ce2ee867518a52bb5cace210ffe702a8e
XSIZE (crafty/large3.zip) = 6427389
XMD5 (crafty/large4.zip) = 96ac81e6c7c4a851d9ad7996539f4d61
XSHA256 (crafty/large4.zip) = 22ca2fbffae7e3b824985ab9f26abea64ecee35968f7811189f62b1b879f3767
XSIZE (crafty/large4.zip) = 4475843
END-of-crafty-open-large/distinfo
echo x - crafty-open-large/pkg-descr
sed 's/^X//' >crafty-open-large/pkg-descr << 'END-of-crafty-open-large/pkg-descr'
XThis is the port of the large opening book for crafty.
X
XIt was created with "book create book.txt 60 2 50" (see the crafty
Xdocumentation and online help for a more thorough explanation of what
Xthis does).
END-of-crafty-open-large/pkg-descr
echo x - crafty-open-large/pkg-plist
sed 's/^X//' >crafty-open-large/pkg-plist << 'END-of-crafty-open-large/pkg-plist'
Xlib/crafty/book.bin
END-of-crafty-open-large/pkg-plist
exit

----------------------------------------------------------------------
Finally - A spam blocker that actually works.
http://www.bluebottle.com/tag/4

>Release-Note:
>Audit-Trail:
>Unformatted:



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