git: d79dd2d019dd - main - emulators/flexemu: Update to 3.26

From: Rainer Hurling <rhurlin_at_FreeBSD.org>
Date: Thu, 26 Dec 2024 20:39:37 UTC
The branch main has been updated by rhurlin:

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

commit d79dd2d019dd256605b16004469b9c9eb04b665d
Author:     Rainer Hurling <rhurlin@FreeBSD.org>
AuthorDate: 2024-12-26 20:28:54 +0000
Commit:     Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2024-12-26 20:39:27 +0000

    emulators/flexemu: Update to 3.26
    
    New version with many improvements, bug fixes and especially
    two fixes to build correctly under FreeBSD
    
    Changelog: https://github.com/aladur/flexemu/compare/V3.22...V3.26
    
    Reported by:    portscout, Repology
---
 emulators/flexemu/Makefile  | 18 +++++++++++++-----
 emulators/flexemu/distinfo  | 14 +++++++++-----
 emulators/flexemu/pkg-plist |  6 ++++++
 3 files changed, 28 insertions(+), 10 deletions(-)

diff --git a/emulators/flexemu/Makefile b/emulators/flexemu/Makefile
index 38b8d0398119..573d28cd2819 100644
--- a/emulators/flexemu/Makefile
+++ b/emulators/flexemu/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	flexemu
 DISTVERSIONPREFIX=	V
-DISTVERSION=	3.22
+DISTVERSION=	3.26
 CATEGORIES=	emulators
 
 MAINTAINER=	rhurlin@FreeBSD.org
@@ -9,10 +9,13 @@ WWW=		https://flexemu.neocities.org/
 
 LICENSE=	GPLv2
 
-USES=		desktop-file-utils gl libtool qt:5 shared-mime-info xorg
+USES=		compiler desktop-file-utils gl libtool pkgconfig \
+		qt:5 shared-mime-info xorg
 USE_GITHUB=	yes
 GH_ACCOUNT=	aladur
-GH_TUPLE=	google:googletest:e1a38bc3:googletest/googletest
+GH_TUPLE=	fmtlib:fmt:0c9fce2:fmt/fmt \
+		google:googletest:b514bdc:googletest/googletest \
+		open-source-parsers:jsoncpp:8214f71:jsoncpp/jsoncpp
 USE_GL=		gl
 USE_QT=		buildtools:build core dbus gui network printsupport \
 		qmake:build widgets x11extras
@@ -20,11 +23,16 @@ USE_XORG=	ice sm x11
 
 GNU_CONFIGURE=	yes
 
-.include <bsd.port.pre.mk>
-
 post-install:
 	@${RM} ${STAGEDIR}${PREFIX}/bin/rcvflex
 	@${RM} ${STAGEDIR}${PREFIX}/bin/send2flx
 	@${RM} ${STAGEDIR}${PREFIX}/bin/testdaa
 
+.include <bsd.port.pre.mk>
+
+.if ${COMPILER_TYPE} == gcc
+USE_GCC=	yes
+CONFIGURE_ARGS=	--disable-precompiled-headers
+.endif
+
 .include <bsd.port.post.mk>
diff --git a/emulators/flexemu/distinfo b/emulators/flexemu/distinfo
index 777dcbde3574..2461bd86e017 100644
--- a/emulators/flexemu/distinfo
+++ b/emulators/flexemu/distinfo
@@ -1,5 +1,9 @@
-TIMESTAMP = 1728324162
-SHA256 (aladur-flexemu-V3.22_GH0.tar.gz) = f5116aa7428c88533a8585d4a870527b23d0d9bcb8b9b4c3f3cd86d766ccfa87
-SIZE (aladur-flexemu-V3.22_GH0.tar.gz) = 11218870
-SHA256 (google-googletest-e1a38bc3_GH0.tar.gz) = e546a6ca65d12ae102a182144cac5bd583d5d79c8801b46b2837ecb0532681df
-SIZE (google-googletest-e1a38bc3_GH0.tar.gz) = 871610
+TIMESTAMP = 1735244662
+SHA256 (aladur-flexemu-V3.26_GH0.tar.gz) = e211c68afddfc1a25a7c5d441891d43efdb3a83bd8c1617f9a38e6ca3cf7c708
+SIZE (aladur-flexemu-V3.26_GH0.tar.gz) = 11350219
+SHA256 (fmtlib-fmt-0c9fce2_GH0.tar.gz) = dd7dd5ef9e4677e8466a3f939613d1f73876c511a9a1be4857fb62590c110ca3
+SIZE (fmtlib-fmt-0c9fce2_GH0.tar.gz) = 701040
+SHA256 (google-googletest-b514bdc_GH0.tar.gz) = dcefc4adaca27f89b69371eadef42c4d311d2debfdee2a9a5985cae740463f98
+SIZE (google-googletest-b514bdc_GH0.tar.gz) = 872710
+SHA256 (open-source-parsers-jsoncpp-8214f71_GH0.tar.gz) = ac618109663963435516dcef05773d185f99d6cafbcec59bf2ba3e08c050f6a6
+SIZE (open-source-parsers-jsoncpp-8214f71_GH0.tar.gz) = 212844
diff --git a/emulators/flexemu/pkg-plist b/emulators/flexemu/pkg-plist
index d82854e490d1..e21e56a9755c 100644
--- a/emulators/flexemu/pkg-plist
+++ b/emulators/flexemu/pkg-plist
@@ -7,6 +7,7 @@ bin/fromflex
 bin/mdcrtool
 bin/toflex
 etc/flexemu.conf
+etc/flexlabl.conf
 share/applications/flexemu-flexplorer.desktop
 share/applications/flexemu.desktop
 %%DATADIR%%/6809diag.pdf
@@ -64,6 +65,9 @@ share/applications/flexemu.desktop
 %%DATADIR%%/images/pat09_key_up_arrow.png
 %%DATADIR%%/images/pat09_keyboard.png
 %%DATADIR%%/images/pat09_numpad.png
+%%DATADIR%%/imhex/patterns/flex_binary.hexpat
+%%DATADIR%%/imhex/patterns/flex_dskflx.hexpat
+%%DATADIR%%/imhex/patterns/flex_random.hexpat
 %%DATADIR%%/just.dsk
 %%DATADIR%%/just.pdf
 %%DATADIR%%/laycad.dsk
@@ -74,8 +78,10 @@ share/applications/flexemu.desktop
 %%DATADIR%%/mon24.s19
 %%DATADIR%%/mon24z.s19
 %%DATADIR%%/mon53.s19
+%%DATADIR%%/mon53_54.htm
 %%DATADIR%%/mon54.s19
 %%DATADIR%%/monu54-6.s19
+%%DATADIR%%/monu54.htm
 %%DATADIR%%/neumon54.hex
 %%DATADIR%%/neumon54.htm
 %%DATADIR%%/pictures.dsk