mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
games/dobutsu: update to 3
ChangeLog: https://github.com/clausecker/dobutsu/blob/master/CHANGES PR: 261354 Reported by: fuz@fuz.su (maintainer)
This commit is contained in:
parent
1a6fab9f7b
commit
79464085c1
6 changed files with 20 additions and 21 deletions
|
@ -1,5 +1,5 @@
|
|||
PORTNAME= dobutsu
|
||||
DISTVERSION= 2
|
||||
DISTVERSION= 3
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= http://fuz.su/~fuz/dobutsu/
|
||||
|
||||
|
@ -9,16 +9,15 @@ COMMENT= Tablebase and Engine for Dobutsu Shogi
|
|||
LICENSE= BSD2CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= libedit localbase:ldflags tar:xz
|
||||
USES= gettext-runtime gettext-tools localbase:ldflags pkgconfig readline tar:xz
|
||||
|
||||
CFLAGS+= -DNDEBUG
|
||||
MAKE_ARGS= CC="${CC}" \
|
||||
CFLAGS="${CFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}" \
|
||||
NPROC="${MAKE_JOBS_NUMBER}" \
|
||||
PREFIX="${PREFIX}" \
|
||||
RLCFLAGS= \
|
||||
STAGING=${STAGEDIR}
|
||||
CFLAGS= -DNDEBUG
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/dobutsu
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1610819193
|
||||
SHA256 (dobutsu-2.tar.xz) = 129dcd9d9b1be519f41be419411fa99b96f5ccef81b9acbce509d3d44b9de401
|
||||
SIZE (dobutsu-2.tar.xz) = 53100
|
||||
TIMESTAMP = 1642684426
|
||||
SHA256 (dobutsu-3.tar.xz) = 9fab93ee8814cdf5671636fb8831ce3bfb45afb8061aff17d09dc1adab3efdfb
|
||||
SIZE (dobutsu-3.tar.xz) = 40248
|
||||
|
|
9
games/dobutsu/files/patch-Makefile
Normal file
9
games/dobutsu/files/patch-Makefile
Normal file
|
@ -0,0 +1,9 @@
|
|||
--- Makefile.orig 2022-01-20 13:07:59 UTC
|
||||
+++ Makefile
|
||||
@@ -1,5 +1,5 @@
|
||||
CC=c99
|
||||
-CFLAGS=$(RLCFLAGS) $(INTLCFLAGS) $(LZMACFLAGS) -O3 -DLOCALEDIR=\"$(LOCALEDIR)\" -g
|
||||
+CFLAGS+=$(RLCFLAGS) $(INTLCFLAGS) $(LZMACFLAGS) -DLOCALEDIR=\"$(LOCALEDIR)\"
|
||||
|
||||
# for libedit support on FreeBSD
|
||||
#RLCFLAGS=-I/usr/include/edit
|
|
@ -1,12 +0,0 @@
|
|||
--- dobutsu.c.orig 2021-01-16 17:37:49 UTC
|
||||
+++ dobutsu.c
|
||||
@@ -31,8 +31,7 @@
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
-#include <readline/readline.h>
|
||||
-#include <readline/history.h>
|
||||
+#include <editline/readline.h>
|
||||
|
||||
#include "rules.h"
|
||||
#include "tablebase.h"
|
|
@ -1,5 +1,5 @@
|
|||
An engine for the Japanese chess variant Dobutsu shogi. Dobutsu uses a
|
||||
comprehensive endgame table base to achieve perfect play from any
|
||||
position.
|
||||
position, but can also be configured to any strength you desire.
|
||||
|
||||
WWW: https://github.com/clausecker/dobutsu
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
bin/dobutsu
|
||||
libexec/dobutsu
|
||||
%%DATADIR%%/dobutsu.tb.xz
|
||||
share/locale/de/LC_MESSAGES/dobutsu.mo
|
||||
share/locale/lv/LC_MESSAGES/dobutsu.mo
|
||||
share/man/de.UTF-8/man6/dobutsu.6.gz
|
||||
share/man/man6/dobutsu.6.gz
|
||||
|
|
Loading…
Add table
Reference in a new issue