ports/116246: [UPDATE] games/crafty-open-medium
Jonathan Shoemaker
shoemaker at bluebottle.com
Mon Sep 10 04:30:07 UTC 2007
The following reply was made to PR ports/116246; it has been noted by GNATS.
From: shoemaker at bluebottle.com (Jonathan Shoemaker)
To: edwin at FreeBSD.org
Cc: freebsd-ports-bugs at FreeBSD.org
Subject: Re: ports/116246: [UPDATE] games/crafty-open-medium
Date: 09 Sep 2007 22:24:07 -0600
>>>>> "edwin" == edwin <edwin at FreeBSD.org> writes:
edwin> Synopsis: [UPDATE] games/crafty-open-medium
edwin> State-Changed-From-To: open->feedback State-Changed-By:
edwin> edwin State-Changed-When: Mon Sep 10 03:54:33 UTC 2007
edwin> State-Changed-Why: Can you please tell why you have changed
edwin> the PORTVERSION from a date to a sequence number?
edwin> And can you please submit the changes in "diff -u" format
edwin> so we can easier see what has changed?
edwin> http://www.freebsd.org/cgi/query-pr.cgi?pr=116246
I guess I'm just used to sequences; dates are fine though, and
it's been changed for the patch you requested, below.
--- crafty-open-medium/Makefile.orig Sun Sep 9 22:11:48 2007
+++ crafty-open-medium/Makefile Sun Sep 9 22:09:39 2007
@@ -2,17 +2,17 @@
# Date created: 1 June 1998
# Whom: Stefan Eggers <seggers at semyam.dinoco.de>
#
-# $FreeBSD: ports/games/crafty-open-medium/Makefile,v 1.10 2007/09/10 01:40:03 edwin Exp $
+# $FreeBSD: ports/games/crafty-open-medium/Makefile,v 1.9 2004/11/07 10:52:14 dd Exp $
#
PORTNAME= crafty-open-medium
-PORTVERSION= 19960910
+PORTVERSION= 20070909
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= dd/crafty
DISTNAME= medium
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= shoemaker at bluebottle.com
COMMENT= The medium opening book (about 1.9 MByte) for crafty
BUILD_DEPENDS= crafty:${PORTSDIR}/games/crafty
@@ -21,6 +21,7 @@
DIST_SUBDIR= crafty
USE_ZIP= yes
NO_WRKSUBDIR= yes
+CONFLICTS= games/crafty-open-enormous-* games/crafty-open-large-*
.include <bsd.port.pre.mk>
@@ -32,10 +33,12 @@
@${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>
--- crafty-open-medium/pkg-descr.orig Wed Jun 3 20:34:00 1998
+++ crafty-open-medium/pkg-descr Sun Sep 9 20:07:38 2007
@@ -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 at semyam.dinoco.de>
+this does)
--- crafty-open-medium/pkg-plist.orig Wed Jun 3 20:34:00 1998
+++ crafty-open-medium/pkg-plist Sun Sep 9 20:07:51 2007
@@ -1,2 +1 @@
-lib/crafty/medium-book.bin
- at dirrm lib/crafty
+lib/crafty/book.bin
--
If only God would give me some clear sign!
Like making a large deposit in my name at a Swiss bank.
-- Woody Allen, "Without Feathers"
----------------------------------------------------------------------
Get a free email address with REAL anti-spam protection.
http://www.bluebottle.com/tag/1
More information about the freebsd-ports-bugs
mailing list