diff options
author | mph <mph@FreeBSD.org> | 1998-06-04 10:32:01 +0800 |
---|---|---|
committer | mph <mph@FreeBSD.org> | 1998-06-04 10:32:01 +0800 |
commit | 7c61dcb8c1dc1f3dabbda55b87b26bde6207c0b2 (patch) | |
tree | f3d4ff589b1441bde5f7356bd0a75dee3fbe8118 /games/crafty-open-small | |
parent | 00158ddf6daf297337483cccec5298c143089912 (diff) | |
download | freebsd-ports-gnome-7c61dcb8c1dc1f3dabbda55b87b26bde6207c0b2.tar.gz freebsd-ports-gnome-7c61dcb8c1dc1f3dabbda55b87b26bde6207c0b2.tar.zst freebsd-ports-gnome-7c61dcb8c1dc1f3dabbda55b87b26bde6207c0b2.zip |
Import of crafty-open-small, the small opening book for the Crafty
chess program.
PR: 6817
Submitted by: Stefan Eggers <seggers@semyam.dinoco.de>
Diffstat (limited to 'games/crafty-open-small')
-rw-r--r-- | games/crafty-open-small/Makefile | 37 | ||||
-rw-r--r-- | games/crafty-open-small/distinfo | 1 | ||||
-rw-r--r-- | games/crafty-open-small/files/book-building | 2 | ||||
-rw-r--r-- | games/crafty-open-small/pkg-comment | 1 | ||||
-rw-r--r-- | games/crafty-open-small/pkg-descr | 10 | ||||
-rw-r--r-- | games/crafty-open-small/pkg-plist | 2 |
6 files changed, 53 insertions, 0 deletions
diff --git a/games/crafty-open-small/Makefile b/games/crafty-open-small/Makefile new file mode 100644 index 000000000000..8fa24333670d --- /dev/null +++ b/games/crafty-open-small/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: crafty-open-small +# Version required: 1 March 1997 +# Date created: 1 June 1998 +# Whom: Stefan Eggers <seggers@semyam.dinoco.de> +# +# $Id$ +# + +DISTNAME= small +PKGNAME= crafty-open-small-19970301 +CATEGORIES= games +MASTER_SITES= ftp://ftp.cis.uab.edu/pub/hyatt/common/ +EXTRACT_SUFX= .zip + +MAINTAINER= seggers@semyam.dinoco.de + +BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip \ + crafty:${PORTSDIR}/games/crafty +RUN_DEPENDS= crafty:${PORTSDIR}/games/crafty + +DIST_SUBDIR= crafty +EXTRACT_AFTER_ARGS= +EXTRACT_BEFORE_ARGS= +EXTRACT_CMD= unzip +NO_WRKSUBDIR= yes + +do-build: + @${ECHO_MSG} '================================================================' + @${ECHO_MSG} 'Ignore warnings about illegal moves. These warnings are normal.' + @${ECHO_MSG} '================================================================' + (cd ${WRKDIR}; crafty <${FILESDIR}/book-building) + +do-install: + ${MKDIR} ${PREFIX}/lib/crafty + ${INSTALL_DATA} ${WRKDIR}/book.bin ${PREFIX}/lib/crafty/small-book.bin + +.include <bsd.port.mk> diff --git a/games/crafty-open-small/distinfo b/games/crafty-open-small/distinfo new file mode 100644 index 000000000000..73a088ae3d21 --- /dev/null +++ b/games/crafty-open-small/distinfo @@ -0,0 +1 @@ +MD5 (crafty/small.zip) = 4faca1c02593e142ab9d901935c41dea diff --git a/games/crafty-open-small/files/book-building b/games/crafty-open-small/files/book-building new file mode 100644 index 000000000000..946b060104c7 --- /dev/null +++ b/games/crafty-open-small/files/book-building @@ -0,0 +1,2 @@ +book create small.txt 60 3 +quit diff --git a/games/crafty-open-small/pkg-comment b/games/crafty-open-small/pkg-comment new file mode 100644 index 000000000000..56355cd18b58 --- /dev/null +++ b/games/crafty-open-small/pkg-comment @@ -0,0 +1 @@ +The small opening book (about 600 KByte) for crafty. diff --git a/games/crafty-open-small/pkg-descr b/games/crafty-open-small/pkg-descr new file mode 100644 index 000000000000..5f3d3f796376 --- /dev/null +++ b/games/crafty-open-small/pkg-descr @@ -0,0 +1,10 @@ +This is the port of the small opening book for crafty. It consumes +about 600 KByte. + +It was created with "book create small.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. + +- Stefan Eggers <seggers@semyam.dinoco.de> diff --git a/games/crafty-open-small/pkg-plist b/games/crafty-open-small/pkg-plist new file mode 100644 index 000000000000..d0a4339589f6 --- /dev/null +++ b/games/crafty-open-small/pkg-plist @@ -0,0 +1,2 @@ +lib/crafty/small-book.bin +@dirrm lib/crafty |