git: 79464085c1ab - main - games/dobutsu: update to 3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 24 Jan 2022 11:19:43 UTC
The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=79464085c1abdb6ae2c52cf59f7b77add3b6741c commit 79464085c1abdb6ae2c52cf59f7b77add3b6741c Author: Robert Clausecker <fuz@fuz.su> AuthorDate: 2022-01-21 06:57:29 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2022-01-24 11:18:03 +0000 games/dobutsu: update to 3 ChangeLog: https://github.com/clausecker/dobutsu/blob/master/CHANGES PR: 261354 Reported by: fuz@fuz.su (maintainer) --- games/dobutsu/Makefile | 7 +++---- games/dobutsu/distinfo | 6 +++--- games/dobutsu/files/patch-Makefile | 9 +++++++++ games/dobutsu/files/patch-dobutsu.c | 12 ------------ games/dobutsu/pkg-descr | 4 ++-- games/dobutsu/pkg-plist | 3 +++ 6 files changed, 20 insertions(+), 21 deletions(-) diff --git a/games/dobutsu/Makefile b/games/dobutsu/Makefile index 2fbb91d6a0b9..896dd77e178b 100644 --- a/games/dobutsu/Makefile +++ b/games/dobutsu/Makefile @@ -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 diff --git a/games/dobutsu/distinfo b/games/dobutsu/distinfo index 195141a70c5b..7728aba44f87 100644 --- a/games/dobutsu/distinfo +++ b/games/dobutsu/distinfo @@ -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 diff --git a/games/dobutsu/files/patch-Makefile b/games/dobutsu/files/patch-Makefile new file mode 100644 index 000000000000..6d56ed8fb86b --- /dev/null +++ b/games/dobutsu/files/patch-Makefile @@ -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 diff --git a/games/dobutsu/files/patch-dobutsu.c b/games/dobutsu/files/patch-dobutsu.c deleted file mode 100644 index ef8bb479894e..000000000000 --- a/games/dobutsu/files/patch-dobutsu.c +++ /dev/null @@ -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" diff --git a/games/dobutsu/pkg-descr b/games/dobutsu/pkg-descr index 786613514e39..fc0ae57645c0 100644 --- a/games/dobutsu/pkg-descr +++ b/games/dobutsu/pkg-descr @@ -1,5 +1,5 @@ -An engine for the Japanese chess variant Dobutsu shogi. Dobutsu uses a +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 diff --git a/games/dobutsu/pkg-plist b/games/dobutsu/pkg-plist index 4a5868a288f3..7a772f0c66df 100644 --- a/games/dobutsu/pkg-plist +++ b/games/dobutsu/pkg-plist @@ -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