aboutsummaryrefslogtreecommitdiff
path: root/editors/xed
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2020-05-14 14:27:22 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2020-05-14 14:27:22 +0000
commit8201a7ecc798aa0d8d27c278873ae8ac7d44525c (patch)
treeb0d23bfaf6d84f47170cb142dff3a05b8607f625 /editors/xed
parentcd59f05ea2e8c687bbae7f9273bd74e92c0a8077 (diff)
downloadports-8201a7ecc798aa0d8d27c278873ae8ac7d44525c.tar.gz
ports-8201a7ecc798aa0d8d27c278873ae8ac7d44525c.zip
- Update `editors/xed' to version 2.6.0, adjust LICENSE
- Ignore bogus `master.mintXX' tags, track normal versions - Enable optional spell checking support (with gspell) Found out via: repology.org
Notes
Notes: svn path=/head/; revision=535240
Diffstat (limited to 'editors/xed')
-rw-r--r--editors/xed/Makefile19
-rw-r--r--editors/xed/distinfo6
-rw-r--r--editors/xed/pkg-plist2
3 files changed, 20 insertions, 7 deletions
diff --git a/editors/xed/Makefile b/editors/xed/Makefile
index de007c3aa965..7243f2c6b272 100644
--- a/editors/xed/Makefile
+++ b/editors/xed/Makefile
@@ -2,13 +2,15 @@
# $FreeBSD$
PORTNAME= xed
-PORTVERSION= 2.4.2
+PORTVERSION= 2.6.0
CATEGORIES= editors
MAINTAINER= danfe@FreeBSD.org
COMMENT= Small and lightweight graphical text editor
-LICENSE= GPLv2
+LICENSE= GPLv2+
+
+PORTSCOUT= limit:^[0-9.]+$$ # ignore master.mint* tags
BUILD_DEPENDS= intltool-merge:textproc/intltool \
itstool:textproc/itstool
@@ -22,13 +24,22 @@ USE_GITHUB= yes
GH_ACCOUNT= linuxmint
USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 gtksourceview3 \
introspection pango
+USE_LDCONFIG= yes
USE_XORG= x11
GLIB_SCHEMAS= org.x.editor.gschema.xml \
org.x.editor.plugins.filebrowser.gschema.xml \
org.x.editor.plugins.time.gschema.xml \
org.x.editor.plugins.wordcompletion.gschema.xml
-# XXX: should become OPTIONs
-MESON_ARGS= -Denable_spell=false
+OPTIONS_DEFINE= GSPELL
+OPTIONS_DEFAULT= GSPELL
+GSPELL_DESC= Spell checking support via gspell
+
+GSPELL_LIB_DEPENDS= libgspell-1.so:textproc/gspell
+GSPELL_MESON_OFF= -Denable_spell=false
+GSPELL_PLIST_FILES= lib/xed/plugins/libspell.so \
+ lib/xed/plugins/spell.plugin \
+ ${DATADIR_REL}/plugins/spell/xed-spell-setup-dialog.ui
+GSPELL_VARS= GLIB_SCHEMAS+=org.x.editor.plugins.spell.gschema.xml
.include <bsd.port.mk>
diff --git a/editors/xed/distinfo b/editors/xed/distinfo
index 66cc992f8a9b..4a7730331c6f 100644
--- a/editors/xed/distinfo
+++ b/editors/xed/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1576075791
-SHA256 (linuxmint-xed-2.4.2_GH0.tar.gz) = ead304447e23be359f979d8d74c083f1369e2799c84955c71263aacf4228f1a9
-SIZE (linuxmint-xed-2.4.2_GH0.tar.gz) = 4029991
+TIMESTAMP = 1589201969
+SHA256 (linuxmint-xed-2.6.0_GH0.tar.gz) = bf87d68acf28f94d0a6530a0cb19fa9dc2be45d14c1ed4ab8ba233ff23c60d00
+SIZE (linuxmint-xed-2.6.0_GH0.tar.gz) = 4827260
diff --git a/editors/xed/pkg-plist b/editors/xed/pkg-plist
index 3a9ac4032998..3709f88f62c4 100644
--- a/editors/xed/pkg-plist
+++ b/editors/xed/pkg-plist
@@ -23,6 +23,8 @@ lib/xed/girepository-1.0/Xed-1.0.typelib
lib/xed/libxed.so
lib/xed/plugins/docinfo.plugin
lib/xed/plugins/filebrowser.plugin
+lib/xed/plugins/joinlines.plugin
+lib/xed/plugins/joinlines/__init__.py
lib/xed/plugins/libdocinfo.so
lib/xed/plugins/libfilebrowser.so
lib/xed/plugins/libmodelines.so