diff options
-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 00000000000..d9d6de7d2e1 --- /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 00000000000..c6ac2942bec --- /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 00000000000..746ea0c3b88 --- /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 00000000000..d665b1195c1 --- /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 00000000000..a3db5df7ab8 --- /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 00000000000..580249025b9 --- /dev/null +++ b/games/crafty-open-medium/pkg-plist @@ -0,0 +1,2 @@ +lib/crafty/medium-book.bin +@dirrm lib/crafty |