git: 2cf4aea631bc - main - games/cutemaze: Update to 1.3.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 12 Sep 2022 19:47:03 UTC
The branch main has been updated by jhale:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2cf4aea631bc4a35a73c95f51fd69baf77cd9fcd
commit 2cf4aea631bc4a35a73c95f51fd69baf77cd9fcd
Author: Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2022-09-12 16:08:18 +0000
Commit: Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2022-09-12 19:45:59 +0000
games/cutemaze: Update to 1.3.1
Switch to Qt6 as Qt5 support was dropped upstream.
---
games/cutemaze/Makefile | 17 ++++-------------
games/cutemaze/distinfo | 6 +++---
games/cutemaze/pkg-plist | 2 +-
3 files changed, 8 insertions(+), 17 deletions(-)
diff --git a/games/cutemaze/Makefile b/games/cutemaze/Makefile
index e6ef37c229cf..bf70bc68485b 100644
--- a/games/cutemaze/Makefile
+++ b/games/cutemaze/Makefile
@@ -1,5 +1,5 @@
PORTNAME= cutemaze
-PORTVERSION= 1.3.0
+PORTVERSION= 1.3.1
CATEGORIES= games
MASTER_SITES= http://gottcode.org/${PORTNAME}/
DISTNAME= ${PORTNAME}-${DISTVERSION}-src
@@ -11,10 +11,9 @@ WWW= https://gottcode.org/cutemaze/
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= compiler:c++11-lang gl qmake qt:5 tar:bzip2
-USE_GL= gl
-USE_QT= core gui svg imageformats:run widgets \
- linguisttools:build buildtools:build
+USES= cmake compiler:c++11-lang gl qt:6 tar:bzip2
+USE_GL= opengl
+USE_QT= base svg tools:build
PORTDOCS= ChangeLog README
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
@@ -22,14 +21,6 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
-post-patch:
- @${REINPLACE_CMD} -e 's|share/man|man|' \
- ${WRKSRC}/cutemaze.pro
-
-post-patch-NLS-off:
- @${REINPLACE_CMD} -i '' '/qm.files/,/qm.path/s/^/#/' \
- ${WRKSRC}/cutemaze.pro
-
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
diff --git a/games/cutemaze/distinfo b/games/cutemaze/distinfo
index f314307a06d9..c42fcd2531a5 100644
--- a/games/cutemaze/distinfo
+++ b/games/cutemaze/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1645697785
-SHA256 (cutemaze-1.3.0-src.tar.bz2) = 87bf87d84dfb6554a794f6ba203fa5344bc5b54e4f7dd3129418ea06e9a88e85
-SIZE (cutemaze-1.3.0-src.tar.bz2) = 929353
+TIMESTAMP = 1662920365
+SHA256 (cutemaze-1.3.1-src.tar.bz2) = 6944931cd39e9ef202c11483b7b2b7409a068c52fa5fd4419ff938b1158c72ab
+SIZE (cutemaze-1.3.1-src.tar.bz2) = 928034
diff --git a/games/cutemaze/pkg-plist b/games/cutemaze/pkg-plist
index 6000093ebe4d..17a33dd7bc14 100644
--- a/games/cutemaze/pkg-plist
+++ b/games/cutemaze/pkg-plist
@@ -1,6 +1,6 @@
bin/cutemaze
-man/man6/cutemaze.6.gz
share/applications/cutemaze.desktop
+share/man/man6/cutemaze.6.gz
%%NLS%%%%DATADIR%%/translations/cutemaze_cs.qm
%%NLS%%%%DATADIR%%/translations/cutemaze_de.qm
%%NLS%%%%DATADIR%%/translations/cutemaze_el.qm