diff options
author | jlam <jlam> | 2000-10-15 02:07:15 +0000 |
---|---|---|
committer | jlam <jlam> | 2000-10-15 02:07:15 +0000 |
commit | 03a80b9b4006dbddb72c0f25be7b377be59a1bf3 (patch) | |
tree | 3d91acdeb9ad9d4d62125a3ef7b556658e4af34f /games | |
parent | 3387020ab636b8bcbeb6dd6a5e120a1324c768b1 (diff) | |
download | pkgsrc-03a80b9b4006dbddb72c0f25be7b377be59a1bf3.tar.gz |
crafty-book-enormous: chess opening book for Crafty (enormous)
Diffstat (limited to 'games')
-rw-r--r-- | games/crafty-book-enormous/Makefile | 57 | ||||
-rw-r--r-- | games/crafty-book-enormous/files/md5 | 7 | ||||
-rw-r--r-- | games/crafty-book-enormous/pkg/COMMENT | 1 | ||||
-rw-r--r-- | games/crafty-book-enormous/pkg/DESCR | 1 | ||||
-rw-r--r-- | games/crafty-book-enormous/pkg/PLIST | 2 |
5 files changed, 68 insertions, 0 deletions
diff --git a/games/crafty-book-enormous/Makefile b/games/crafty-book-enormous/Makefile new file mode 100644 index 00000000000..d5487ae5143 --- /dev/null +++ b/games/crafty-book-enormous/Makefile @@ -0,0 +1,57 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/10/15 02:07:15 jlam Exp $ + +DISTNAME= enormous +PKGNAME= ${CHESS_ENGINE}-book-${DISTNAME}-20000511 +CATEGORIES= games +MASTER_SITES= ftp://ftp.cis.uab.edu/pub/hyatt/common/${DISTNAME}/ +DISTFILES= a${EXTRACT_SUFX} +DISTFILES+= b${EXTRACT_SUFX} +DISTFILES+= c${EXTRACT_SUFX} +DISTFILES+= d${EXTRACT_SUFX} +DISTFILES+= e${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 ~2.5GB of disk space to build." + @${ECHO} "" + +do-build: + @${ECHO} "" + @${ECHO} " ** Get yourself a shower and a big mug of coffee," + @${ECHO} " ** this will take _very_ long!" + @${ECHO} "" + + ${RM} -f ${PGN_FILE} + cd ${WRKSRC} && ${CAT} ?.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-enormous/files/md5 b/games/crafty-book-enormous/files/md5 new file mode 100644 index 00000000000..654f9ac01be --- /dev/null +++ b/games/crafty-book-enormous/files/md5 @@ -0,0 +1,7 @@ +$NetBSD: md5,v 1.1.1.1 2000/10/15 02:07:15 jlam Exp $ + +MD5 (chessbooks/a.zip) = 3ba6c93d626892c80f9d53a94594b4bd +MD5 (chessbooks/b.zip) = de5ca72a02b1a789dc25c13059501b0c +MD5 (chessbooks/c.zip) = 474090f47cb15f08e0eb073fc930421c +MD5 (chessbooks/d.zip) = 557ffa74c8894629a2d6dbb1089419f2 +MD5 (chessbooks/e.zip) = 06f18c71bbb4cdc0c4be8f72feeb4cd3 diff --git a/games/crafty-book-enormous/pkg/COMMENT b/games/crafty-book-enormous/pkg/COMMENT new file mode 100644 index 00000000000..ceec1ee7eff --- /dev/null +++ b/games/crafty-book-enormous/pkg/COMMENT @@ -0,0 +1 @@ +chess opening book for Crafty (enormous) diff --git a/games/crafty-book-enormous/pkg/DESCR b/games/crafty-book-enormous/pkg/DESCR new file mode 100644 index 00000000000..9e8d2de2a86 --- /dev/null +++ b/games/crafty-book-enormous/pkg/DESCR @@ -0,0 +1 @@ +Enormous book of chess openings for Crafty. diff --git a/games/crafty-book-enormous/pkg/PLIST b/games/crafty-book-enormous/pkg/PLIST new file mode 100644 index 00000000000..031fd8f8d4c --- /dev/null +++ b/games/crafty-book-enormous/pkg/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2000/10/15 02:07:15 jlam Exp $ +lib/${CHESS_ENGINE}/${BOOK_FILE} |