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 - #include - --#include --#include -+#include - - #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