1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

editors/mousepad: Add spelling support

- Add new SPELL option enabled by default to compile in spelling
  support
- Remove unneeded dependency on xfconf
- Also add missing INSTALLS_ICONS

PR:	256303
This commit is contained in:
Guido Falsi 2021-06-03 17:29:22 +02:00
parent 0932acb439
commit cb4dde7e1f
2 changed files with 15 additions and 4 deletions

View File

@ -2,6 +2,7 @@
PORTNAME= mousepad
PORTVERSION= 0.5.5
PORTREVISION= 1
CATEGORIES= editors xfce
MASTER_SITES= XFCE/apps
DIST_SUBDIR= xfce4
@ -12,22 +13,31 @@ COMMENT= Simple text editor for the Xfce Desktop
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libharfbuzz.so:print/harfbuzz
USES= desktop-file-utils gettext-tools gmake gnome libtool perl5 \
pkgconfig tar:bzip2 xfce
USE_GNOME= cairo dconf gdkpixbuf2 glib20 gtk30 gtksourceview3 intlhack \
intltool
USE_XFCE= xfconf
USE_GNOME= cairo dconf gdkpixbuf2 glib20 gtk30 gtksourceview3 intltool
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
INSTALL_TARGET= install-strip
GLIB_SCHEMAS= org.xfce.mousepad.gschema.xml
OPTIONS_DEFINE= NLS
OPTIONS_DEFINE= NLS SPELL
OPTIONS_DEFAULT= SPELL
OPTIONS_SUB= yes
SPELL_DESC= Spell checking plugin
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext-runtime
SPELL_CONFIGURE_ENABLE= plugin-gspell
SPELL_LIB_DEPENDS= libgspell-1.so:textproc/gspell \
libenchant-2.so:textproc/enchant2
SPELL_VARS= GLIB_SCHEMAS+=org.xfce.mousepad.plugins.gspell.gschema.xml
.include <bsd.port.mk>

View File

@ -2,6 +2,7 @@ bin/mousepad
lib/libmousepad.so
lib/libmousepad.so.0
lib/libmousepad.so.0.0.0
%%SPELL%%lib/mousepad/plugins/libmousepad-plugin-gspell.so
share/applications/mousepad-settings.desktop
share/applications/mousepad.desktop
share/icons/hicolor/128x128/apps/org.xfce.mousepad.png