summaryrefslogtreecommitdiff
path: root/games/tscp/Makefile
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/Makefile
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/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"