aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.