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
This commit is contained in:
Aoek 2021-11-12 08:40:57 +01:00 committed by Fernando Apesteguía
parent 44047b6c12
commit a01abc9d55
2 changed files with 5 additions and 5 deletions

View File

@ -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:

View File

@ -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.