1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00

games/gottet: Update to 1.2.1

Switch to Qt6 and CMake build as Qt5 support was dropped upstream.
This commit is contained in:
Jason E. Hale 2022-09-12 12:12:59 -04:00
parent 2cf4aea631
commit 4449d4a8e4
3 changed files with 8 additions and 17 deletions

View File

@ -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 \

View File

@ -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

View File

@ -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