summaryrefslogtreecommitdiff
path: root/games/chest
diff options
context:
space:
mode:
authorwiz <wiz>2008-11-14 17:36:57 +0000
committerwiz <wiz>2008-11-14 17:36:57 +0000
commitd7750b455891d35ea467f9b43600ed7b837fb914 (patch)
tree6a80167120db59c4e8cc3944548a2e3c0fea170b /games/chest
parentdea4bcbd6eee781f027820023d7a7677f192fc0b (diff)
downloadpkgsrc-d7750b455891d35ea467f9b43600ed7b837fb914.tar.gz
Initial import of chest-3.19.20080412:
CHEST is an experimental program solving orthodox chess problems (like "white to move and mate in 5 moves"). It is written in ANSI C, and developed under UNIX. There is no user interface: CHEST just reads an input file and produces plain text on standard output. It is not hard to come up with a program that does the same job as CHEST, but it will be rather slow for non-trivial jobs. CHEST tries hard to be fast but still 100% correct.
Diffstat (limited to 'games/chest')
-rw-r--r--games/chest/DESCR8
-rw-r--r--games/chest/Makefile31
-rw-r--r--games/chest/PLIST10
-rw-r--r--games/chest/distinfo20
4 files changed, 69 insertions, 0 deletions
diff --git a/games/chest/DESCR b/games/chest/DESCR
new file mode 100644
index 00000000000..ab38c72aa89
--- /dev/null
+++ b/games/chest/DESCR
@@ -0,0 +1,8 @@
+CHEST is an experimental program solving orthodox chess problems
+(like "white to move and mate in 5 moves"). It is written in ANSI
+C, and developed under UNIX. There is no user interface: CHEST
+just reads an input file and produces plain text on standard output.
+
+It is not hard to come up with a program that does the same job as
+CHEST, but it will be rather slow for non-trivial jobs. CHEST
+tries hard to be fast but still 100% correct.
diff --git a/games/chest/Makefile b/games/chest/Makefile
new file mode 100644
index 00000000000..2377b8f5070
--- /dev/null
+++ b/games/chest/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/11/14 17:36:57 wiz Exp $
+#
+
+DISTNAME= chest-3.19
+PKGNAME= ${DISTNAME}.20080412
+CATEGORIES= games
+MASTER_SITES= http://www.drb.insel.de/~heiner/Chess/
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} answer.c analyse.c fac.c \
+ mate2.c input.c
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.drb.insel.de/~heiner/Chess/chest.html
+COMMENT= Chess problem solver
+
+MAKE_FILE= Templates/Makefile.simple
+
+DIST_SUBDIR= ${PKGNAME_NOREV}
+
+INSTALLATION_DIRS= bin share/doc/chest share/examples/chest
+
+post-extract:
+ ${MV} -f ${WRKDIR}/*.c ${WRKSRC}
+
+do-install:
+ cd ${WRKSRC} && \
+ ${INSTALL_PROGRAM} dchest ${DESTDIR}${PREFIX}/bin && \
+ ${INSTALL_DATA} COPYRIGHT Doc/PGN_Standard.txt README_LONG \
+ ${DESTDIR}${PREFIX}/share/doc/chest && \
+ ${INSTALL_DATA} EPD/*epd ${DESTDIR}${PREFIX}/share/examples/chest
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/chest/PLIST b/games/chest/PLIST
new file mode 100644
index 00000000000..640da1e1384
--- /dev/null
+++ b/games/chest/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/11/14 17:36:57 wiz Exp $
+bin/dchest
+share/doc/chest/COPYRIGHT
+share/doc/chest/PGN_Standard.txt
+share/doc/chest/README_LONG
+share/examples/chest/HMm2.epd
+share/examples/chest/HMm3.epd
+share/examples/chest/HMm4.epd
+@dirrm share/examples/chest
+@dirrm share/doc/chest
diff --git a/games/chest/distinfo b/games/chest/distinfo
new file mode 100644
index 00000000000..fd067eec5df
--- /dev/null
+++ b/games/chest/distinfo
@@ -0,0 +1,20 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/11/14 17:36:57 wiz Exp $
+
+SHA1 (chest-3.19.20080412/analyse.c) = 1b9637204dfc702695bd60f41d49268efa2c24ad
+RMD160 (chest-3.19.20080412/analyse.c) = 5e9f556c9e317c8d3c3534776f6f909fcb16c904
+Size (chest-3.19.20080412/analyse.c) = 73803 bytes
+SHA1 (chest-3.19.20080412/answer.c) = 3634298294ec34f4c71d0ab3a93256ca897f2181
+RMD160 (chest-3.19.20080412/answer.c) = e67d18d6c1dc254ba09af3e4923ef606eddd0839
+Size (chest-3.19.20080412/answer.c) = 40219 bytes
+SHA1 (chest-3.19.20080412/chest-3.19.tar.gz) = 3813326d5694218e76f26fc99cc86d0b88a99e4a
+RMD160 (chest-3.19.20080412/chest-3.19.tar.gz) = 54a31212371ecae404aa3f20e7886ef34ae4df76
+Size (chest-3.19.20080412/chest-3.19.tar.gz) = 340706 bytes
+SHA1 (chest-3.19.20080412/fac.c) = 964673ad5d826ea51e43269c7471113d6ba8b8c4
+RMD160 (chest-3.19.20080412/fac.c) = 4beed24a18a45c894199bb64affb80d090e4f475
+Size (chest-3.19.20080412/fac.c) = 46431 bytes
+SHA1 (chest-3.19.20080412/input.c) = f1c4ca4ed7eb4abed1edca05bcdf131fe2acec5c
+RMD160 (chest-3.19.20080412/input.c) = 6a79dc6caf9142c96f097da1c44fe0a7425118c5
+Size (chest-3.19.20080412/input.c) = 21440 bytes
+SHA1 (chest-3.19.20080412/mate2.c) = 25cbb37245bf284b6263012056ce417e09feb5fe
+RMD160 (chest-3.19.20080412/mate2.c) = ed0e4d3357df3e72f02c789d21c91d28e9f92bfa
+Size (chest-3.19.20080412/mate2.c) = 69009 bytes