ports/116240: New port: games/crafty-open-enormous
Jonathan Shoemaker
shoemaker at bluebottle.com
Sun Sep 9 22:30:02 UTC 2007
>Number: 116240
>Category: ports
>Synopsis: New port: games/crafty-open-enormous
>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: Sun Sep 09 22:30: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 at localhost:/var/obj/usr/src/sys/CUSTOM i386
>Description:
This is an enormous ~90M opening book for crafty. Master site
local has been set, since I have no other place to store the
distfile, and we want more than one source. Hopefully someone
can mirror it locally.
>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-enormous
# crafty-open-enormous/files
# crafty-open-enormous/files/book-building
# crafty-open-enormous/Makefile
# crafty-open-enormous/distinfo
# crafty-open-enormous/pkg-descr
# crafty-open-enormous/pkg-plist
#
echo c - crafty-open-enormous
mkdir -p crafty-open-enormous > /dev/null 2>&1
echo c - crafty-open-enormous/files
mkdir -p crafty-open-enormous/files > /dev/null 2>&1
echo x - crafty-open-enormous/files/book-building
sed 's/^X//' >crafty-open-enormous/files/book-building << 'END-of-crafty-open-enormous/files/book-building'
Xbook create enormous.pgn 60 2 50
Xquit
END-of-crafty-open-enormous/files/book-building
echo x - crafty-open-enormous/Makefile
sed 's/^X//' >crafty-open-enormous/Makefile << 'END-of-crafty-open-enormous/Makefile'
X# New ports collection makefile for: crafty-open-enormous
X# Date created: 9 Sep 2007
X# Whom: Jonathan Shoemaker <shoemaker at bluebottle.com>
X#
X# $FreeBSD:$
X#
X
XPORTNAME= crafty-open-enormous
XPORTVERSION= 1
XCATEGORIES= games
XMASTER_SITES= ftp://ftp.cis.uab.edu/pub/hyatt/pgn/ \
X ${MASTER_SITE_LOCAL}
XDISTFILES= enormous.zip
XEXTRACT_ONLY= ${DISTFILES}
X
XMAINTAINER= shoemaker at bluebottle.com
XCOMMENT= The enormous opening book (about 85-90 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
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 (cd ${WRKDIR}; ${CHOWN} nobody ${WRKDIR}; crafty bookpath=. <${FILESDIR}/book-building)
X
Xdo-install:
X ${MKDIR} ${PREFIX}/lib/crafty
X ${INSTALL_DATA} ${WRKDIR}/book.bin ${PREFIX}/lib/crafty/book.bin
X
X.include <bsd.port.post.mk>
END-of-crafty-open-enormous/Makefile
echo x - crafty-open-enormous/distinfo
sed 's/^X//' >crafty-open-enormous/distinfo << 'END-of-crafty-open-enormous/distinfo'
XMD5 (crafty/enormous.zip) = 063c388c5b58fef83fa6f8be35644975
XSHA256 (crafty/enormous.zip) = c29bef354014e0cdb91644578101d48419f3aef15c300ab7eb01a1f11f392500
XSIZE (crafty/enormous.zip) = 282114811
END-of-crafty-open-enormous/distinfo
echo x - crafty-open-enormous/pkg-descr
sed 's/^X//' >crafty-open-enormous/pkg-descr << 'END-of-crafty-open-enormous/pkg-descr'
XThis is the port of the medium opening book for crafty. It consumes
Xabout 85-90M.
X
XIt was created with "book create enormous.pgn 60 2 50" (see the crafty
Xdocumentation and online help for a more thorough explanation of what
Xthis does)
X
X// Jonathan Shoemaker <shoemaker at bluebottle.com>
END-of-crafty-open-enormous/pkg-descr
echo x - crafty-open-enormous/pkg-plist
sed 's/^X//' >crafty-open-enormous/pkg-plist << 'END-of-crafty-open-enormous/pkg-plist'
Xlib/crafty/book.bin
X at dirrm lib/crafty
END-of-crafty-open-enormous/pkg-plist
exit
----------------------------------------------------------------------
Find out how you can get spam free email.
http://www.bluebottle.com/tag/3
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list