a978abd86b
Changes since 1.73: Version 1.81, 2/5/03 * fflush() wasn't being called after print_results() in xboard(). * hply was being set to 0 when xboard() received "black." This broke the opening book code when playing black with WinBoard. * set_hash() wasn't being called in bench(). Version 1.8, 1/30/03 * Added opening book code (book.c) and a small opening book (book.txt). * Added hash keys; replaced the old repetition detection code with code that compares hash keys. * Changed bench to report a "Score" to avoid confusion/comparisons with the previous version's "MIPS" (with score, 1.000 = my Athlon XP 2000+). * Moved move parsing into its own function (parse_move in main.c).
28 lines
745 B
Makefile
28 lines
745 B
Makefile
# $NetBSD: Makefile,v 1.9 2004/04/01 14:38:32 abs Exp $
|
|
#
|
|
|
|
DISTNAME= tscp181
|
|
PKGNAME= tscp-1.81
|
|
CATEGORIES= games benchmarks
|
|
MASTER_SITES= http://home.comcast.net/~tckerrigan/
|
|
EXTRACT_SUFX= .zip
|
|
|
|
MAINTAINER= abs@NetBSD.org
|
|
HOMEPAGE= http://home.comcast.net/~tckerrigan/
|
|
COMMENT= Tom Kerrigan's Simple Chess Program
|
|
|
|
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"
|