git: 6fd32c4be8d5 - main - games/golly: Update to 5.0

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Mon, 27 Oct 2025 21:47:25 UTC
The branch main has been updated by eduardo:

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

commit 6fd32c4be8d54e2f8b7c3a450bc55b2de7236cb0
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2025-10-27 20:52:29 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2025-10-27 21:46:57 +0000

    games/golly: Update to 5.0
    
    ChangeLog: https://golly.sourceforge.io/Help/changes.html
---
 games/golly/Makefile                      | 4 +---
 games/golly/distinfo                      | 6 +++---
 games/golly/files/patch-gui-wx_wxhelp.cpp | 8 ++++----
 games/golly/files/patch-gui-wx_wxmain.cpp | 4 ++--
 4 files changed, 10 insertions(+), 12 deletions(-)

diff --git a/games/golly/Makefile b/games/golly/Makefile
index 90f3561634fb..c3deb76b8c4b 100644
--- a/games/golly/Makefile
+++ b/games/golly/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	golly
-DISTVERSION=	4.3
-PORTREVISION=	2
+DISTVERSION=	5.0
 DISTVERSIONSUFFIX=	-src
 CATEGORIES=	games
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
@@ -38,7 +37,6 @@ PORTDATA=	Help Patterns Rules Scripts
 pre-build:
 	@${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|g' \
 		${WRKSRC}/wxmain.cpp ${WRKSRC}/wxhelp.cpp
-	@${RMDIR} ${WRKSRC}/../Scripts/Python/glife/__pycache__
 
 # There is no install target at makefile-gtk
 do-install:
diff --git a/games/golly/distinfo b/games/golly/distinfo
index 129b584e5c00..7cf2752b4d45 100644
--- a/games/golly/distinfo
+++ b/games/golly/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1716366217
-SHA256 (golly-4.3-src.tar.gz) = 51d2478063e7ec50cde2b61381f3c1028604e45182e374cff0e14199822a081d
-SIZE (golly-4.3-src.tar.gz) = 15488205
+TIMESTAMP = 1761551670
+SHA256 (golly-5.0-src.tar.gz) = 5835cde428153f9b840ba94a4359e5cb26eb302e7ac01a097cd7f5a5c8303611
+SIZE (golly-5.0-src.tar.gz) = 17940916
diff --git a/games/golly/files/patch-gui-wx_wxhelp.cpp b/games/golly/files/patch-gui-wx_wxhelp.cpp
index 4ec34bc65615..065adde4da19 100644
--- a/games/golly/files/patch-gui-wx_wxhelp.cpp
+++ b/games/golly/files/patch-gui-wx_wxhelp.cpp
@@ -1,8 +1,8 @@
 Set DATADIR url to Help pages
 
---- gui-wx/wxhelp.cpp.orig	2022-04-19 11:02:31 UTC
+--- gui-wx/wxhelp.cpp.orig	2025-07-07 22:49:26 UTC
 +++ gui-wx/wxhelp.cpp
-@@ -168,7 +168,7 @@ long whenactive;              // when help window beca
+@@ -177,7 +177,7 @@ long whenactive;              // when help window beca
  
  long whenactive;              // when help window became active (elapsed millisecs)
  
@@ -11,9 +11,9 @@ Set DATADIR url to Help pages
  wxString currhelp = helphome;                      // current help file
  const wxString lexicon_name = _("lexicon");        // name of lexicon layer
  
-@@ -1322,7 +1322,7 @@ void ShowAboutBox()
+@@ -1338,7 +1338,7 @@ void ShowAboutBox()
  #ifdef __WXMAC__
-     html->SetFontSizes(helpfontsize);
+     html->SetFontSizes(13); // must be a fixed size (not helpfontsize)
  #endif
 -    html->CheckAndLoad(_("Help/about.html"));
 +    html->CheckAndLoad(_("%%DATADIR%%/Help/about.html"));
diff --git a/games/golly/files/patch-gui-wx_wxmain.cpp b/games/golly/files/patch-gui-wx_wxmain.cpp
index 6a379c8678c1..7d9e42f541b3 100644
--- a/games/golly/files/patch-gui-wx_wxmain.cpp
+++ b/games/golly/files/patch-gui-wx_wxmain.cpp
@@ -1,8 +1,8 @@
 Set DATADIR url to Help pages
 
---- gui-wx/wxmain.cpp.orig	2021-01-23 03:06:47 UTC
+--- gui-wx/wxmain.cpp.orig	2025-09-26 02:31:41 UTC
 +++ gui-wx/wxmain.cpp
-@@ -1446,29 +1446,29 @@ void MainFrame::OnMenu(wxCommandEvent& event)
+@@ -1410,29 +1410,29 @@ void MainFrame::OnMenu(wxCommandEvent& event)
          case ID_TILE:           ToggleTileLayers(); break;
              
          // Help menu