aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2007-09-10 12:40:53 +0800
committeredwin <edwin@FreeBSD.org>2007-09-10 12:40:53 +0800
commitbae32ddb90ad4d5ba63c063e8f5d67a1f8e7c054 (patch)
tree8a18f11025cf036d82562f63985f5623ef45368d /games
parent9d9b25c1866a8dd085b1db09dc0eb41461afcfb7 (diff)
downloadfreebsd-ports-gnome-bae32ddb90ad4d5ba63c063e8f5d67a1f8e7c054.tar.gz
freebsd-ports-gnome-bae32ddb90ad4d5ba63c063e8f5d67a1f8e7c054.tar.zst
freebsd-ports-gnome-bae32ddb90ad4d5ba63c063e8f5d67a1f8e7c054.zip
[UPDATE] games/crafty-open-large
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/116247 Submitted by: shoemaker@bluebottle.com (Jonathan Shoemaker)
Diffstat (limited to 'games')
-rw-r--r--games/crafty-open-large/Makefile17
-rw-r--r--games/crafty-open-large/files/book-building2
-rw-r--r--games/crafty-open-large/pkg-descr8
-rw-r--r--games/crafty-open-large/pkg-plist3
4 files changed, 14 insertions, 16 deletions
diff --git a/games/crafty-open-large/Makefile b/games/crafty-open-large/Makefile
index 02dd645b5f3c..5fce59ea8df4 100644
--- a/games/crafty-open-large/Makefile
+++ b/games/crafty-open-large/Makefile
@@ -6,21 +6,22 @@
#
PORTNAME= crafty-open-large
-PORTVERSION= 19960910
+PORTVERSION= 20070909
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= dd/crafty
DISTFILES= large1.zip large2.zip large3.zip large4.zip
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= shoemaker@bluebottle.com
COMMENT= The large opening book 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-medium-*
post-extract:
@${ECHO_MSG} '================================================================'
@@ -30,10 +31,12 @@ post-extract:
${RM} ${WRKDIR}/Book1.pgn ${WRKDIR}/Book2.pgn ${WRKDIR}/Book3.pgn ${WRKDIR}/Book4.pgn
do-build:
- (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/large-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.mk>
diff --git a/games/crafty-open-large/files/book-building b/games/crafty-open-large/files/book-building
index 3377c3203fa4..ef6d879b7537 100644
--- a/games/crafty-open-large/files/book-building
+++ b/games/crafty-open-large/files/book-building
@@ -1,2 +1,2 @@
-book create Book.pgn 60 3
+book create Book.pgn 60 2 50
quit
diff --git a/games/crafty-open-large/pkg-descr b/games/crafty-open-large/pkg-descr
index 7cfe5d539b1e..23281eb0bcda 100644
--- a/games/crafty-open-large/pkg-descr
+++ b/games/crafty-open-large/pkg-descr
@@ -1,9 +1,5 @@
This is the port of the large opening book for crafty.
-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-large/pkg-plist b/games/crafty-open-large/pkg-plist
index 19ff5a8de2e0..2e625dd0e594 100644
--- a/games/crafty-open-large/pkg-plist
+++ b/games/crafty-open-large/pkg-plist
@@ -1,2 +1 @@
-lib/crafty/large-book.bin
-@dirrm lib/crafty
+lib/crafty/book.bin