From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Aug 24 18:50:23 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BCED1065672 for ; Wed, 24 Aug 2011 18:50:23 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6B0018FC12 for ; Wed, 24 Aug 2011 18:50:23 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p7OIoNs4012342 for ; Wed, 24 Aug 2011 18:50:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p7OIoNJa012337; Wed, 24 Aug 2011 18:50:23 GMT (envelope-from gnats) Resent-Date: Wed, 24 Aug 2011 18:50:23 GMT Resent-Message-Id: <201108241850.p7OIoNJa012337@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, KATO Tsuguru Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AAA4A1065670 for ; Wed, 24 Aug 2011 18:43:38 +0000 (UTC) (envelope-from tkato432@yahoo.com) Received: from msa106lp.auone-net.jp (msa106lp.auone-net.jp [222.3.140.169]) by mx1.freebsd.org (Postfix) with ESMTP id 59DCE8FC14 for ; Wed, 24 Aug 2011 18:43:38 +0000 (UTC) Received: from localhost.localdomain (ZT038043.ppp.dion.ne.jp [59.128.38.43]) by msa106lp.auone-net.jp (au one net msa) with ESMTP id 1429023C031 for ; Thu, 25 Aug 2011 03:43:34 +0900 (JST) Message-Id: <20110825033638.80841aea.tkato432@yahoo.com> Date: Thu, 25 Aug 2011 03:36:38 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/160106: Update port: games/phalanx to 23.b X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Aug 2011 18:50:23 -0000 >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 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] [ []] -- phalanx [options] [] -- phalanx bench -- phalanx bcreate [options] --Options: -t -- -f -- -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 default: 0 (no resigning) -- -e default: 0 (best play) -- -l <+/-> learning on/off default: on -- -v print version and exit -- -P -- -S -- -L -- -g --Examples: phalanx -c+ -s+ -o - -x- -f 60 -t4000 -- xboard -fcp \"phalanx -l+ -r800\" --"); -+printf("\n" -+"Usage: phalanx [options] [ []]\n" -+ "phalanx [options] []\n" -+ "phalanx bench\n" -+ "phalanx bcreate [options]\n" -+"Options: -t \n" -+ "-f \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 default: 0 (no resigning)\n" -+ "-e default: 0 (best play)\n" -+ "-l <+/-> learning on/off default: on\n" -+ "-v print version and exit\n" -+ "-P \n" -+ "-S \n" -+ "-L \n" -+ "-g \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: