aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Turgeon <ericbsd@FreeBSD.org>2026-06-02 22:24:09 +0000
committerEric Turgeon <ericbsd@FreeBSD.org>2026-06-02 22:24:26 +0000
commit5a7524308d53e94a0c56b81ed0f83822c0829949 (patch)
tree6d8306f98232edf2031bee824d15488078cdb804
parentdef8df032d60979c2d7f914c9153248f2ae2fa4e (diff)
graphics/atril: 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--graphics/atril-lite/Makefile2
-rw-r--r--graphics/atril/Makefile16
-rw-r--r--graphics/atril/distinfo6
3 files changed, 13 insertions, 11 deletions
diff --git a/graphics/atril-lite/Makefile b/graphics/atril-lite/Makefile
index ad9afd45d0f5..ea9f367e0d9e 100644
--- a/graphics/atril-lite/Makefile
+++ b/graphics/atril-lite/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION= 2
+PORTREVISION= 3
PKGNAMESUFFIX= -lite
OPTIONS_EXCLUDE= CAJA DBUS
diff --git a/graphics/atril/Makefile b/graphics/atril/Makefile
index 013f7a815eed..0a7ab1cbed83 100644
--- a/graphics/atril/Makefile
+++ b/graphics/atril/Makefile
@@ -2,11 +2,11 @@
# Please update update atril-lite also
PORTNAME= atril
-PORTVERSION= 1.28.1
-PORTREVISION= 7
+DISTVERSION= 1.28.1
+PORTREVISION= 8
CATEGORIES= graphics print 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 multi-format document viewer
@@ -23,17 +23,19 @@ LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib \
libtiff.so:graphics/tiff \
libspectre.so:print/libspectre
-PORTSCOUT= limitw:1,even
-SLAVEPORT?= no
-
USES= compiler:c11 desktop-file-utils gettext gmake gnome libarchive \
libtool mate pathfix pkgconfig tar:xz xorg
+USE_GITHUB= nodefault
+GH_ACCOUNT= mate-desktop
USE_MATE= icontheme desktop:build
USE_XORG= ice sm x11
USE_GNOME= cairo gtk30 intlhack libxml2
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
+PORTSCOUT= limitw:1,even
+
+SLAVEPORT?= no
CONFIGURE_ARGS= --disable-static \
--disable-synctex
CPPFLAGS+= -I${LOCALBASE}/include
diff --git a/graphics/atril/distinfo b/graphics/atril/distinfo
index 8dc602642bb1..05a2e53151a5 100644
--- a/graphics/atril/distinfo
+++ b/graphics/atril/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1736610111
-SHA256 (mate/atril-1.28.1.tar.xz) = 74c4f42979f3ead52def23767448d06ad7f715421e03c9b509404b096de8193e
-SIZE (mate/atril-1.28.1.tar.xz) = 2100200
+TIMESTAMP = 1780398150
+SHA256 (atril-1.28.1.tar.xz) = 74c4f42979f3ead52def23767448d06ad7f715421e03c9b509404b096de8193e
+SIZE (atril-1.28.1.tar.xz) = 2100200