git: 4449d4a8e499 - main - games/gottet: Update to 1.2.1

From: Jason E. Hale <jhale_at_FreeBSD.org>
Date: Mon, 12 Sep 2022 19:47:04 UTC
The branch main has been updated by jhale:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4449d4a8e4992c4d7a2baac81402f9bd21bd36c5

commit 4449d4a8e4992c4d7a2baac81402f9bd21bd36c5
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2022-09-12 16:12:59 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2022-09-12 19:45:59 +0000

    games/gottet: Update to 1.2.1
    
    Switch to Qt6 and CMake build as Qt5 support was dropped upstream.
---
 games/gottet/Makefile  | 17 ++++-------------
 games/gottet/distinfo  |  6 +++---
 games/gottet/pkg-plist |  2 +-
 3 files changed, 8 insertions(+), 17 deletions(-)

diff --git a/games/gottet/Makefile b/games/gottet/Makefile
index faeb75718745..f98ba27e1634 100644
--- a/games/gottet/Makefile
+++ b/games/gottet/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	gottet
-PORTVERSION=	1.2.0
+PORTVERSION=	1.2.1
 DISTVERSIONSUFFIX=	-src
 CATEGORIES=	games
 MASTER_SITES=	https://gottcode.org/gottet/
@@ -11,24 +11,15 @@ WWW=		https://gottcode.org/gottet/
 LICENSE=	GPLv3+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		compiler:c++11-lib gl qmake qt:5 tar:bzip2
-USE_GL=		gl
-USE_QT=		core gui widgets \
-		buildtools:build linguisttools:build
+USES=		cmake compiler:c++11-lib gl qt:6 tar:bzip2
+USE_GL=		opengl
+USE_QT=		base tools:build
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
 OPTIONS_DEFINE=	DOCS NLS
 OPTIONS_SUB=	yes
 
-post-patch:
-	@${REINPLACE_CMD} -e \
-		's|share/man|man|' ${WRKSRC}/gottet.pro
-
-post-patch-NLS-off:
-	@${REINPLACE_CMD} -e \
-		'/INSTALLS/s|qm||' ${WRKSRC}/gottet.pro
-
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	(cd ${WRKSRC} && ${INSTALL_DATA} CREDITS ChangeLog README \
diff --git a/games/gottet/distinfo b/games/gottet/distinfo
index 2f8044856ee6..5d908838dd2a 100644
--- a/games/gottet/distinfo
+++ b/games/gottet/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1645698135
-SHA256 (gottet-1.2.0-src.tar.bz2) = 26647b12258180e46e76413a25b43b2a1c2f9169f0ea039015359ba9fbe4f2f8
-SIZE (gottet-1.2.0-src.tar.bz2) = 522868
+TIMESTAMP = 1662922921
+SHA256 (gottet-1.2.1-src.tar.bz2) = f8207e7d4ec9c5c4f9d98dba4ed85a6137f0bc77ef973742d8bf91e154b86e54
+SIZE (gottet-1.2.1-src.tar.bz2) = 522463
diff --git a/games/gottet/pkg-plist b/games/gottet/pkg-plist
index 010bbe63c19b..7da5ea9f3306 100644
--- a/games/gottet/pkg-plist
+++ b/games/gottet/pkg-plist
@@ -1,6 +1,6 @@
 bin/gottet
-man/man6/gottet.6.gz
 share/applications/gottet.desktop
+share/man/man6/gottet.6.gz
 %%PORTDOCS%%%%DOCSDIR%%/CREDITS
 %%PORTDOCS%%%%DOCSDIR%%/ChangeLog
 %%PORTDOCS%%%%DOCSDIR%%/README