diff options
author | jlam <jlam@pkgsrc.org> | 2000-10-15 02:07:53 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2000-10-15 02:07:53 +0000 |
commit | 529cf7cf11b32047723f327e26c3171f96a0bfd3 (patch) | |
tree | bc2b4ac7862b9d43af50055e47d1737ab69d861c /games | |
parent | 961cfe4ce688096bf86435f609f8ae7fc4ef5a48 (diff) | |
download | pkgsrc-529cf7cf11b32047723f327e26c3171f96a0bfd3.tar.gz |
crafty-book-large: chess opening book for Crafty (large)
Diffstat (limited to 'games')
-rw-r--r-- | games/crafty-book-large/Makefile | 51 | ||||
-rw-r--r-- | games/crafty-book-large/files/md5 | 6 | ||||
-rw-r--r-- | games/crafty-book-large/pkg/COMMENT | 1 | ||||
-rw-r--r-- | games/crafty-book-large/pkg/DESCR | 1 | ||||
-rw-r--r-- | games/crafty-book-large/pkg/PLIST | 2 |
5 files changed, 61 insertions, 0 deletions
diff --git a/games/crafty-book-large/Makefile b/games/crafty-book-large/Makefile new file mode 100644 index 00000000000..10aad35c1f1 --- /dev/null +++ b/games/crafty-book-large/Makefile @@ -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" diff --git a/games/crafty-book-large/files/md5 b/games/crafty-book-large/files/md5 new file mode 100644 index 00000000000..119cccc1926 --- /dev/null +++ b/games/crafty-book-large/files/md5 @@ -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 diff --git a/games/crafty-book-large/pkg/COMMENT b/games/crafty-book-large/pkg/COMMENT new file mode 100644 index 00000000000..a364d31e9b7 --- /dev/null +++ b/games/crafty-book-large/pkg/COMMENT @@ -0,0 +1 @@ +chess opening book for Crafty (large) diff --git a/games/crafty-book-large/pkg/DESCR b/games/crafty-book-large/pkg/DESCR new file mode 100644 index 00000000000..0c77943e763 --- /dev/null +++ b/games/crafty-book-large/pkg/DESCR @@ -0,0 +1 @@ +Large book of chess openings for Crafty. diff --git a/games/crafty-book-large/pkg/PLIST b/games/crafty-book-large/pkg/PLIST new file mode 100644 index 00000000000..61c58e752eb --- /dev/null +++ b/games/crafty-book-large/pkg/PLIST @@ -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} |