aboutsummaryrefslogtreecommitdiff
path: root/games/crafty-open-medium
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-09-10 04:40:38 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-09-10 04:40:38 +0000
commit99edbba71b99cc8e3fc14f62a9385434f7310a87 (patch)
tree84c61af684323ca23f8e6b9bf478545f2f037cd9 /games/crafty-open-medium
parent15e52bb6c039289e5f2c08766f9e55ba2e25e3b6 (diff)
downloadports-99edbba71b99cc8e3fc14f62a9385434f7310a87.tar.gz
ports-99edbba71b99cc8e3fc14f62a9385434f7310a87.zip
Notes
Diffstat (limited to 'games/crafty-open-medium')
-rw-r--r--games/crafty-open-medium/Makefile19
-rw-r--r--games/crafty-open-medium/files/book-building2
-rw-r--r--games/crafty-open-medium/pkg-descr8
-rw-r--r--games/crafty-open-medium/pkg-plist3
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