git: 5e1eba043cba - main - games/suyimazu: Update to 5.9

From: Neel Chauhan <nc_at_FreeBSD.org>
Date: Mon, 29 Aug 2022 16:27:44 UTC
The branch main has been updated by nc:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5e1eba043cbafc802a46feb4d900aa1c29539095

commit 5e1eba043cbafc802a46feb4d900aa1c29539095
Author:     Alexander Vereeken <Alexander88207@protonmail.com>
AuthorDate: 2022-08-28 15:56:15 +0000
Commit:     Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2022-08-29 16:27:37 +0000

    games/suyimazu: Update to 5.9
    
    PR:     266085
---
 games/suyimazu/Makefile | 14 ++++++++++++--
 games/suyimazu/distinfo |  6 +++---
 2 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/games/suyimazu/Makefile b/games/suyimazu/Makefile
index 7d1b63b12d2b..1870afa873b0 100644
--- a/games/suyimazu/Makefile
+++ b/games/suyimazu/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	suyimazu
-DISTVERSION=	5.8
+DISTVERSION=	5.9
 CATEGORIES=	games
 MASTER_SITES=	https://codeberg.org/Alexander88207/Suyimazu/archive/
 DISTNAME=	${DISTVERSION}
@@ -15,7 +15,6 @@ ONLY_FOR_ARCHS_REASON=	Wine only runs on x86 architecture
 
 RUN_DEPENDS=	7zz:archivers/7-zip \
 		bash:shells/bash \
-		glxinfo:graphics/glx-utils \
 		vulkaninfo:graphics/vulkan-tools \
 		wine-proton>0:emulators/wine-proton \
 		winetricks:emulators/winetricks \
@@ -24,6 +23,17 @@ RUN_DEPENDS=	7zz:archivers/7-zip \
 
 NO_BUILD=	yes
 
+OPTIONS_SUB=	yes
+OPTIONS_DEFAULT=	GLX-UTILS
+OPTIONS_RADIO=		GLXINFO
+OPTIONS_RADIO_GLXINFO=	GLX-UTILS MESA-DEMOS
+
+GLX-UTILS_DESC=		Use glxinfo from glx-utils
+MESA-DEMOS_DESC=	Use glxinfo from mesa-demos
+
+GLX-UTILS_RUN_DEPENDS=	glxinfo:graphics/glx-utils
+MESA-DEMOS_RUN_DEPENDS=	glxinfo:graphics/mesa-demos
+
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
 PLIST_FILES=	bin/Suyimazu \
diff --git a/games/suyimazu/distinfo b/games/suyimazu/distinfo
index 79ac2411ab6e..e6e113ed7e94 100644
--- a/games/suyimazu/distinfo
+++ b/games/suyimazu/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1651877910
-SHA256 (5.8.tar.gz) = 7a3dd3349cd943dbab6772f0a375a1dd41d34964e829cf7e4dc970054aa6a412
-SIZE (5.8.tar.gz) = 5591835
+TIMESTAMP = 1661700474
+SHA256 (5.9.tar.gz) = ada8ff231ecca6fe68ed20821f0a971e86cd812ea4ce0cf1c329bb774ebbcc5c
+SIZE (5.9.tar.gz) = 305940