git: 6c333a8c7d7a - main - sysutils/mate-system-monitor: switch to GitHub release asset

From: Eric Turgeon <ericbsd_at_FreeBSD.org>
Date: Sun, 14 Jun 2026 11:47:16 UTC
The branch main has been updated by ericbsd:

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

commit 6c333a8c7d7ac2ef42594858123c7e49cd72c1c0
Author:     Eric Turgeon <ericbsd@FreeBSD.org>
AuthorDate: 2026-06-14 11:45:27 +0000
Commit:     Eric Turgeon <ericbsd@FreeBSD.org>
CommitDate: 2026-06-14 11:47:10 +0000

    sysutils/mate-system-monitor: switch to GitHub release asset
    
    Minor versions of 1.28.x are no longer published to the MATE mirror
    and are only available on GitHub. Use USE_GITHUB=nodefault with a
    release tarball instead of the auto-generated one, as recommended
    by the porter's handbook.
---
 sysutils/mate-system-monitor/Makefile | 13 +++++++------
 sysutils/mate-system-monitor/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/sysutils/mate-system-monitor/Makefile b/sysutils/mate-system-monitor/Makefile
index 836fb2477a7a..9f3907c9cec0 100644
--- a/sysutils/mate-system-monitor/Makefile
+++ b/sysutils/mate-system-monitor/Makefile
@@ -1,9 +1,9 @@
 PORTNAME=	mate-system-monitor
-PORTVERSION=	1.28.1
-PORTREVISION=	1
+DISTVERSION=	1.28.1
+PORTREVISION=	2
 CATEGORIES=	sysutils mate
-MASTER_SITES=	MATE
-DIST_SUBDIR=	mate
+MASTER_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/
+DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
 
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	MATE system monitor program
@@ -16,12 +16,13 @@ BUILD_DEPENDS=	itstool:textproc/itstool
 LIB_DEPENDS=	libgtop-2.0.so:devel/libgtop \
 		libdbus-glib-1.so:devel/dbus-glib
 
-PORTSCOUT=	limitw:1,even
-
 USES=		compiler:c++11-lib gettext gmake gnome localbase mate \
 		pathfix pkgconfig tar:xz
+USE_GITHUB=	nodefault
+GH_ACCOUNT=	mate-desktop
 USE_MATE=	icontheme
 USE_GNOME=	gtkmm30 intlhack librsvg2 libwnck3 libxml2
+PORTSCOUT=	site:https://github.com/mate-desktop/mate-system-monitor/releases/ limitw:1,even
 GNU_CONFIGURE=	yes
 GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--disable-systemd
diff --git a/sysutils/mate-system-monitor/distinfo b/sysutils/mate-system-monitor/distinfo
index dc71422fb992..1af8d309310c 100644
--- a/sysutils/mate-system-monitor/distinfo
+++ b/sysutils/mate-system-monitor/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1710973813
-SHA256 (mate/mate-system-monitor-1.28.1.tar.xz) = 42d663d6b90fb5361ebc13f6547983d6f1e2ac75dc2ae4f1cac6ea6329965a25
-SIZE (mate/mate-system-monitor-1.28.1.tar.xz) = 2521892
+TIMESTAMP = 1781263929
+SHA256 (mate-system-monitor-1.28.1.tar.xz) = 42d663d6b90fb5361ebc13f6547983d6f1e2ac75dc2ae4f1cac6ea6329965a25
+SIZE (mate-system-monitor-1.28.1.tar.xz) = 2521892