Bug 116240 - New port: games/crafty-open-enormous
Summary: New port: games/crafty-open-enormous
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-09 23:30 UTC by shoemaker
Modified: 2007-09-23 05:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description shoemaker 2007-09-09 23:30:01 UTC
	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.

Fix: 

----------------------------------------------------------------------
Find out how you can get spam free email.
http://www.bluebottle.com/tag/3--7MDcHztrUxMLNg6f3NZKYEMa93ODU4tNbpVlTUTKaojVkzYW
Content-Type: text/plain; name="file.shar"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.shar"

# 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@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@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@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@dirrm lib/crafty
END-of-crafty-open-enormous/pkg-plist
exit
Comment 1 shoemaker 2007-09-10 02:40:05 UTC
Since the newer crafty port was committed, I need to modify this to
work with it, since user 'nobody' needs write permission to the book
files for learning to work.  New shar attached.

# 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/Makefile
#	crafty-open-enormous/distinfo
#	crafty-open-enormous/files
#	crafty-open-enormous/files/book-building
#	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 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@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@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	${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-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 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/pkg-descr
sed 's/^X//' >crafty-open-enormous/pkg-descr << 'END-of-crafty-open-enormous/pkg-descr'
XThis is the port of the enormous 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@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@dirrm lib/crafty
END-of-crafty-open-enormous/pkg-plist
exit

// J Shoemaker
-- 
If only God would give me some clear sign!
Like making a large deposit in my name at a Swiss bank.
		-- Woody Allen, "Without Feathers"

----------------------------------------------------------------------
Finally - A spam blocker that actually works.
http://www.bluebottle.com/tag/4
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2007-09-23 05:31:17 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2007-09-23 05:31:28 UTC
edwin       2007-09-23 04:31:19 UTC

  FreeBSD ports repository

  Modified files:
    games                Makefile 
  Added files:
    games/crafty-open-enormous Makefile distinfo pkg-descr 
                               pkg-plist 
    games/crafty-open-enormous/files book-building 
  Log:
  New port: games/crafty-open-enormous
  
          This is the port of the medium opening book for crafty.  It
          consumes about 85-90M.
  
          It was created with "book create enormous.pgn 60 2 50" (see
          the crafty documentation and online help for a more thorough
          explanation of what this does)
  
  PR:             ports/116240
  Submitted by:   shoemaker@bluebottle.com (Jonathan Shoemaker)
  
  Revision  Changes    Path
  1.1148    +1 -0      ports/games/Makefile
  1.1       +45 -0     ports/games/crafty-open-enormous/Makefile (new)
  1.1       +3 -0      ports/games/crafty-open-enormous/distinfo (new)
  1.1       +2 -0      ports/games/crafty-open-enormous/files/book-building (new)
  1.1       +8 -0      ports/games/crafty-open-enormous/pkg-descr (new)
  1.1       +2 -0      ports/games/crafty-open-enormous/pkg-plist (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"