aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAoek <pr@aoek.com>2021-11-12 07:40:57 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2021-11-12 12:41:53 +0000
commita01abc9d55203c84e47d9a8b4b458165ed5099c1 (patch)
treec01236604a279ae96fcf27e605e82b91737308df
parent44047b6c123f44d26dcdf774ac4010210f881d7e (diff)
downloadports-a01abc9d55203c84e47d9a8b4b458165ed5099c1.tar.gz
ports-a01abc9d55203c84e47d9a8b4b458165ed5099c1.zip
graphics/xsane: Fix GIMP plugin install instructions
update pkg-message to install GIMP plugin in the correct location. While here, pet linters. PR: 259747 Reported by: pr@aoek.com
-rw-r--r--graphics/xsane/Makefile6
-rw-r--r--graphics/xsane/files/pkg-message.in4
2 files changed, 5 insertions, 5 deletions
diff --git a/graphics/xsane/Makefile b/graphics/xsane/Makefile
index a84cfb7c8bac..7b8116a28fd8 100644
--- a/graphics/xsane/Makefile
+++ b/graphics/xsane/Makefile
@@ -29,16 +29,16 @@ GNU_CONFIGURE= yes
PORTDOCS= *.html *.jpg
OPTIONS_DEFINE= DOCS GIMP NLS
-GIMP_DESC= GIMP plugin support
OPTIONS_DEFAULT= GIMP
-
OPTIONS_SUB= yes
+GIMP_DESC= GIMP plugin support
+
GIMP_LIB_DEPENDS= libgimp-2.0.so:graphics/gimp-app
GIMP_CONFIGURE_ENABLE= gimp2 gimp
GIMP_SUB_FILES= pkg-message
-NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
+NLS_CONFIGURE_ENABLE= nls
NLS_LIBS= -L${LOCALBASE}/lib -lintl
post-patch:
diff --git a/graphics/xsane/files/pkg-message.in b/graphics/xsane/files/pkg-message.in
index d1c2d7817cfd..62eab4f6d1bd 100644
--- a/graphics/xsane/files/pkg-message.in
+++ b/graphics/xsane/files/pkg-message.in
@@ -1,9 +1,9 @@
[
{ type: install
message: <<EOM
-To install XSane as a GIMP plug-in, please type:
+To install XSane as a GIMP plug-in, please type the following from a /bin/sh shell:
- ln -sf %%LOCALBASE%%/bin/xsane ~/.gimp-*/plug-ins/xsane
+ cd ~/.config/GIMP && for i in *; { ln -sf %LOCALBASE%%/bin/xsane "$i/plug-ins/xsane"; }
Then run the GIMP, and a new "XSane" menu item should appear in the
"File -> Create" menu.