diff options
author | jlam <jlam> | 2000-10-25 08:40:38 +0000 |
---|---|---|
committer | jlam <jlam> | 2000-10-25 08:40:38 +0000 |
commit | cf60d609c6c222617c54743a43e82fb6e3341122 (patch) | |
tree | b04b8f148cc815568a1658e861acee039afaf090 /games | |
parent | eb9fb5680607b7b5b3491d4aab8c8a33f15af278 (diff) | |
download | pkgsrc-cf60d609c6c222617c54743a43e82fb6e3341122.tar.gz |
chess opening book for EXchess (medium)
Diffstat (limited to 'games')
-rw-r--r-- | games/exchess-book-medium/Makefile | 47 | ||||
-rw-r--r-- | games/exchess-book-medium/files/md5 | 3 | ||||
-rw-r--r-- | games/exchess-book-medium/pkg/COMMENT | 1 | ||||
-rw-r--r-- | games/exchess-book-medium/pkg/DESCR | 1 | ||||
-rw-r--r-- | games/exchess-book-medium/pkg/PLIST | 2 |
5 files changed, 54 insertions, 0 deletions
diff --git a/games/exchess-book-medium/Makefile b/games/exchess-book-medium/Makefile new file mode 100644 index 00000000000..4d3df7ac8e7 --- /dev/null +++ b/games/exchess-book-medium/Makefile @@ -0,0 +1,47 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/10/25 08:40:38 jlam Exp $ + +DISTNAME= medium +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= book.txt +BOOK_FILE= open_bk.dat + +CMDFILE= ${WRKSRC}/exchess.input + +do-build: + @${ECHO} "" + @${ECHO} " ** Get yourself a shower and a big mug of coffee," + @${ECHO} " ** this will take _very_ long!" + @${ECHO} "" + ${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-medium/files/md5 b/games/exchess-book-medium/files/md5 new file mode 100644 index 00000000000..9d557382956 --- /dev/null +++ b/games/exchess-book-medium/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2000/10/25 08:40:38 jlam Exp $ + +MD5 (chessbooks/medium.zip) = 6b4a61d15029811d7cdc34d6adae7a17 diff --git a/games/exchess-book-medium/pkg/COMMENT b/games/exchess-book-medium/pkg/COMMENT new file mode 100644 index 00000000000..163a8ca74da --- /dev/null +++ b/games/exchess-book-medium/pkg/COMMENT @@ -0,0 +1 @@ +chess opening book for EXchess (medium) diff --git a/games/exchess-book-medium/pkg/DESCR b/games/exchess-book-medium/pkg/DESCR new file mode 100644 index 00000000000..036c948b13e --- /dev/null +++ b/games/exchess-book-medium/pkg/DESCR @@ -0,0 +1 @@ +Medium book of chess openings for EXchess. diff --git a/games/exchess-book-medium/pkg/PLIST b/games/exchess-book-medium/pkg/PLIST new file mode 100644 index 00000000000..d9948f90cdd --- /dev/null +++ b/games/exchess-book-medium/pkg/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2000/10/25 08:40:38 jlam Exp $ +lib/${CHESS_ENGINE}/${BOOK_FILE} |