aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Turgeon <ericbsd@FreeBSD.org>2026-06-03 10:27:31 +0000
committerEric Turgeon <ericbsd@FreeBSD.org>2026-06-03 10:27:48 +0000
commit494fafd346c7b32beda8899dbd74cc6b4995347b (patch)
tree9b2fc312a1b5c1de0e94a1d193829b4f2bd8a583
parent2fe0a91aedd11c4f62cb522f4a2e800b01d1c509 (diff)
math/mate-calc: 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.
-rw-r--r--math/mate-calc/Makefile13
-rw-r--r--math/mate-calc/distinfo6
2 files changed, 10 insertions, 9 deletions
diff --git a/math/mate-calc/Makefile b/math/mate-calc/Makefile
index 628718c184e4..3479b1ba3292 100644
--- a/math/mate-calc/Makefile
+++ b/math/mate-calc/Makefile
@@ -1,9 +1,9 @@
PORTNAME= mate-calc
-PORTVERSION= 1.28.0
-PORTREVISION= 1
+DISTVERSION= 1.28.0
+PORTREVISION= 2
CATEGORIES= math 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 calculator tool based on the old calctool for OpenWindows
@@ -16,12 +16,13 @@ BUILD_DEPENDS= itstool:textproc/itstool
LIB_DEPENDS= libmpc.so:math/mpc \
libmpfr.so:math/mpfr
-PORTSCOUT= limitw:1,even
-
USES= gettext gmake gnome localbase pkgconfig tar:xz
+USE_GITHUB= nodefault
+GH_ACCOUNT= mate-desktop
USE_GNOME= cairo gdkpixbuf gtk30 intlhack libxml2
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
+PORTSCOUT= limitw:1,even
GLIB_SCHEMAS= org.mate.calc.gschema.xml
diff --git a/math/mate-calc/distinfo b/math/mate-calc/distinfo
index 7481f60f801c..f0f31efbe500 100644
--- a/math/mate-calc/distinfo
+++ b/math/mate-calc/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1710194979
-SHA256 (mate/mate-calc-1.28.0.tar.xz) = 804b125d1e2864b1e74af816da9b2ab8b19472b9af974437ee7355ada5e628f5
-SIZE (mate/mate-calc-1.28.0.tar.xz) = 1006168
+TIMESTAMP = 1780481583
+SHA256 (mate-calc-1.28.0.tar.xz) = 804b125d1e2864b1e74af816da9b2ab8b19472b9af974437ee7355ada5e628f5
+SIZE (mate-calc-1.28.0.tar.xz) = 1006168