crafty-book-large: chess opening book for Crafty (large)
This commit is contained in:
parent
961cfe4ce6
commit
529cf7cf11
5 changed files with 61 additions and 0 deletions
51
games/crafty-book-large/Makefile
Normal file
51
games/crafty-book-large/Makefile
Normal 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"
|
6
games/crafty-book-large/files/md5
Normal file
6
games/crafty-book-large/files/md5
Normal 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
|
1
games/crafty-book-large/pkg/COMMENT
Normal file
1
games/crafty-book-large/pkg/COMMENT
Normal file
|
@ -0,0 +1 @@
|
|||
chess opening book for Crafty (large)
|
1
games/crafty-book-large/pkg/DESCR
Normal file
1
games/crafty-book-large/pkg/DESCR
Normal file
|
@ -0,0 +1 @@
|
|||
Large book of chess openings for Crafty.
|
2
games/crafty-book-large/pkg/PLIST
Normal file
2
games/crafty-book-large/pkg/PLIST
Normal 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}
|
Loading…
Reference in a new issue