diff options
author | edwin <edwin@FreeBSD.org> | 2007-09-10 12:40:38 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2007-09-10 12:40:38 +0800 |
commit | 9d9b25c1866a8dd085b1db09dc0eb41461afcfb7 (patch) | |
tree | 350a7213c57c622a0ae3ec2a5b25482997fcbb6e /games/crafty-open-medium | |
parent | f94b5fb64abeef61e0124869d147751e849c5259 (diff) | |
download | freebsd-ports-gnome-9d9b25c1866a8dd085b1db09dc0eb41461afcfb7.tar.gz freebsd-ports-gnome-9d9b25c1866a8dd085b1db09dc0eb41461afcfb7.tar.zst freebsd-ports-gnome-9d9b25c1866a8dd085b1db09dc0eb41461afcfb7.zip |
[UPDATE] games/crafty-open-medium
Since the crafty port has been updated, there are inconsistencies
in the opening book ports now. Since the maintainer's email
bounces, I'll volunteer to maintain these as well. The port
has been updated so that it'll actually be seen by crafty,
and has been made accessible for the learning function to
work.
PR: ports/116246
Submitted by: shoemaker@bluebottle.com (Jonathan Shoemaker)
Diffstat (limited to 'games/crafty-open-medium')
-rw-r--r-- | games/crafty-open-medium/Makefile | 19 | ||||
-rw-r--r-- | games/crafty-open-medium/files/book-building | 2 | ||||
-rw-r--r-- | games/crafty-open-medium/pkg-descr | 8 | ||||
-rw-r--r-- | games/crafty-open-medium/pkg-plist | 3 |
4 files changed, 15 insertions, 17 deletions
diff --git a/games/crafty-open-medium/Makefile b/games/crafty-open-medium/Makefile index 5a7dab166b7f..bad782fc8c71 100644 --- a/games/crafty-open-medium/Makefile +++ b/games/crafty-open-medium/Makefile @@ -6,36 +6,39 @@ # PORTNAME= crafty-open-medium -PORTVERSION= 19960910 +PORTVERSION= 20070909 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= dd/crafty DISTNAME= medium -MAINTAINER= ports@FreeBSD.org +MAINTAINER= shoemaker@bluebottle.com COMMENT= The medium opening book (about 1.9 MByte) for crafty BUILD_DEPENDS= crafty:${PORTSDIR}/games/crafty RUN_DEPENDS= crafty:${PORTSDIR}/games/crafty -DIST_SUBDIR= crafty -USE_ZIP= yes -NO_WRKSUBDIR= yes +DIST_SUBDIR= crafty +USE_ZIP= yes +NO_WRKSUBDIR= yes +CONFLICTS= games/crafty-open-enormous-* games/crafty-open-large-* .include <bsd.port.pre.mk> .if ${ARCH} == "amd64" -BROKEN= "Coredump during build" +BROKEN= dumps core during builds .endif do-build: @${ECHO_MSG} '================================================================' @${ECHO_MSG} 'Ignore warnings about illegal moves. These warnings are normal.' @${ECHO_MSG} '================================================================' - (cd ${WRKDIR}; crafty <${FILESDIR}/book-building) + (${CHOWN} nobody ${WRKDIR}; cd ${WRKDIR}; crafty <${FILESDIR}/book-building) do-install: ${MKDIR} ${PREFIX}/lib/crafty - ${INSTALL_DATA} ${WRKDIR}/book.bin ${PREFIX}/lib/crafty/medium-book.bin + ${INSTALL_DATA} ${WRKDIR}/book.bin ${PREFIX}/lib/crafty/book.bin + ${CHOWN} nobody:nogroup ${PREFIX}/lib/crafty/book.bin + ${CHMOD} 664 ${PREFIX}/lib/crafty/book.bin .include <bsd.port.post.mk> diff --git a/games/crafty-open-medium/files/book-building b/games/crafty-open-medium/files/book-building index 746ea0c3b88e..4065c81929a5 100644 --- a/games/crafty-open-medium/files/book-building +++ b/games/crafty-open-medium/files/book-building @@ -1,2 +1,2 @@ -book create book.txt 60 3 +book create book.txt 60 2 50 quit diff --git a/games/crafty-open-medium/pkg-descr b/games/crafty-open-medium/pkg-descr index a3db5df7ab83..f1f0b9fb35cd 100644 --- a/games/crafty-open-medium/pkg-descr +++ b/games/crafty-open-medium/pkg-descr @@ -1,10 +1,6 @@ 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 +It was created with "book create book.txt 60 2 50" (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> +this does) diff --git a/games/crafty-open-medium/pkg-plist b/games/crafty-open-medium/pkg-plist index 580249025b99..2e625dd0e594 100644 --- a/games/crafty-open-medium/pkg-plist +++ b/games/crafty-open-medium/pkg-plist @@ -1,2 +1 @@ -lib/crafty/medium-book.bin -@dirrm lib/crafty +lib/crafty/book.bin |