git: 0cd28063f0be - main - x11-toolkits/wxgtk30: Use upstream release archive and convert to DISTVERSION

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Mon, 23 May 2022 11:40:21 UTC
The branch main has been updated by diizzy:

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

commit 0cd28063f0be089a1897178a366f2e720df01710
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2022-05-23 11:33:40 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2022-05-23 11:39:51 +0000

    x11-toolkits/wxgtk30: Use upstream release archive and convert to DISTVERSION
    
    Use upstream release archive as recommended by Porters Handbook
    
    PR:             263959
    Approved by:    lbartoletti (maintainer)
---
 x11-toolkits/wxgtk30/Makefile | 12 +++++-------
 x11-toolkits/wxgtk30/distinfo |  6 +++---
 2 files changed, 8 insertions(+), 10 deletions(-)

diff --git a/x11-toolkits/wxgtk30/Makefile b/x11-toolkits/wxgtk30/Makefile
index ca2f505fcfc7..812260b5c7a8 100644
--- a/x11-toolkits/wxgtk30/Makefile
+++ b/x11-toolkits/wxgtk30/Makefile
@@ -1,9 +1,11 @@
 PORTNAME=	wx
-PORTVERSION=	3.0.5.1
 DISTVERSIONPREFIX=	v
+DISTVERSION=	3.0.5.1
 PORTREVISION=	1
 CATEGORIES=	x11-toolkits
+MASTER_SITES=	https://github.com/wxWidgets/wxWidgets/releases/download/v${DISTVERSION}/
 PKGNAMESUFFIX=	${_SHORT_WX_VER}-${FLAVOR}
+DISTNAME=	wxWidgets-${DISTVERSION}
 
 MAINTAINER=	lbartoletti@FreeBSD.org
 COMMENT=	The wxWidgets GUI toolkit with GTK+ bindings
@@ -19,12 +21,8 @@ LIB_DEPENDS=	libexpat.so:textproc/expat2 \
 		libsoup-2.4.so:devel/libsoup \
 		libtiff.so:graphics/tiff
 
-USE_GITHUB=	yes
-GH_ACCOUNT=	wxWidgets
-GH_PROJECT=	wxWidgets
-
 USES=		compiler:c++11-lib gl gmake gnome iconv jpeg localbase \
-		pkgconfig xorg
+		pkgconfig tar:bz2 xorg
 USE_XORG=	x11 sm xxf86vm xinerama
 USE_GL=		gl glu
 USE_GNOME=	cairo gdkpixbuf2
@@ -86,7 +84,7 @@ PLIST_SUB+=	GTK2="" WEBKIT="@comment "
 .endif
 PLIST_SUB+=	GTKVER=${FLAVOR}
 
-_SHORT_WX_VER=	${PORTVERSION:S/./ /g:[1..2]:ts}
+_SHORT_WX_VER=	${DISTVERSION:S/./ /g:[1..2]:ts}
 
 gtk3_CONFLICTS_INSTALL=	${PORTNAME}${_SHORT_WX_VER}-gtk2
 gtk2_CONFLICTS_INSTALL=	${PORTNAME}${_SHORT_WX_VER}-gtk3
diff --git a/x11-toolkits/wxgtk30/distinfo b/x11-toolkits/wxgtk30/distinfo
index a3aaf2cc5fa4..1810f108a126 100644
--- a/x11-toolkits/wxgtk30/distinfo
+++ b/x11-toolkits/wxgtk30/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1588603099
-SHA256 (wxWidgets-wxWidgets-v3.0.5.1_GH0.tar.gz) = bae4d9f289e33a05fb8553fcc580564d30efe6a882ff08e3d4e09ef01f5f6578
-SIZE (wxWidgets-wxWidgets-v3.0.5.1_GH0.tar.gz) = 24587847
+TIMESTAMP = 1652419887
+SHA256 (wxWidgets-3.0.5.1.tar.bz2) = 440f6e73cf5afb2cbf9af10cec8da6cdd3d3998d527598a53db87099524ac807
+SIZE (wxWidgets-3.0.5.1.tar.bz2) = 19739206