german/hunspell: fix swiss-german dictionary

- The swiss-german dictionary was not properly prepared, as the used
  sed (/bin/sed) was unable to replace 'ß' by 'ss'.

- Use the shebangfix framework to make it use gsed, which is already
  depended on.

Approved by:	office (fluffy)
PR:		257882
This commit is contained in:
Tobias C. Berner 2021-08-16 14:50:42 +02:00
parent 860db9c73e
commit 3b26637cd9

View File

@ -1,6 +1,6 @@
PORTNAME= hunspell
PORTVERSION= 20161207
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= german textproc
MASTER_SITES= https://www.j3e.de/ispell/igerman98/dict/ \
LOCAL/sunpoet/${PORTNAME}
@ -25,7 +25,11 @@ USE_PERL5= build
ALL_TARGET= hunspell-all
NO_ARCH= yes
SHEBANG_FILES= bin/*.pl
SHEBANG_FILES= bin/*.pl \
bin/conv_dict_de_CH
SHEBANG_LANG= sed
sed_OLD_CMD= /bin/sed
sed_CMD= ${LOCALBASE}/bin/gsed
BINARY_ALIAS= sed=${LOCALBASE}/bin/gsed