Skip to content

Commit

Permalink
graphics/xsane: Fix GIMP plugin install instructions
Browse files Browse the repository at this point in the history
update pkg-message to install GIMP plugin in the correct location.

While here, pet linters.

PR:	259747
Reported by:	pr@aoek.com
  • Loading branch information
Aoek authored and fernape committed Nov 12, 2021
1 parent 44047b6 commit a01abc9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions graphics/xsane/Makefile
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions 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.
Expand Down

0 comments on commit a01abc9

Please sign in to comment.