diff options
author | Matthew Hunt <mph@FreeBSD.org> | 1998-12-29 18:49:29 +0000 |
---|---|---|
committer | Matthew Hunt <mph@FreeBSD.org> | 1998-12-29 18:49:29 +0000 |
commit | d88e9796228052e2e84be33ec95a6910ca6e592a (patch) | |
tree | e2810ff741f51134a8a28d43cac8e568e8ba4b4b /games | |
parent | Update MAINTAINER to reflect my proper e-mail address. (diff) |
Import of the "rock" opening book for the Crafty chess program.
This book is huge; it is considerably larger than crafty-open-large.
Notes
Notes:
svn path=/head/; revision=15702
Diffstat (limited to 'games')
-rw-r--r-- | games/crafty-open-rock/Makefile | 35 | ||||
-rw-r--r-- | games/crafty-open-rock/distinfo | 10 | ||||
-rw-r--r-- | games/crafty-open-rock/files/book-building | 2 | ||||
-rw-r--r-- | games/crafty-open-rock/pkg-comment | 1 | ||||
-rw-r--r-- | games/crafty-open-rock/pkg-descr | 11 | ||||
-rw-r--r-- | games/crafty-open-rock/pkg-plist | 2 |
6 files changed, 61 insertions, 0 deletions
diff --git a/games/crafty-open-rock/Makefile b/games/crafty-open-rock/Makefile new file mode 100644 index 000000000000..10d37b0d1694 --- /dev/null +++ b/games/crafty-open-rock/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: crafty-open-rock +# Version required: 7 July 1998 +# Date created: 28 December 1998 +# Whom: Matthew Hunt <mph@FreeBSD.org> +# Based on ports by: Stefan Eggers <seggers@semyam.dinoco.de> +# +# $Id: Makefile,v 1.1.1.1 1998/06/04 02:37:37 mph Exp $ +# + +DISTNAME= crafty-open-rock-19980707 +CATEGORIES= games +MASTER_SITES= ftp://ftp.cis.uab.edu/pub/hyatt/common/ +DISTFILES= rock.01 rock.02 rock.03 rock.04 rock.05 rock.06 rock.07 \ + rock.08 rock.09 rock.10 + +MAINTAINER= mph@FreeBSD.org + +BUILD_DEPENDS= crafty:${PORTSDIR}/games/crafty +RUN_DEPENDS= crafty:${PORTSDIR}/games/crafty + +DIST_SUBDIR= crafty +NO_WRKSUBDIR= yes +EXTRACT_ONLY= + +do-build: + @${ECHO_MSG} '================================================================' + @${ECHO_MSG} 'Ignore warnings about illegal moves. These warnings are normal.' + @${ECHO_MSG} '================================================================' + (cd ${DISTDIR}/${DIST_SUBDIR} && ${CAT} ${DISTFILES} | ${GUNZIP_CMD}) | (cd ${WRKDIR}; crafty 3<&0 < ${FILESDIR}/book-building) + +do-install: + ${MKDIR} ${PREFIX}/lib/crafty + ${INSTALL_DATA} ${WRKDIR}/book.bin ${PREFIX}/lib/crafty/rock-book.bin + +.include <bsd.port.mk> diff --git a/games/crafty-open-rock/distinfo b/games/crafty-open-rock/distinfo new file mode 100644 index 000000000000..34a9de2045f3 --- /dev/null +++ b/games/crafty-open-rock/distinfo @@ -0,0 +1,10 @@ +MD5 (crafty/rock.01) = 8d3da7246f0fa6696b837173f0fc5f58 +MD5 (crafty/rock.02) = cb03df6adb32720243e96a24249595b6 +MD5 (crafty/rock.03) = 6aec2cf0fa5c5a9b8b9bb572e2f20169 +MD5 (crafty/rock.04) = b3b825806a3d4eac413e762b5b007016 +MD5 (crafty/rock.05) = 50bf72506d7f978c78b1a48fd55fdbbc +MD5 (crafty/rock.06) = a8ecea61aab57fec5f2f14d1dab2294e +MD5 (crafty/rock.07) = af567cca4e47a00a821dda26a63e49f2 +MD5 (crafty/rock.08) = f5544778a407b8f14779b09e60480cf0 +MD5 (crafty/rock.09) = c5327ffb47b6f5aec2956561766b2cad +MD5 (crafty/rock.10) = 28df028b541c3b94b35ddd0e5bb21b07 diff --git a/games/crafty-open-rock/files/book-building b/games/crafty-open-rock/files/book-building new file mode 100644 index 000000000000..95b8a95c8397 --- /dev/null +++ b/games/crafty-open-rock/files/book-building @@ -0,0 +1,2 @@ +book create /dev/fd/3 60 3 +quit diff --git a/games/crafty-open-rock/pkg-comment b/games/crafty-open-rock/pkg-comment new file mode 100644 index 000000000000..7e18c379391b --- /dev/null +++ b/games/crafty-open-rock/pkg-comment @@ -0,0 +1 @@ +A huge opening book for crafty. diff --git a/games/crafty-open-rock/pkg-descr b/games/crafty-open-rock/pkg-descr new file mode 100644 index 000000000000..c045463b549d --- /dev/null +++ b/games/crafty-open-rock/pkg-descr @@ -0,0 +1,11 @@ +This is the port of the "rock" opening book for crafty. It is very +large. + +It was created with "book create book.txt 60 3" (see the crafty +documentation and online help for a more thorough explanation of what +this does) which discards all openings not played in at least three +games which I expect to be a reasonable constant, but I am open to +suggestions on this. + +- Matthew Hunt <mph@FreeBSD.org> based on work by + Stefan Eggers <seggers@semyam.dinoco.de> diff --git a/games/crafty-open-rock/pkg-plist b/games/crafty-open-rock/pkg-plist new file mode 100644 index 000000000000..f6c515449352 --- /dev/null +++ b/games/crafty-open-rock/pkg-plist @@ -0,0 +1,2 @@ +lib/crafty/rock-book.bin +@dirrm lib/crafty |