git: 6766b4974af0 - main - games/gogui: update 1.4.10 → 1.5.4a

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 20 Jan 2025 02:40:57 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6766b4974af0d507c5b3ea11dea4c4ae6e34621e

commit 6766b4974af0d507c5b3ea11dea4c4ae6e34621e
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-01-20 01:59:57 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-01-20 02:40:40 +0000

    games/gogui: update 1.4.10 → 1.5.4a
---
 games/gogui/Makefile | 20 +++++++++++++-------
 games/gogui/distinfo |  6 +++---
 2 files changed, 16 insertions(+), 10 deletions(-)

diff --git a/games/gogui/Makefile b/games/gogui/Makefile
index e0573e77505b..5eeab1715fcc 100644
--- a/games/gogui/Makefile
+++ b/games/gogui/Makefile
@@ -1,26 +1,29 @@
 PORTNAME=	gogui
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.4.10
-PORTREVISION=	1
+DISTVERSION=	1.5.4a
 CATEGORIES=	games java
 MASTER_SITES=	http://www.randelshofer.ch/quaqua/files/:quaqua
 DISTFILES=	quaqua-5.2.1.nested.zip:quaqua
 
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	GUI for programs that play Go through Go Text Protocol (GTP)
-WWW=		https://github.com/lemonsqueeze/gogui
+WWW=		https://github.com/Remi-Coulom/gogui # was https://github.com/lemonsqueeze/gogui
 
 LICENSE=	LGPL21 BSD3CLAUSE
 LICENSE_COMB=	multi
 
 BROKEN_aarch64=	compilation fails: Internal Error (assembler_aarch64.hpp:237) ..., and it breaks with Java 11 and Java 17, see https://github.com/lemonsqueeze/gogui/issues/3
 
-BUILD_DEPENDS=	xsltproc:textproc/libxslt \
-		docbook-xsl>0:textproc/docbook-xsl
+BUILD_DEPENDS=	bash:shells/bash \
+		docbook-xsl>0:textproc/docbook-xsl \
+		inkscape:graphics/inkscape \
+		xsltproc:textproc/libxslt
 
-USES=		java:ant,run
+USES=		java:ant,run shebangfix
 USE_GITHUB=	yes
-GH_ACCOUNT=	lemonsqueeze
+GH_ACCOUNT=	Remi-Coulom # was lemonsqueeze
+
+SHEBANG_FILES=	src/net/sf/gogui/images/svg.sh
 
 MAKE_ARGS+=	-Ddocbook-xsl.dir=${LOCALBASE}/share/xsl/docbook
 
@@ -40,6 +43,9 @@ post-extract:
 post-patch:
 	@${REINPLACE_CMD} 's|/usr/share|${LOCALBASE}/share|' ${WRKSRC}/build.xml
 
+pre-build: # generate image files
+	@cd ${WRKSRC}/src/net/sf/gogui/images && ./svg.sh
+
 do-install:
 .for j in ${GOGUI_JARS}
 	${INSTALL_DATA} ${WRKSRC}/lib/${j}.jar ${STAGEDIR}${JAVAJARDIR}
diff --git a/games/gogui/distinfo b/games/gogui/distinfo
index 708ce1a6e619..a3d452ea5006 100644
--- a/games/gogui/distinfo
+++ b/games/gogui/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1560109987
+TIMESTAMP = 1737283958
 SHA256 (quaqua-5.2.1.nested.zip) = 5473653f8a153122e864137704db52cb02e04a24cbbba6c59df11d4f945f79d6
 SIZE (quaqua-5.2.1.nested.zip) = 5985193
-SHA256 (lemonsqueeze-gogui-v1.4.10_GH0.tar.gz) = a9a957e3e0b2eba9f39ad22197698b9343ea0054e769cb3f42620c7bbc3a1dba
-SIZE (lemonsqueeze-gogui-v1.4.10_GH0.tar.gz) = 723690
+SHA256 (Remi-Coulom-gogui-v1.5.4a_GH0.tar.gz) = 742564513fe846368913d435e9146b24e04b1aeaaa3608e8d8637a85fc0c8ded
+SIZE (Remi-Coulom-gogui-v1.5.4a_GH0.tar.gz) = 730262