diff options
author | mph <mph@FreeBSD.org> | 1998-12-30 02:49:29 +0800 |
---|---|---|
committer | mph <mph@FreeBSD.org> | 1998-12-30 02:49:29 +0800 |
commit | 01d6742a7a1fb80dc8cfe97e4648b61743b0dabb (patch) | |
tree | 607c56432586f8773427892a3d1f18787b3fd6ff /games/crafty-open-rock | |
parent | 9416b66b1e473084a35ae06617a96df44e2891cb (diff) | |
download | freebsd-ports-graphics-01d6742a7a1fb80dc8cfe97e4648b61743b0dabb.tar.gz freebsd-ports-graphics-01d6742a7a1fb80dc8cfe97e4648b61743b0dabb.tar.zst freebsd-ports-graphics-01d6742a7a1fb80dc8cfe97e4648b61743b0dabb.zip |
Import of the "rock" opening book for the Crafty chess program.
This book is huge; it is considerably larger than crafty-open-large.
Diffstat (limited to 'games/crafty-open-rock')
-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 00000000000..10d37b0d169 --- /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 00000000000..34a9de2045f --- /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 00000000000..95b8a95c839 --- /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 00000000000..7e18c379391 --- /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 00000000000..c045463b549 --- /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 00000000000..f6c51544935 --- /dev/null +++ b/games/crafty-open-rock/pkg-plist @@ -0,0 +1,2 @@ +lib/crafty/rock-book.bin +@dirrm lib/crafty |