git: aa44b7f11368 - main - textproc/libxmlb: Switch to upstream release archive

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Fri, 18 Aug 2023 17:35:07 UTC
The branch main has been updated by diizzy:

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

commit aa44b7f11368bf659c42532e704cc7dca29c0f77
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-08-18 17:31:33 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-08-18 17:34:14 +0000

    textproc/libxmlb: Switch to upstream release archive
    
    Switch to upstream release archive to follow Porters Handbook more
    closely and while at it define LICENSE_FILE
    
    PR:             273120
    Approved by:    desktop (tcberner)
    Sponsored by:   Blinkinblox
---
 textproc/libxmlb/Makefile | 6 +++---
 textproc/libxmlb/distinfo | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/textproc/libxmlb/Makefile b/textproc/libxmlb/Makefile
index b9e730ffbb28..95b4a95c9385 100644
--- a/textproc/libxmlb/Makefile
+++ b/textproc/libxmlb/Makefile
@@ -1,20 +1,20 @@
 PORTNAME=	libxmlb
 DISTVERSION=	0.3.13
 CATEGORIES=	textproc
+MASTER_SITES=	https://github.com/hughsie/${PORTNAME}/releases/download/${DISTVERSION}/
 
 MAINTAINER=	desktop@FreeBSD.org
 COMMENT=	Library to help create and query binary XML blobs
 WWW=		https://github.com/hughsie/libxmlb
 
 LICENSE=	LGPL21
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	gtkdoc-scan:textproc/gtk-doc
 LIB_DEPENDS=	libstemmer.so:textproc/snowballstemmer \
 		libzstd.so:archivers/zstd
 
-USES=		gnome meson pkgconfig localbase:ldflags
-USE_GITHUB=	yes
-GH_ACCOUNT=	hughsie
+USES=		gnome meson pkgconfig localbase:ldflags tar:xz
 USE_GNOME=	glib20 introspection:build
 
 MESON_ARGS=	-Dstemmer=true
diff --git a/textproc/libxmlb/distinfo b/textproc/libxmlb/distinfo
index cfdb064d80ab..5de339c27003 100644
--- a/textproc/libxmlb/distinfo
+++ b/textproc/libxmlb/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1692349446
-SHA256 (hughsie-libxmlb-0.3.13_GH0.tar.gz) = 82413733f528e3f5674672c76ceb25d8cb4f06c87f0dab8ca9ec0fa991a217e1
-SIZE (hughsie-libxmlb-0.3.13_GH0.tar.gz) = 126963
+TIMESTAMP = 1692378567
+SHA256 (libxmlb-0.3.13.tar.xz) = ae45ae4c0606f94d98fea16b7097b3470e48c2f277954ae9bc4d9d029ed72496
+SIZE (libxmlb-0.3.13.tar.xz) = 100188