Skip site navigation (1)Skip section navigation (2)
Date:      09 Sep 2007 20:18:30 -0600
From:      shoemaker@bluebottle.com (Jonathan Shoemaker)
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/116246: [UPDATE] games/crafty-open-medium
Message-ID:  <864pi3jma1.fsf@localhost.lan>
Resent-Message-ID: <200709100220.l8A2K1q0084017@freefall.freebsd.org>

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

>Number:         116246
>Category:       ports
>Synopsis:       [UPDATE] games/crafty-open-medium
>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:20:01 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-medium
#	crafty-open-medium/files
#	crafty-open-medium/files/book-building
#	crafty-open-medium/Makefile
#	crafty-open-medium/distinfo
#	crafty-open-medium/pkg-descr
#	crafty-open-medium/pkg-plist
#
echo c - crafty-open-medium
mkdir -p crafty-open-medium > /dev/null 2>&1
echo c - crafty-open-medium/files
mkdir -p crafty-open-medium/files > /dev/null 2>&1
echo x - crafty-open-medium/files/book-building
sed 's/^X//' >crafty-open-medium/files/book-building << 'END-of-crafty-open-medium/files/book-building'
Xbook create book.txt 60 2 50
Xquit
END-of-crafty-open-medium/files/book-building
echo x - crafty-open-medium/Makefile
sed 's/^X//' >crafty-open-medium/Makefile << 'END-of-crafty-open-medium/Makefile'
X# New ports collection makefile for:	crafty-open-medium
X# Date created:				1 June 1998
X# Whom:					Stefan Eggers <seggers@semyam.dinoco.de>
X#
X# $FreeBSD: ports/games/crafty-open-medium/Makefile,v 1.9 2004/11/07 10:52:14 dd Exp $
X#
X
XPORTNAME=	crafty-open-medium
XPORTVERSION=	2
XCATEGORIES=	games
XMASTER_SITES=	${MASTER_SITE_LOCAL}
XMASTER_SITE_SUBDIR=	dd/crafty
XDISTNAME=	medium
X
XMAINTAINER=	shoemaker@bluebottle.com
XCOMMENT=	The medium opening book (about 1.9 MByte) 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-large-*
X
X.include <bsd.port.pre.mk>
X
X.if ${ARCH} == "amd64"
XBROKEN=		"Coredump during build"
X.endif
X
Xdo-build:
X	@${ECHO_MSG} '================================================================'
X	@${ECHO_MSG} 'Ignore warnings about illegal moves.  These warnings are normal.'
X	@${ECHO_MSG} '================================================================'
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.post.mk>
END-of-crafty-open-medium/Makefile
echo x - crafty-open-medium/distinfo
sed 's/^X//' >crafty-open-medium/distinfo << 'END-of-crafty-open-medium/distinfo'
XMD5 (crafty/medium.zip) = 6b4a61d15029811d7cdc34d6adae7a17
XSHA256 (crafty/medium.zip) = 5a509d00f99d8a4b8fc23e1e7f64a47733c85fc0a7e623eed6fb228101c4c45f
XSIZE (crafty/medium.zip) = 8714100
END-of-crafty-open-medium/distinfo
echo x - crafty-open-medium/pkg-descr
sed 's/^X//' >crafty-open-medium/pkg-descr << 'END-of-crafty-open-medium/pkg-descr'
XThis is the port of the medium opening book for crafty.  It consumes
Xabout 1.9 MByte.
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-medium/pkg-descr
echo x - crafty-open-medium/pkg-plist
sed 's/^X//' >crafty-open-medium/pkg-plist << 'END-of-crafty-open-medium/pkg-plist'
Xlib/crafty/book.bin
END-of-crafty-open-medium/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?864pi3jma1.fsf>