mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
- Update to version 23.b
PR: 160106 Submitted by: Ports Fury
This commit is contained in:
parent
c2f625b8f3
commit
a77af72072
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=280455
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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 ... ");
|
@ -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);
|
||||
}
|
||||
|
@ -10,3 +10,5 @@ another program on a machine with one CPU.
|
||||
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/
|
||||
|
Loading…
Reference in New Issue
Block a user