crafty-book-large: chess opening book for Crafty (large)

This commit is contained in:
jlam 2000-10-15 02:07:53 +00:00
parent 961cfe4ce6
commit 529cf7cf11
5 changed files with 61 additions and 0 deletions

View file

@ -0,0 +1,51 @@
# $NetBSD: Makefile,v 1.1.1.1 2000/10/15 02:07:53 jlam Exp $
DISTNAME= large
PKGNAME= ${CHESS_ENGINE}-book-${DISTNAME}-20000511
CATEGORIES= games
MASTER_SITES= ftp://ftp.cis.uab.edu/pub/hyatt/common/${DISTNAME}/
DISTFILES= ${DISTNAME}1${EXTRACT_SUFX}
DISTFILES+= ${DISTNAME}2${EXTRACT_SUFX}
DISTFILES+= ${DISTNAME}3${EXTRACT_SUFX}
DISTFILES+= ${DISTNAME}4${EXTRACT_SUFX}
EXTRACT_SUFX= .zip
MAINTAINER= jlam@netbsd.org
CONFLICTS= ${CHESS_ENGINE}-book-*
DEPENDS+= crafty>=17.0:../../games/crafty
CHESS_ENGINE= crafty
DIST_SUBDIR= chessbooks
NO_WRKSUBDIR= # defined
NO_CONFIGURE= # defined
PLIST_SUBST+= CHESS_ENGINE=${CHESS_ENGINE}
PLIST_SUBST+= BOOK_FILE=${BOOK_FILE}
BOOKDIR= ${PREFIX}/lib/${CHESS_ENGINE}
PGN_FILE= ${DISTNAME}.pgn
BOOK_FILE= book.bin
CRAFTYRC= ${WRKSRC}/.craftyrc
pre-extract:
@${ECHO} ""
@${ECHO} " ** WARNING: This requires ~250MB of disk space to build."
@${ECHO} ""
do-build:
${RM} -f ${PGN_FILE}
cd ${WRKSRC} && ${CAT} Book*.pgn > ${PGN_FILE}
${RM} -f ${CRAFTYRC}
${ECHO} "book create ${PGN_FILE} 60 3" > ${CRAFTYRC}
${ECHO} "quit" >> ${CRAFTYRC}
cd ${WRKSRC} && crafty bookpath=.
do-install:
${INSTALL_DATA_DIR} ${BOOKDIR}
${INSTALL_DATA} ${WRKSRC}/${BOOK_FILE} ${BOOKDIR}
.include "../../mk/bsd.pkg.mk"

View file

@ -0,0 +1,6 @@
$NetBSD: md5,v 1.1.1.1 2000/10/15 02:07:53 jlam Exp $
MD5 (chessbooks/large1.zip) = 0ed222c7df3eb9a0f4ad91c76dc0349c
MD5 (chessbooks/large2.zip) = 8f1bdc7dd3f9379d5e6fd43f1f9c07d3
MD5 (chessbooks/large3.zip) = b9c6fbdfb56b489e31a85382c8142ff3
MD5 (chessbooks/large4.zip) = 96ac81e6c7c4a851d9ad7996539f4d61

View file

@ -0,0 +1 @@
chess opening book for Crafty (large)

View file

@ -0,0 +1 @@
Large book of chess openings for Crafty.

View file

@ -0,0 +1,2 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2000/10/15 02:07:53 jlam Exp $
lib/${CHESS_ENGINE}/${BOOK_FILE}