summaryrefslogtreecommitdiff
path: root/games/colchess-book-colchess
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2000-10-24 20:12:17 +0000
committerjlam <jlam@pkgsrc.org>2000-10-24 20:12:17 +0000
commited4da727296e716d3be6beb7173e622b11fe2af6 (patch)
tree2662909b51c2ff62fbc3bbdb95e913306aa534ce /games/colchess-book-colchess
parentd339252696bb42f2f4537cf88f48a05392fd2572 (diff)
downloadpkgsrc-ed4da727296e716d3be6beb7173e622b11fe2af6.tar.gz
chess opening book for ColChess (default)
Diffstat (limited to 'games/colchess-book-colchess')
-rw-r--r--games/colchess-book-colchess/Makefile32
-rw-r--r--games/colchess-book-colchess/files/md53
-rw-r--r--games/colchess-book-colchess/pkg/COMMENT1
-rw-r--r--games/colchess-book-colchess/pkg/DESCR1
-rw-r--r--games/colchess-book-colchess/pkg/PLIST2
5 files changed, 39 insertions, 0 deletions
diff --git a/games/colchess-book-colchess/Makefile b/games/colchess-book-colchess/Makefile
new file mode 100644
index 00000000000..ae57c1fbfb4
--- /dev/null
+++ b/games/colchess-book-colchess/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/10/24 20:12:17 jlam Exp $
+
+DISTNAME= colchess
+PKGNAME= ${CHESS_ENGINE}-book-${DISTNAME}
+WRKSRC= ${WRKDIR}/ColChess
+CATEGORIES= games
+MASTER_SITES= http://www.ast.cam.ac.uk/~cmf/chess/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= jlam@netbsd.org
+HOMEPAGE= http://www.ast.cam.ac.uk/~cmf/chess/
+
+DEPENDS+= colchess>=7.0:../../games/colchess
+
+CONFLICTS+= colchess-book-*
+
+CHESS_ENGINE= colchess
+DIST_SUBDIR= colchess-7.0
+NO_CONFIGURE= # defined
+NO_BUILD= # defined
+
+PLIST_SUBST+= CHESS_ENGINE=${CHESS_ENGINE}
+PLIST_SUBST+= BOOK_FILE=${BOOK_FILE}
+
+BOOKDIR= ${PREFIX}/share/${CHESS_ENGINE}
+BOOK_FILE= book.dat
+
+do-install:
+ ${INSTALL_DATA_DIR} ${BOOKDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${BOOK_FILE} ${BOOKDIR}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/colchess-book-colchess/files/md5 b/games/colchess-book-colchess/files/md5
new file mode 100644
index 00000000000..d04cd1e682f
--- /dev/null
+++ b/games/colchess-book-colchess/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/10/24 20:12:17 jlam Exp $
+
+MD5 (colchess-7.0/colchess.tgz) = eed5e9629052c0b70ea70abc9573f3c4
diff --git a/games/colchess-book-colchess/pkg/COMMENT b/games/colchess-book-colchess/pkg/COMMENT
new file mode 100644
index 00000000000..2c64e80f898
--- /dev/null
+++ b/games/colchess-book-colchess/pkg/COMMENT
@@ -0,0 +1 @@
+chess opening book for ColChess (default)
diff --git a/games/colchess-book-colchess/pkg/DESCR b/games/colchess-book-colchess/pkg/DESCR
new file mode 100644
index 00000000000..ec5f69a4590
--- /dev/null
+++ b/games/colchess-book-colchess/pkg/DESCR
@@ -0,0 +1 @@
+Default book of chess openings for ColChess.
diff --git a/games/colchess-book-colchess/pkg/PLIST b/games/colchess-book-colchess/pkg/PLIST
new file mode 100644
index 00000000000..55c6aa3fa73
--- /dev/null
+++ b/games/colchess-book-colchess/pkg/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/10/24 20:12:17 jlam Exp $
+share/${CHESS_ENGINE}/${BOOK_FILE}