crafty-book-small: chess opening book for Crafty (small)
This commit is contained in:
parent
5e202d2fef
commit
86030c3e67
5 changed files with 46 additions and 0 deletions
39
games/crafty-book-small/Makefile
Normal file
39
games/crafty-book-small/Makefile
Normal file
|
@ -0,0 +1,39 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2000/10/15 02:08:52 jlam Exp $
|
||||
|
||||
DISTNAME= small
|
||||
PKGNAME= ${CHESS_ENGINE}-book-${DISTNAME}-20000511
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= ftp://ftp.cis.uab.edu/pub/hyatt/common/${DISTNAME}/
|
||||
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}.txt
|
||||
BOOK_FILE= book.bin
|
||||
|
||||
CRAFTYRC= ${WRKSRC}/.craftyrc
|
||||
|
||||
do-build:
|
||||
${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"
|
3
games/crafty-book-small/files/md5
Normal file
3
games/crafty-book-small/files/md5
Normal file
|
@ -0,0 +1,3 @@
|
|||
$NetBSD: md5,v 1.1.1.1 2000/10/15 02:08:52 jlam Exp $
|
||||
|
||||
MD5 (chessbooks/small.zip) = 4faca1c02593e142ab9d901935c41dea
|
1
games/crafty-book-small/pkg/COMMENT
Normal file
1
games/crafty-book-small/pkg/COMMENT
Normal file
|
@ -0,0 +1 @@
|
|||
chess opening book for Crafty (small)
|
1
games/crafty-book-small/pkg/DESCR
Normal file
1
games/crafty-book-small/pkg/DESCR
Normal file
|
@ -0,0 +1 @@
|
|||
Small book of chess openings for Crafty.
|
2
games/crafty-book-small/pkg/PLIST
Normal file
2
games/crafty-book-small/pkg/PLIST
Normal file
|
@ -0,0 +1,2 @@
|
|||
@comment $NetBSD: PLIST,v 1.1.1.1 2000/10/15 02:08:52 jlam Exp $
|
||||
lib/${CHESS_ENGINE}/${BOOK_FILE}
|
Loading…
Reference in a new issue