aboutsummaryrefslogtreecommitdiff
path: root/games/crafty-open-large
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-09-10 04:40:53 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-09-10 04:40:53 +0000
commit5a99d76a992199c5d89501fa5c2ad3f1d3533517 (patch)
treee3d6e88e706f70950d29f63d8fe3af1c49361a4d /games/crafty-open-large
parent99edbba71b99cc8e3fc14f62a9385434f7310a87 (diff)
Notes
Diffstat (limited to 'games/crafty-open-large')
-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