Update to gnuchess-6.0.1
This commit is contained in:
parent
fe640fa9c8
commit
e044573fe6
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.27 2011/03/02 06:39:47 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.28 2012/04/08 16:32:29 ajacoutot Exp $
|
||||
|
||||
COMMENT= chess program
|
||||
|
||||
DISTNAME= gnuchess-5.08
|
||||
DISTFILES= ${DISTNAME}.tar.gz book_1.01.pgn.gz
|
||||
DISTNAME= gnuchess-6.0.1
|
||||
DISTFILES= ${DISTNAME}.tar.gz book_1.02.pgn.gz
|
||||
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= ${MASTER_SITE_GNU:=chess/}
|
||||
@ -14,19 +14,19 @@ PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
WANTLIB= c ncurses pthread readline
|
||||
WANTLIB += c m ncurses pthread readline stdc++
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
|
||||
MAKE_FLAGS+= CFLAGS="${CFLAGS} -DBOOK_PREFIX=\\\"${TRUEPREFIX}\\\""
|
||||
#MAKE_FLAGS+= CFLAGS="${CFLAGS} -DBOOK_PREFIX=\\\"${TRUEPREFIX}\\\""
|
||||
|
||||
README= ${WRKSRC}/doc/README
|
||||
BOOK_FILE= ${WRKSRC}/src/book.dat
|
||||
README= ${WRKSRC}/README
|
||||
BOOK_FILE= ${WRKSRC}/src/book.bin
|
||||
|
||||
post-build:
|
||||
cd ${WRKSRC}/src && ln -sf ../../book_1.01.pgn
|
||||
cd ${WRKSRC}/src && ln -sf ../../book_1.02.pgn
|
||||
cd ${WRKSRC}/src && \
|
||||
printf "book add book_1.01.pgn\nquit\n" | ./gnuchess ; echo
|
||||
printf "book add book_1.02.pgn\nquit\n" | ./gnuchess ; echo
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/gnuchess
|
||||
|
@ -1,10 +1,10 @@
|
||||
MD5 (book_1.01.pgn.gz) = G+UI16OKjJp9WZ0M2Sskpg==
|
||||
MD5 (gnuchess-5.08.tar.gz) = nbkdusa1uG3gxXpCCp/qVw==
|
||||
RMD160 (book_1.01.pgn.gz) = KbYsXBR3dGsloJkS0vno5OPxiY8=
|
||||
RMD160 (gnuchess-5.08.tar.gz) = OdUfSRI61v1jZZRnHfHpFZMQWoA=
|
||||
SHA1 (book_1.01.pgn.gz) = PvPx4sUpQdNWEPNyOkwgBXX6ry4=
|
||||
SHA1 (gnuchess-5.08.tar.gz) = T2GuPJZxXSi/ci1AdcaW4rqUyWg=
|
||||
SHA256 (book_1.01.pgn.gz) = Nd9Do0LHPmYk6Nv+141YjCCFIIFow80zAClePFeYG+A=
|
||||
SHA256 (gnuchess-5.08.tar.gz) = xOSeDewhD10TGgL/iViLSCeHzXAqCEVnkbqRALTG/8A=
|
||||
SIZE (book_1.01.pgn.gz) = 26070544
|
||||
SIZE (gnuchess-5.08.tar.gz) = 279309
|
||||
MD5 (book_1.02.pgn.gz) = 44L1d08FDvx5oIuqCD66eQ==
|
||||
MD5 (gnuchess-6.0.1.tar.gz) = BBiIIY9ziG8Ub6f7+SGQ3g==
|
||||
RMD160 (book_1.02.pgn.gz) = qeVbKTeUTeDFxXoUCtbr6fySw2Y=
|
||||
RMD160 (gnuchess-6.0.1.tar.gz) = 4lXaXuaeoE7EKYp+B3X7Q6rW5Bo=
|
||||
SHA1 (book_1.02.pgn.gz) = m1T2mbkZ9/k7l6gpdkVU+it9o6E=
|
||||
SHA1 (gnuchess-6.0.1.tar.gz) = QSfIQ6jHjDKeGUdzSiVp0w37DrI=
|
||||
SHA256 (book_1.02.pgn.gz) = 3qx37bBhpZJJoZ3rA9o0nK4FHlJSemy1r4CNk5jTLUQ=
|
||||
SHA256 (gnuchess-6.0.1.tar.gz) = ZxqOTpubqzbL0nRItJP2xPAsoK/a9Xgov2CcIil+q+s=
|
||||
SIZE (book_1.02.pgn.gz) = 26265281
|
||||
SIZE (gnuchess-6.0.1.tar.gz) = 546034
|
||||
|
@ -1,13 +0,0 @@
|
||||
$OpenBSD: patch-src_book_h,v 1.1 2004/07/06 04:00:11 mjc Exp $
|
||||
--- src/book.h.orig Thu Jun 24 15:25:55 2004
|
||||
+++ src/book.h Thu Jun 24 15:26:53 2004
|
||||
@@ -31,8 +31,7 @@
|
||||
*/
|
||||
static char const * bookbin[] = {
|
||||
"book.dat",
|
||||
- "/usr/share/games/gnuchess/book.dat",
|
||||
- "/usr/lib/games/gnuchess/book.dat",
|
||||
+ BOOK_PREFIX"/share/gnuchess/book.dat",
|
||||
NULL
|
||||
};
|
||||
|
@ -1,11 +0,0 @@
|
||||
$OpenBSD: patch-src_common_h,v 1.2 2011/03/02 06:39:47 ajacoutot Exp $
|
||||
--- src/common.h.orig Wed Mar 3 01:57:49 2010
|
||||
+++ src/common.h Tue Feb 1 09:15:26 2011
|
||||
@@ -714,7 +714,6 @@ void DBTest (void);
|
||||
|
||||
/* Input thread and thread function */
|
||||
#include <pthread.h>
|
||||
-extern pthread_t input_thread;
|
||||
void *input_func(void *);
|
||||
|
||||
/*
|
@ -1,11 +0,0 @@
|
||||
$OpenBSD: patch-src_lexpgn_l,v 1.1 2010/05/13 16:37:32 espie Exp $
|
||||
--- src/lexpgn.l.orig Thu May 13 18:22:31 2010
|
||||
+++ src/lexpgn.l Thu May 13 18:31:28 2010
|
||||
@@ -37,6 +37,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
+#include <unistd.h>
|
||||
|
||||
#include "common.h"
|
||||
#include "lexpgn.h"
|
@ -1,7 +1,10 @@
|
||||
@comment $OpenBSD: PLIST,v 1.5 2008/11/29 09:49:03 ajacoutot Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.6 2012/04/08 16:32:29 ajacoutot Exp $
|
||||
@bin bin/gnuchess
|
||||
bin/gnuchessu
|
||||
bin/gnuchessx
|
||||
@info info/gnuchess.info
|
||||
share/doc/gnuchess/
|
||||
share/doc/gnuchess/README
|
||||
share/gnuchess/
|
||||
share/gnuchess/book.dat
|
||||
share/gnuchess/book.bin
|
||||
share/gnuchess/gnuchess.ini
|
||||
|
Loading…
Reference in New Issue
Block a user