diff options
author | mph <mph@FreeBSD.org> | 1998-06-04 10:34:00 +0800 |
---|---|---|
committer | mph <mph@FreeBSD.org> | 1998-06-04 10:34:00 +0800 |
commit | 1747d4d7bda260233bf9fcee1ee4415c7e0f41f3 (patch) | |
tree | cbe05ee3b7352c1847615e17b12385929f55d335 /games | |
parent | 7c61dcb8c1dc1f3dabbda55b87b26bde6207c0b2 (diff) | |
download | freebsd-ports-gnome-1747d4d7bda260233bf9fcee1ee4415c7e0f41f3.tar.gz freebsd-ports-gnome-1747d4d7bda260233bf9fcee1ee4415c7e0f41f3.tar.zst freebsd-ports-gnome-1747d4d7bda260233bf9fcee1ee4415c7e0f41f3.zip |
Import of crafty-open-medium, the medium-sized opening book for the
Crafty chess program.
PR: 6817
Submitted by: Stefan Eggers <seggers@semyam.dinoco.de>
Diffstat (limited to 'games')
-rw-r--r-- | games/crafty-open-medium/Makefile | 37 | ||||
-rw-r--r-- | games/crafty-open-medium/distinfo | 1 | ||||
-rw-r--r-- | games/crafty-open-medium/files/book-building | 2 | ||||
-rw-r--r-- | games/crafty-open-medium/pkg-comment | 1 | ||||
-rw-r--r-- | games/crafty-open-medium/pkg-descr | 10 | ||||
-rw-r--r-- | games/crafty-open-medium/pkg-plist | 2 |
6 files changed, 53 insertions, 0 deletions
diff --git a/games/crafty-open-medium/Makefile b/games/crafty-open-medium/Makefile new file mode 100644 index 000000000000..d9d6de7d2e15 --- /dev/null +++ b/games/crafty-open-medium/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: crafty-open-medium +# Version required: 10 September 1996 +# Date created: 1 June 1998 +# Whom: Stefan Eggers <seggers@semyam.dinoco.de> +# +# $Id$ +# + +DISTNAME= medium +PKGNAME= crafty-open-medium-19960910 +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/medium-book.bin + +.include <bsd.port.mk> diff --git a/games/crafty-open-medium/distinfo b/games/crafty-open-medium/distinfo new file mode 100644 index 000000000000..c6ac2942bec4 --- /dev/null +++ b/games/crafty-open-medium/distinfo @@ -0,0 +1 @@ +MD5 (crafty/medium.zip) = 6b4a61d15029811d7cdc34d6adae7a17 diff --git a/games/crafty-open-medium/files/book-building b/games/crafty-open-medium/files/book-building new file mode 100644 index 000000000000..746ea0c3b88e --- /dev/null +++ b/games/crafty-open-medium/files/book-building @@ -0,0 +1,2 @@ +book create book.txt 60 3 +quit diff --git a/games/crafty-open-medium/pkg-comment b/games/crafty-open-medium/pkg-comment new file mode 100644 index 000000000000..d665b1195c19 --- /dev/null +++ b/games/crafty-open-medium/pkg-comment @@ -0,0 +1 @@ +The medium opening book (about 1.9 MByte) for crafty. diff --git a/games/crafty-open-medium/pkg-descr b/games/crafty-open-medium/pkg-descr new file mode 100644 index 000000000000..a3db5df7ab83 --- /dev/null +++ b/games/crafty-open-medium/pkg-descr @@ -0,0 +1,10 @@ +This is the port of the medium opening book for crafty. It consumes +about 1.9 MByte. + +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. + +- Stefan Eggers <seggers@semyam.dinoco.de> diff --git a/games/crafty-open-medium/pkg-plist b/games/crafty-open-medium/pkg-plist new file mode 100644 index 000000000000..580249025b99 --- /dev/null +++ b/games/crafty-open-medium/pkg-plist @@ -0,0 +1,2 @@ +lib/crafty/medium-book.bin +@dirrm lib/crafty |