aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2022-09-12 16:08:18 +0000
committerJason E. Hale <jhale@FreeBSD.org>2022-09-12 19:45:59 +0000
commit2cf4aea631bc4a35a73c95f51fd69baf77cd9fcd (patch)
tree71c183571df6116ad80070184e9a7499b8bfafcd
parentbe6208edbebd3912042ec48144925f6421c1ab19 (diff)
downloadports-2cf4aea631bc4a35a73c95f51fd69baf77cd9fcd.tar.gz
ports-2cf4aea631bc4a35a73c95f51fd69baf77cd9fcd.zip
games/cutemaze: Update to 1.3.1
Switch to Qt6 as Qt5 support was dropped upstream.
-rw-r--r--games/cutemaze/Makefile17
-rw-r--r--games/cutemaze/distinfo6
-rw-r--r--games/cutemaze/pkg-plist2
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