Date: Thu, 25 Aug 2011 03:36:38 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/160106: Update port: games/phalanx to 23.b Message-ID: <20110825033638.80841aea.tkato432@yahoo.com> Resent-Message-ID: <201108241850.p7OIoNJa012337@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 160106 >Category: ports >Synopsis: Update port: games/phalanx to 23.b >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Aug 24 18:50:23 UTC 2011 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.4-RELEASE-p2 i386 >Organization: >Environment: >Description: - Update to version 23.b Remove file: files/patch-io.c files/patch-phalanx.c >How-To-Repeat: >Fix: diff -urN /usr/ports/games/phalanx/Makefile games/phalanx/Makefile --- /usr/ports/games/phalanx/Makefile 2011-08-03 15:32:22.000000000 +0900 +++ games/phalanx/Makefile 2011-08-25 00:27:57.000000000 +0900 @@ -6,37 +6,47 @@ # PORTNAME= phalanx -PORTVERSION= 22 -PORTREVISION= 1 +PORTVERSION= 23.b CATEGORIES= games -MASTER_SITES= ftp://ftp.math.muni.cz/pub/math/people/Dobes/ \ - http://dusan.freeshell.org/phalanx/ +MASTER_SITES= SF/${PORTNAME}/Version%20XXIII%20Beta +DISTNAME= ${PORTNAME}-XXIII-beta +EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= Xboard-compatible chess playing program -DEPRECATED= No more public distfiles -EXPIRATION_DATE= 2011-09-01 +LICENSE= GPLv2 # (or later) +LICENSE_FILE= ${WRKSRC}/COPYING -WRKSRC= ${WRKDIR}/Phalanx-XXII +WRKSRC= ${WRKDIR}/${DISTNAME:S/-beta//} USE_GMAKE= yes -MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} ${CPPFLAGS}" LDFLAGS="${LDFLAGS}" -ALL_TARGET= # empty MAKEFILE= makefile +MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" +ALL_TARGET= # empty +MAKE_JOBS_SAFE= yes -PORTDOCS= README -PLIST_FILES= bin/phalanx %%DATADIR%%/pbook.phalanx %%DATADIR%%/sbook.phalanx +CFLAGS+= -DECO_DIR=\\\"${DATADIR}\\\" \ + -DLEARN_DIR=\\\"${DATADIR}\\\" \ + -DPBOOK_DIR=\\\"${DATADIR}\\\" \ + -DSBOOK_DIR=\\\"${DATADIR}\\\" + +PORTDOCS= HISTORY README README.old +PLIST_FILES= bin/phalanx \ + %%DATADIR%%/eco.phalanx \ + %%DATADIR%%/pbook.phalanx \ + %%DATADIR%%/sbook.phalanx PLIST_DIRS= %%DATADIR%% do-install: ${INSTALL_PROGRAM} ${WRKSRC}/phalanx ${PREFIX}/bin @${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/pbook.phalanx ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/sbook.phalanx ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/*.phalanx ${DATADIR} .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} +.for file in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.endfor .endif .include <bsd.port.mk> diff -urN /usr/ports/games/phalanx/distinfo games/phalanx/distinfo --- /usr/ports/games/phalanx/distinfo 2011-07-04 02:03:52.000000000 +0900 +++ games/phalanx/distinfo 2011-08-23 22:58:02.000000000 +0900 @@ -1,2 +1,2 @@ -SHA256 (phalanx-22.tar.gz) = 6eb45f17b50d864157dac2028ee5d45f4f54548825f5a732e1a430d5aa2dd889 -SIZE (phalanx-22.tar.gz) = 349769 +SHA256 (phalanx-XXIII-beta.tgz) = dc72b8ad16e77c4b9e521ad0cbe8c49360d79840d886f4fba182db69da58a5cc +SIZE (phalanx-XXIII-beta.tgz) = 352877 diff -urN /usr/ports/games/phalanx/files/patch-io.c games/phalanx/files/patch-io.c --- /usr/ports/games/phalanx/files/patch-io.c 2004-08-09 02:08:40.000000000 +0900 +++ games/phalanx/files/patch-io.c 1970-01-01 09:00:00.000000000 +0900 @@ -1,11 +0,0 @@ ---- io.c.orig Sat Jan 8 23:36:29 2000 -+++ io.c Thu Aug 5 20:57:30 2004 -@@ -894,7 +894,7 @@ - { case 0: puts("off"); break; - case 1: puts("on"); break; - case 2: puts("on (pondering)"); break; -- default: -+ default: ; - } - - printf(" Transposition table ... "); diff -urN /usr/ports/games/phalanx/files/patch-phalanx.c games/phalanx/files/patch-phalanx.c --- /usr/ports/games/phalanx/files/patch-phalanx.c 2003-07-18 19:44:35.000000000 +0900 +++ games/phalanx/files/patch-phalanx.c 1970-01-01 09:00:00.000000000 +0900 @@ -1,57 +0,0 @@ ---- phalanx.c.orig Fri Jul 18 13:36:59 2003 -+++ phalanx.c Fri Jul 18 13:38:52 2003 -@@ -11,30 +11,30 @@ - - void badoptions(void) - { --printf("\ --Usage: phalanx [options] [<moves> <minutes> [<increment in seconds>]] -- phalanx [options] [<seconds per move>] -- phalanx bench -- phalanx bcreate [options] --Options: -t <transposition table size in kilobytes> -- -f <fixed search time in seconds> -- -x <+/-> xboard mode on/off default: on -- -p <+/-> permanent brain on/off default: off -- -s <+/-> show thinking on/off default: off -- -c <+/-> cpu time default: off -- -o <+/-> polling input default: on -- -b <+/-> opening book default: on -- -r <resign value in centipawns> default: 0 (no resigning) -- -e <easy level 0...100> default: 0 (best play) -- -l <+/-> learning on/off default: on -- -v print version and exit -- -P <primary book directory> -- -S <secondary book directory> -- -L <learning file directory> -- -g <log file name> --Examples: phalanx -c+ -s+ -o - -x- -f 60 -t4000 -- xboard -fcp \"phalanx -l+ -r800\" --"); -+printf("\n" -+"Usage: phalanx [options] [<moves> <minutes> [<increment in seconds>]]\n" -+ "phalanx [options] [<seconds per move>]\n" -+ "phalanx bench\n" -+ "phalanx bcreate [options]\n" -+"Options: -t <transposition table size in kilobytes>\n" -+ "-f <fixed search time in seconds>\n" -+ "-x <+/-> xboard mode on/off default: on\n" -+ "-p <+/-> permanent brain on/off default: off\n" -+ "-s <+/-> show thinking on/off default: off\n" -+ "-c <+/-> cpu time default: off\n" -+ "-o <+/-> polling input default: on\n" -+ "-b <+/-> opening book default: on\n" -+ "-r <resign value in centipawns> default: 0 (no resigning)\n" -+ "-e <easy level 0...100> default: 0 (best play)\n" -+ "-l <+/-> learning on/off default: on\n" -+ "-v print version and exit\n" -+ "-P <primary book directory>\n" -+ "-S <secondary book directory>\n" -+ "-L <learning file directory>\n" -+ "-g <log file name>\n" -+"Examples: phalanx -c+ -s+ -o - -x- -f 60 -t4000\n" -+ "xboard -fcp \"phalanx -l+ -r800\n" -+); - exit(0); - } - diff -urN /usr/ports/games/phalanx/pkg-descr games/phalanx/pkg-descr --- /usr/ports/games/phalanx/pkg-descr 2011-08-03 15:32:22.000000000 +0900 +++ games/phalanx/pkg-descr 2006-11-09 13:43:53.000000000 +0900 @@ -10,3 +10,5 @@ It's also possible to run phalanx without xboard. Do "phalanx -h" to get a list of command line options. One important command of phalanx's ASCII interface is "help". + +WWW: http://phalanx.sourceforge.net/ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110825033638.80841aea.tkato432>