From 7be42c40d18f792cb086ef30fbf6669b237b65b5 Mon Sep 17 00:00:00 2001 From: jlam Date: Wed, 25 Oct 2000 08:41:25 +0000 Subject: chess opening book for EXchess (small) --- games/exchess-book-small/Makefile | 43 ++++++++++++++++++++++++++++++++++++ games/exchess-book-small/files/md5 | 3 +++ games/exchess-book-small/pkg/COMMENT | 1 + games/exchess-book-small/pkg/DESCR | 1 + games/exchess-book-small/pkg/PLIST | 2 ++ 5 files changed, 50 insertions(+) create mode 100644 games/exchess-book-small/Makefile create mode 100644 games/exchess-book-small/files/md5 create mode 100644 games/exchess-book-small/pkg/COMMENT create mode 100644 games/exchess-book-small/pkg/DESCR create mode 100644 games/exchess-book-small/pkg/PLIST (limited to 'games/exchess-book-small') diff --git a/games/exchess-book-small/Makefile b/games/exchess-book-small/Makefile new file mode 100644 index 00000000000..c8b517041b4 --- /dev/null +++ b/games/exchess-book-small/Makefile @@ -0,0 +1,43 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/10/25 08:41:25 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 + +DEPENDS+= exchess-[0-9]*:../../games/exchess + +CONFLICTS= ${CHESS_ENGINE}-book-* + +CHESS_ENGINE= exchess +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= open_bk.dat + +CMDFILE= ${WRKSRC}/exchess.input + +do-build: + ${RM} -f ${CMDFILE} + ${ECHO} "build" > ${CMDFILE} + ${ECHO} "${PGN_FILE}" >> ${CMDFILE} + ${ECHO} "60" >> ${CMDFILE} + ${ECHO} "3" >> ${CMDFILE} + ${ECHO} "${BOOK_FILE}" >> ${CMDFILE} + ${ECHO} "quit" >> ${CMDFILE} + cd ${WRKSRC} && exchess < ${CMDFILE} + +do-install: + ${INSTALL_DATA_DIR} ${BOOKDIR} + ${INSTALL_DATA} ${WRKSRC}/${BOOK_FILE} ${BOOKDIR} + +.include "../../mk/bsd.pkg.mk" diff --git a/games/exchess-book-small/files/md5 b/games/exchess-book-small/files/md5 new file mode 100644 index 00000000000..35b17cd8587 --- /dev/null +++ b/games/exchess-book-small/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2000/10/25 08:41:25 jlam Exp $ + +MD5 (chessbooks/small.zip) = 4faca1c02593e142ab9d901935c41dea diff --git a/games/exchess-book-small/pkg/COMMENT b/games/exchess-book-small/pkg/COMMENT new file mode 100644 index 00000000000..136a2e47088 --- /dev/null +++ b/games/exchess-book-small/pkg/COMMENT @@ -0,0 +1 @@ +chess opening book for EXchess (small) diff --git a/games/exchess-book-small/pkg/DESCR b/games/exchess-book-small/pkg/DESCR new file mode 100644 index 00000000000..573152a25f0 --- /dev/null +++ b/games/exchess-book-small/pkg/DESCR @@ -0,0 +1 @@ +Small book of chess openings for EXchess. diff --git a/games/exchess-book-small/pkg/PLIST b/games/exchess-book-small/pkg/PLIST new file mode 100644 index 00000000000..11fb9ae47ff --- /dev/null +++ b/games/exchess-book-small/pkg/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2000/10/25 08:41:25 jlam Exp $ +lib/${CHESS_ENGINE}/${BOOK_FILE} -- cgit v1.2.3