git: 3a606b8bdfb8 - main - editors/pluma: switch to GitHub release asset
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 02 Jun 2026 10:57:17 UTC
The branch main has been updated by ericbsd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3a606b8bdfb82d9fe2a5758e6a00074d13b8272c
commit 3a606b8bdfb82d9fe2a5758e6a00074d13b8272c
Author: Eric Turgeon <ericbsd@FreeBSD.org>
AuthorDate: 2026-06-02 10:57:04 +0000
Commit: Eric Turgeon <ericbsd@FreeBSD.org>
CommitDate: 2026-06-02 10:57:16 +0000
editors/pluma: 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. Remove autoreconf, autoconf-archive,
yelp-tools, and mate-submodules, not needed with release tarballs.
Patch Makefile.in to drop API docs from SUBDIRS. Fix sh_CMD to use
${SH}.
---
editors/pluma/Makefile | 21 +++++++++------------
editors/pluma/distinfo | 8 +++-----
editors/pluma/files/patch-Makefile.in | 20 ++++++++++++++++++++
editors/pluma/files/patch-configure.ac | 8 --------
.../pluma/files/patch-docs-reference-Makefile.am | 10 ----------
5 files changed, 32 insertions(+), 35 deletions(-)
diff --git a/editors/pluma/Makefile b/editors/pluma/Makefile
index c2c01832328c..ca1735eb94b9 100644
--- a/editors/pluma/Makefile
+++ b/editors/pluma/Makefile
@@ -1,7 +1,8 @@
PORTNAME= pluma
-DISTVERSIONPREFIX= v
DISTVERSION= 1.28.1
CATEGORIES= editors mate
+MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= gnome@FreeBSD.org
COMMENT= Small but powerful text editor for MATE Desktop Environment
@@ -11,29 +12,25 @@ LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= itstool:textproc/itstool \
- iso-codes>=0:misc/iso-codes \
- autoconf-archive>=0:devel/autoconf-archive \
- yelp-tools>=0:textproc/yelp-tools
+ iso-codes>=0:misc/iso-codes
LIB_DEPENDS= libenchant-2.so:textproc/enchant2 \
libpeas-gtk-1.0.so:devel/libpeas1
RUN_DEPENDS= iso-codes>=0:misc/iso-codes
-PORTSCOUT= limitw:1,even
-
-USE_GITHUB= yes
+USES= compiler:c11 desktop-file-utils gettext-tools gmake gnome libtool localbase \
+ mate pathfix pkgconfig python shebangfix tar:xz xorg
+USE_GITHUB= nodefault
GH_ACCOUNT= mate-desktop
-GH_TUPLE= mate-desktop:mate-submodules:54fff1b:submodules/pluma/mate-submodules
-USES= autoreconf compiler:c11 desktop-file-utils gettext-tools gmake gnome libtool localbase \
- pathfix pkgconfig python shebangfix xorg mate
USE_XORG= ice sm x11
USE_GNOME= cairo gdkpixbuf gnomeprefix gtk30 gtksourceview4 \
intltool introspection libxml2
USE_MATE= desktop common:build
-USE_LDCONFIG= yes
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
INSTALL_TARGET= install-strip
+PORTSCOUT= limitw:1,even
+
SHEBANG_FILES= \
${WRKSRC}/data/pluma-bugreport.sh.in \
${WRKSRC}/plugins/externaltools/data/build.tool.in \
@@ -43,7 +40,7 @@ SHEBANG_FILES= \
${WRKSRC}/plugins/externaltools/data/search-recursive.tool.in \
${WRKSRC}/plugins/externaltools/data/switch-c.tool.in
SHEBANG_LANG= sh
-sh_CMD= /bin/sh
+sh_CMD= ${SH}
GLIB_SCHEMAS= org.mate.pluma.gschema.xml \
org.mate.pluma.plugins.filebrowser.gschema.xml \
diff --git a/editors/pluma/distinfo b/editors/pluma/distinfo
index fe15d82a5a20..498a12b76a63 100644
--- a/editors/pluma/distinfo
+++ b/editors/pluma/distinfo
@@ -1,5 +1,3 @@
-TIMESTAMP = 1779843238
-SHA256 (mate-desktop-pluma-v1.28.1_GH0.tar.gz) = e769739a278cc136acd88653b68b90ee3dae5b6162632608a3fbf6093245c4a0
-SIZE (mate-desktop-pluma-v1.28.1_GH0.tar.gz) = 7484468
-SHA256 (mate-desktop-mate-submodules-54fff1b_GH0.tar.gz) = 66cde56dacbd15b7134f51c0f80e6567ee7af05157711ce3ef49973718433b7b
-SIZE (mate-desktop-mate-submodules-54fff1b_GH0.tar.gz) = 33344
+TIMESTAMP = 1780310017
+SHA256 (pluma-1.28.1.tar.xz) = 27137ff1bb1c53a90d2308b8a6b203e5d07f13a644a0d950f3ead7bb9cf1e241
+SIZE (pluma-1.28.1.tar.xz) = 4053608
diff --git a/editors/pluma/files/patch-Makefile.in b/editors/pluma/files/patch-Makefile.in
new file mode 100644
index 000000000000..392d296d05bf
--- /dev/null
+++ b/editors/pluma/files/patch-Makefile.in
@@ -0,0 +1,20 @@
+--- Makefile.in.orig 2026-06-01 10:42:34 UTC
++++ Makefile.in
+@@ -165,7 +165,7 @@ am__define_uniq_tagged_files = \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
+-DIST_SUBDIRS = po pluma pixmaps data plugins docs help tests
++DIST_SUBDIRS = po pluma pixmaps data plugins help tests
+ am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
+ ABOUT-NLS AUTHORS COPYING ChangeLog NEWS README.md compile \
+ config.guess config.rpath config.sub install-sh ltmain.sh \
+@@ -419,7 +419,7 @@ top_srcdir = @top_srcdir@
+ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-SUBDIRS = po pluma pixmaps data plugins docs help $(am__append_1)
++SUBDIRS = po pluma pixmaps data plugins help $(am__append_1)
+ distuninstallcheck_listfiles = find . -type f -print
+ EXTRA_DIST = \
+ autogen.sh \
diff --git a/editors/pluma/files/patch-configure.ac b/editors/pluma/files/patch-configure.ac
deleted file mode 100644
index 0131a2008ad4..000000000000
--- a/editors/pluma/files/patch-configure.ac
+++ /dev/null
@@ -1,8 +0,0 @@
---- configure.ac.orig
-+++ configure.ac
-@@ -42,8 +42,6 @@ LT_PREREQ([2.2.6])
- LT_INIT(disable-static)
-
--GTK_DOC_CHECK([1.0],[--flavour=no-tmpl])
--
- AC_CHECK_LIB(m, floor)
diff --git a/editors/pluma/files/patch-docs-reference-Makefile.am b/editors/pluma/files/patch-docs-reference-Makefile.am
deleted file mode 100644
index 04aeee5f6751..000000000000
--- a/editors/pluma/files/patch-docs-reference-Makefile.am
+++ /dev/null
@@ -1,10 +0,0 @@
---- docs/reference/Makefile.am.orig
-+++ docs/reference/Makefile.am
-@@ -80,7 +80,6 @@ GTKDOC_LIBS= \
- $(PLUMA_LIBS)
-
--# This includes the standard gtk-doc make rules, copied by gtkdocize.
--include $(top_srcdir)/gtk-doc.make
-+# gtk-doc disabled
-
- # Other files to distribute