diff options
author | jlam <jlam> | 2000-10-25 08:41:25 +0000 |
---|---|---|
committer | jlam <jlam> | 2000-10-25 08:41:25 +0000 |
commit | d8ceadb6d679b6b74aedb8eed37d0d3dd2e02166 (patch) | |
tree | 66e32185290d0718dfadbb20666ec76d2c3c65a8 | |
parent | 1cdcf18176a9d4e40151c9895c220a110ff79846 (diff) | |
download | pkgsrc-d8ceadb6d679b6b74aedb8eed37d0d3dd2e02166.tar.gz |
chess opening book for EXchess (small)
-rw-r--r-- | games/exchess-book-small/Makefile | 43 | ||||
-rw-r--r-- | games/exchess-book-small/files/md5 | 3 | ||||
-rw-r--r-- | games/exchess-book-small/pkg/COMMENT | 1 | ||||
-rw-r--r-- | games/exchess-book-small/pkg/DESCR | 1 | ||||
-rw-r--r-- | games/exchess-book-small/pkg/PLIST | 2 |
5 files changed, 50 insertions, 0 deletions
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} |