summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorjlam <jlam>2000-10-15 01:57:10 +0000
committerjlam <jlam>2000-10-15 01:57:10 +0000
commitf00a0e046a7aa71c483f9a2922003ff7840553a0 (patch)
tree46cf7f5b1c8b23bfe8e0a92e461b9058d41ef0b2 /games
parent80c8c0e3e942a3e5b0fdbb6d27297aa0b5461987 (diff)
downloadpkgsrc-f00a0e046a7aa71c483f9a2922003ff7840553a0.tar.gz
gnuchess-book-chess: chess opening book for GNU Chess (default)
Diffstat (limited to 'games')
-rw-r--r--games/gnuchess-book-chess/Makefile34
-rw-r--r--games/gnuchess-book-chess/files/md53
-rw-r--r--games/gnuchess-book-chess/pkg/COMMENT1
-rw-r--r--games/gnuchess-book-chess/pkg/DESCR1
-rw-r--r--games/gnuchess-book-chess/pkg/PLIST2
5 files changed, 41 insertions, 0 deletions
diff --git a/games/gnuchess-book-chess/Makefile b/games/gnuchess-book-chess/Makefile
new file mode 100644
index 00000000000..b37dbb89cf6
--- /dev/null
+++ b/games/gnuchess-book-chess/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/10/15 01:57:10 jlam Exp $
+# FreeBSD Id: Makefile,v 1.6 1999/01/27 07:41:12 fenner Exp
+#
+
+DISTNAME= chess-5.00
+PKGNAME= ${CHESS_ENGINE}-book-${DISTNAME}
+WRKSRC= ${WRKDIR}/${DISTNAME}/book
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_GNU:=chess/}
+
+MAINTAINER= jlam@netbsd.org
+
+CONFLICTS+= gnuchess-book-*
+
+DEPENDS+= gnuchess>=5.00nb1:../../games/gnuchess
+
+CHESS_ENGINE= gnuchess
+NO_CONFIGURE= # defined
+
+PLIST_SUBST+= CHESS_ENGINE=${CHESS_ENGINE}
+PLIST_SUBST+= BOOK_FILE=${BOOK_FILE}
+
+BOOKDIR= ${PREFIX}/lib/${CHESS_ENGINE}
+PGN_FILE= book.pgn
+BOOK_FILE= book.dat
+
+do-build:
+ cd ${WRKSRC} && gnuchess compile ${PGN_FILE} ${BOOK_FILE}
+
+do-install:
+ ${INSTALL_DATA_DIR} ${BOOKDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${BOOK_FILE} ${BOOKDIR}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/gnuchess-book-chess/files/md5 b/games/gnuchess-book-chess/files/md5
new file mode 100644
index 00000000000..79dc1a297f2
--- /dev/null
+++ b/games/gnuchess-book-chess/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/10/15 01:57:10 jlam Exp $
+
+MD5 (chess-5.00.tar.gz) = 8bf7cd9250aa96c4e37e9770733d8fe3
diff --git a/games/gnuchess-book-chess/pkg/COMMENT b/games/gnuchess-book-chess/pkg/COMMENT
new file mode 100644
index 00000000000..7d7530c4597
--- /dev/null
+++ b/games/gnuchess-book-chess/pkg/COMMENT
@@ -0,0 +1 @@
+chess opening book for GNU Chess (default)
diff --git a/games/gnuchess-book-chess/pkg/DESCR b/games/gnuchess-book-chess/pkg/DESCR
new file mode 100644
index 00000000000..0eb7d4b2cb3
--- /dev/null
+++ b/games/gnuchess-book-chess/pkg/DESCR
@@ -0,0 +1 @@
+Default book of chess openings for GNU Chess.
diff --git a/games/gnuchess-book-chess/pkg/PLIST b/games/gnuchess-book-chess/pkg/PLIST
new file mode 100644
index 00000000000..f32dcbcd7bc
--- /dev/null
+++ b/games/gnuchess-book-chess/pkg/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/10/15 01:57:10 jlam Exp $
+lib/${CHESS_ENGINE}/${BOOK_FILE}