aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2022-09-12 16:12:59 +0000
committerJason E. Hale <jhale@FreeBSD.org>2022-09-12 19:45:59 +0000
commit4449d4a8e4992c4d7a2baac81402f9bd21bd36c5 (patch)
tree01e728c00c0c12fd7fc6a0a958a4e2ec6cd12e85
parent2cf4aea631bc4a35a73c95f51fd69baf77cd9fcd (diff)
downloadports-4449d4a8e4992c4d7a2baac81402f9bd21bd36c5.tar.gz
ports-4449d4a8e4992c4d7a2baac81402f9bd21bd36c5.zip
games/gottet: Update to 1.2.1
Switch to Qt6 and CMake build as Qt5 support was dropped upstream.
-rw-r--r--games/gottet/Makefile17
-rw-r--r--games/gottet/distinfo6
-rw-r--r--games/gottet/pkg-plist2
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