summaryrefslogtreecommitdiff
path: root/games/tscp
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2001-01-26 18:24:53 +0000
committerabs <abs@pkgsrc.org>2001-01-26 18:24:53 +0000
commit7c7e8edc70235a971d8261c489c210a7b337d557 (patch)
treef1554129a3f6b79b1e0eeaea23b0b71100f027be /games/tscp
parent77e2d45720425bb1b62ecb82af36c4bda1f734d4 (diff)
downloadpkgsrc-7c7e8edc70235a971d8261c489c210a7b337d557.tar.gz
Import Tom Kerrigan's Simple Chess Program 1.71
TSCP is intended for people who want to learn about chess programming. Its source code is designed to be very easy to understand. The TSCP "package" includes this README file, the TSCP source code, and a copy of TSCP for Windows 95/98/NT. The executable was made with Visual C++ 6.0 (optimizations set to Maximize Speed). To use TSCP, run the executable and type "help" at the prompt. It's very straightforward. There is a page for TSCP benchmarks: http://ucsu.colorado.edu/~kerrigat/bench/
Diffstat (limited to 'games/tscp')
-rw-r--r--games/tscp/Makefile27
-rw-r--r--games/tscp/files/md53
-rw-r--r--games/tscp/pkg/COMMENT1
-rw-r--r--games/tscp/pkg/DESCR11
-rw-r--r--games/tscp/pkg/PLIST3
5 files changed, 45 insertions, 0 deletions
diff --git a/games/tscp/Makefile b/games/tscp/Makefile
new file mode 100644
index 00000000000..ed02abf0d81
--- /dev/null
+++ b/games/tscp/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/01/26 18:24:53 abs Exp $
+#
+
+DISTNAME= tscp171
+PKGNAME= tscp-1.71
+CATEGORIES= games benchmarks
+MASTER_SITES= http://ucsu.colorado.edu/~kerrigat/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= abs@netbsd.org
+HOMEPAGE= http://ucsu.colorado.edu/~kerrigat/
+
+RESTRICTED= No distribtion without authorisation from Tom Kerrigan
+
+NO_BIN_ON_CDROM= ${RESTRICTED}
+NO_SRC_ON_CDROM= ${RESTRICTED}
+NO_BIN_ON_FTP= ${RESTRICTED}
+NO_SRC_ON_FTP= ${RESTRICTED}
+
+do-build:
+ cd ${WRKSRC} ; ${CC} ${CFLAGS} ${LDFLAGS} -o tscp *.c -lcompat
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/tscp ${PREFIX}/bin/tscp
+ ${INSTALL_DATA} ${WRKSRC}/readme.txt ${PREFIX}/share/doc/tscp.txt
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/tscp/files/md5 b/games/tscp/files/md5
new file mode 100644
index 00000000000..d9100f34ee1
--- /dev/null
+++ b/games/tscp/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2001/01/26 18:24:53 abs Exp $
+
+MD5 (tscp171.zip) = 44dc1b4fbf697643ff67bfb5fd1f9fa4
diff --git a/games/tscp/pkg/COMMENT b/games/tscp/pkg/COMMENT
new file mode 100644
index 00000000000..19dd0873fe7
--- /dev/null
+++ b/games/tscp/pkg/COMMENT
@@ -0,0 +1 @@
+Tom Kerrigan's Simple Chess Program
diff --git a/games/tscp/pkg/DESCR b/games/tscp/pkg/DESCR
new file mode 100644
index 00000000000..9cf1ccc3587
--- /dev/null
+++ b/games/tscp/pkg/DESCR
@@ -0,0 +1,11 @@
+TSCP is intended for people who want to learn about chess programming. Its
+source code is designed to be very easy to understand.
+
+The TSCP "package" includes this README file, the TSCP source code, and a copy
+of TSCP for Windows 95/98/NT. The executable was made with Visual C++ 6.0
+(optimizations set to Maximize Speed).
+
+To use TSCP, run the executable and type "help" at the prompt. It's very
+straightforward.
+
+There is a page for TSCP benchmarks: http://ucsu.colorado.edu/~kerrigat/bench/
diff --git a/games/tscp/pkg/PLIST b/games/tscp/pkg/PLIST
new file mode 100644
index 00000000000..ad5cf35c2d7
--- /dev/null
+++ b/games/tscp/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/01/26 18:24:53 abs Exp $
+bin/tscp
+share/doc/tscp.txt