git: 8a6f3f8c4054 - main - games/freeciv21: Update 3.1-rc.2 => 3.1.0

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Mon, 11 Aug 2025 23:35:47 UTC
The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8a6f3f8c4054893244045f089a878b470b7679f0

commit 8a6f3f8c4054893244045f089a878b470b7679f0
Author:     Tobias Rehbein <tobias.rehbein@web.de>
AuthorDate: 2025-08-11 23:33:34 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-08-11 23:33:34 +0000

    games/freeciv21: Update 3.1-rc.2 => 3.1.0
    
    Changelogs:
    https://github.com/longturn/freeciv21/releases/tag/v3.1-rc.3
    https://github.com/longturn/freeciv21/releases/tag/v3.1-rc.4
    https://github.com/longturn/freeciv21/releases/tag/v3.1.0
    
    While here cleanup dependencies.
    
    PR:     288800
---
 games/freeciv21/Makefile | 10 +++++-----
 games/freeciv21/distinfo |  6 +++---
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/games/freeciv21/Makefile b/games/freeciv21/Makefile
index 23a0c6b00f53..ce9a6134bb34 100644
--- a/games/freeciv21/Makefile
+++ b/games/freeciv21/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	freeciv21
-PORTVERSION=	${FC21_VERSION:S/^v//:S/-patch//:S/-rc./.r/}
+PORTVERSION=	${FC21_VERSION:S/^v//:S/-rc./.r/}
 CATEGORIES=	games
 MASTER_SITES=	https://github.com/longturn/${PORTNAME}/releases/download/${FC21_VERSION}/
 DISTNAME=	${PORTNAME:S/^f/F/}-${FC21_VERSION}
@@ -15,14 +15,14 @@ LIB_DEPENDS=	libdw.so:devel/elfutils \
 		libunwind.so:devel/libunwind
 RUN_DEPENDS=	${LOCALBASE}/share/fonts/libertinus/LibertinusSans-Regular.otf:x11-fonts/libertinus
 
-USES=		cmake desktop-file-utils kde:5 lua pkgconfig python:3.9+ qt:5 \
+USES=		cmake desktop-file-utils kde:5 lua pkgconfig python qt:5 \
 		readline sdl sqlite
 
 USE_KDE=	archive
 USE_QT=		core gui network svg widgets buildtools:build qmake:build
-USE_SDL=	mixer2
+USE_SDL=	mixer2 sdl2
 
-FC21_VERSION=	v3.1-rc.2
+FC21_VERSION=	v3.1.0
 
 CMAKE_ON=	CMAKE_DISABLE_FIND_PACKAGE_Git
 CMAKE_OFF=	FREECIV_DOWNLOAD_FONTS
@@ -35,7 +35,7 @@ OPTIONS_SUB=			yes
 MANPAGES_BUILD_DEPENDS=		${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${PY_FLAVOR}
 MANPAGES_CMAKE_BOOL=		FREECIV_ENABLE_MANPAGES
 MANPAGES_CMAKE_BOOL_OFF=	CMAKE_DISABLE_FIND_PACKAGE_Sphinx
-NLS_USES=			gettext
+NLS_USES=			gettext-runtime gettext-tools
 NLS_CMAKE_BOOL=			FREECIV_ENABLE_NLS
 
 post-install-DOCS-off:
diff --git a/games/freeciv21/distinfo b/games/freeciv21/distinfo
index 476b9a2b0c28..a6f1bcca5f81 100644
--- a/games/freeciv21/distinfo
+++ b/games/freeciv21/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1740054437
-SHA256 (Freeciv21-v3.1-rc.2.tar.gz) = afd6e176fad64e80dd6243186b793b5a78dfb0edf2f1bbe4a1e4acd6ae79f8be
-SIZE (Freeciv21-v3.1-rc.2.tar.gz) = 52133700
+TIMESTAMP = 1754921781
+SHA256 (Freeciv21-v3.1.0.tar.gz) = 269b3b8647c8cda5c2f06c3b00bd6ff162f5ba920414f45432f34b88ad4452e2
+SIZE (Freeciv21-v3.1.0.tar.gz) = 52560156