summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorabs <abs>2001-01-26 18:24:53 +0000
committerabs <abs>2001-01-26 18:24:53 +0000
commit345d37618ce76f9a840b20ba0655cadf5b90e4c3 (patch)
treef1554129a3f6b79b1e0eeaea23b0b71100f027be
parent0b17437f7a2d8174d86f30ffe27b485bb33a1019 (diff)
downloadpkgsrc-345d37618ce76f9a840b20ba0655cadf5b90e4c3.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/
-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