summaryrefslogtreecommitdiff
path: root/games/tscp/Makefile
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 /games/tscp/Makefile
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/
Diffstat (limited to 'games/tscp/Makefile')
-rw-r--r--games/tscp/Makefile27
1 files changed, 27 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"