git: 812a49df5bed - main - x11/mate-applets: switch to GitHub release asset

From: Eric Turgeon <ericbsd_at_FreeBSD.org>
Date: Mon, 15 Jun 2026 23:03:25 UTC
The branch main has been updated by ericbsd:

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

commit 812a49df5bed0a1232218e5090728c7368f5e3d9
Author:     Eric Turgeon <ericbsd@FreeBSD.org>
AuthorDate: 2026-06-15 23:03:22 +0000
Commit:     Eric Turgeon <ericbsd@FreeBSD.org>
CommitDate: 2026-06-15 23:03:22 +0000

    x11/mate-applets: 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.
---
 x11/mate-applets/Makefile | 13 +++++++------
 x11/mate-applets/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/x11/mate-applets/Makefile b/x11/mate-applets/Makefile
index e647d02c9d14..2b75b09280ad 100644
--- a/x11/mate-applets/Makefile
+++ b/x11/mate-applets/Makefile
@@ -1,9 +1,9 @@
 PORTNAME=	mate-applets
-PORTVERSION=	1.28.1
-PORTREVISION=	3
+DISTVERSION=	1.28.1
+PORTREVISION=	4
 CATEGORIES=	x11 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=	Applets components for the MATE Desktop Environment
@@ -22,16 +22,17 @@ LIB_DEPENDS=	libgtop-2.0.so:devel/libgtop \
 		libgucharmap_2_90.so:deskutils/gucharmap \
 		libnotify.so:devel/libnotify
 
-PORTSCOUT=	limitw:1,even
-
 USES=		compiler:c11 gettext gmake gnome libtool localbase mate \
 		pkgconfig tar:xz xorg
+USE_GITHUB=	nodefault
+GH_ACCOUNT=	mate-desktop
 USE_CSTD=	c11
 
 USE_MATE=	libmateweather panel
 USE_XORG=	ice sm x11
 USE_GNOME=	cairo gtk30 gtksourceview4 intltool libwnck3 libxml2
 USE_LDCONFIG=	yes
+PORTSCOUT=	site:https://github.com/mate-desktop/mate-applets/releases/ limitw:1,even
 GNU_CONFIGURE=	yes
 GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ENV=	OS_SYS="/usr/include"
diff --git a/x11/mate-applets/distinfo b/x11/mate-applets/distinfo
index 3b79d55d5b35..78db3d1c2232 100644
--- a/x11/mate-applets/distinfo
+++ b/x11/mate-applets/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1736897233
-SHA256 (mate/mate-applets-1.28.1.tar.xz) = a5967141527dc5b172d322a6003c23aeec253160f650bb36430a06ddaefa7e2e
-SIZE (mate/mate-applets-1.28.1.tar.xz) = 8726084
+TIMESTAMP = 1781564202
+SHA256 (mate-applets-1.28.1.tar.xz) = a5967141527dc5b172d322a6003c23aeec253160f650bb36430a06ddaefa7e2e
+SIZE (mate-applets-1.28.1.tar.xz) = 8726084