git: 7c05d3788b4e - main - x11-toolkits/wxgtk31: Use upstream release archive

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Tue, 12 Jul 2022 06:43:58 UTC
The branch main has been updated by diizzy:

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

commit 7c05d3788b4ea2f8f37a5118842a2001424dd0e6
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2022-07-12 06:36:33 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2022-07-12 06:43:19 +0000

    x11-toolkits/wxgtk31: Use upstream release archive
    
    Use upstream release archive as recommended by Porters Handbook
    (USE_GITHUB section)
    
    PR:             263960
    Reviewed by:    koobs, lbartoletti
    Approved by:    portmgr (blanket)
---
 x11-toolkits/wxgtk31/Makefile | 8 +++-----
 x11-toolkits/wxgtk31/distinfo | 8 +++-----
 2 files changed, 6 insertions(+), 10 deletions(-)

diff --git a/x11-toolkits/wxgtk31/Makefile b/x11-toolkits/wxgtk31/Makefile
index b9e4b113197f..c08959bda952 100644
--- a/x11-toolkits/wxgtk31/Makefile
+++ b/x11-toolkits/wxgtk31/Makefile
@@ -3,7 +3,9 @@ DISTVERSIONPREFIX=	v
 DISTVERSION=	3.1.5
 PORTREVISION=	2
 CATEGORIES=	x11-toolkits
+MASTER_SITES=	https://github.com/wxWidgets/wxWidgets/releases/download/v${DISTVERSION}/
 PKGNAMESUFFIX=	${_SHORT_WX_VER}-${FLAVOR}
+DISTNAME=	wxWidgets-${DISTVERSION}
 
 MAINTAINER=	desktop@FreeBSD.org
 COMMENT=	GUI toolkit (wxWidgets) with ${FLAVOR:S/k/&+/:tu} bindings
@@ -25,11 +27,7 @@ LIB_DEPENDS=	libcurl.so:ftp/curl \
 		libwayland-egl.so:graphics/wayland
 
 USES=		compiler:c++11-lib gl gmake gnome iconv jpeg localbase \
-		pkgconfig xorg
-USE_GITHUB=	yes
-GH_ACCOUNT=	wxWidgets
-GH_PROJECT=	wxWidgets
-GH_TUPLE=	wxWidgets:Catch:ee4acb6:wxWidgets_Catch/3rdparty/catch
+		pkgconfig tar:bz2 xorg
 
 GNU_CONFIGURE=	yes
 USE_XORG=	x11 sm xxf86vm xtst
diff --git a/x11-toolkits/wxgtk31/distinfo b/x11-toolkits/wxgtk31/distinfo
index 74a8110ddfeb..8b9d5bade0e0 100644
--- a/x11-toolkits/wxgtk31/distinfo
+++ b/x11-toolkits/wxgtk31/distinfo
@@ -1,5 +1,3 @@
-TIMESTAMP = 1618516605
-SHA256 (wxWidgets-wxWidgets-v3.1.5_GH0.tar.gz) = e8fd5f9fbff864562aa4d9c094f898c97f5e1274c90f25beb0bfd5cb61319dea
-SIZE (wxWidgets-wxWidgets-v3.1.5_GH0.tar.gz) = 20889424
-SHA256 (wxWidgets-Catch-ee4acb6_GH0.tar.gz) = 6bc6e38f3efb1aa128c0ae7bfcd8cba266f22f2c4b6433b9efa7d68ca9a44a1f
-SIZE (wxWidgets-Catch-ee4acb6_GH0.tar.gz) = 377330
+TIMESTAMP = 1657576053
+SHA256 (wxWidgets-3.1.5.tar.bz2) = d7b3666de33aa5c10ea41bb9405c40326e1aeb74ee725bb88f90f1d50270a224
+SIZE (wxWidgets-3.1.5.tar.bz2) = 22220762