diff options
author | jlam <jlam@pkgsrc.org> | 2000-10-15 02:08:52 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2000-10-15 02:08:52 +0000 |
commit | 86030c3e6761e8f1bc1a8a97fb6cffbb6e10ad27 (patch) | |
tree | 645aaf59bf80b5b6116ed4d5568da4be874ed16f /games/crafty-book-small | |
parent | 5e202d2fef1c1e734ce7a528a4a98c9797aadf81 (diff) | |
download | pkgsrc-86030c3e6761e8f1bc1a8a97fb6cffbb6e10ad27.tar.gz |
crafty-book-small: chess opening book for Crafty (small)
Diffstat (limited to 'games/crafty-book-small')
-rw-r--r-- | games/crafty-book-small/Makefile | 39 | ||||
-rw-r--r-- | games/crafty-book-small/files/md5 | 3 | ||||
-rw-r--r-- | games/crafty-book-small/pkg/COMMENT | 1 | ||||
-rw-r--r-- | games/crafty-book-small/pkg/DESCR | 1 | ||||
-rw-r--r-- | games/crafty-book-small/pkg/PLIST | 2 |
5 files changed, 46 insertions, 0 deletions
diff --git a/games/crafty-book-small/Makefile b/games/crafty-book-small/Makefile new file mode 100644 index 00000000000..941d85ff9b7 --- /dev/null +++ b/games/crafty-book-small/Makefile @@ -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" diff --git a/games/crafty-book-small/files/md5 b/games/crafty-book-small/files/md5 new file mode 100644 index 00000000000..3fe837bbac4 --- /dev/null +++ b/games/crafty-book-small/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2000/10/15 02:08:52 jlam Exp $ + +MD5 (chessbooks/small.zip) = 4faca1c02593e142ab9d901935c41dea diff --git a/games/crafty-book-small/pkg/COMMENT b/games/crafty-book-small/pkg/COMMENT new file mode 100644 index 00000000000..87fdc82e259 --- /dev/null +++ b/games/crafty-book-small/pkg/COMMENT @@ -0,0 +1 @@ +chess opening book for Crafty (small) diff --git a/games/crafty-book-small/pkg/DESCR b/games/crafty-book-small/pkg/DESCR new file mode 100644 index 00000000000..b10c0adf097 --- /dev/null +++ b/games/crafty-book-small/pkg/DESCR @@ -0,0 +1 @@ +Small book of chess openings for Crafty. diff --git a/games/crafty-book-small/pkg/PLIST b/games/crafty-book-small/pkg/PLIST new file mode 100644 index 00000000000..4ae5a028d90 --- /dev/null +++ b/games/crafty-book-small/pkg/PLIST @@ -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} |