aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2021-08-16 12:50:42 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2021-08-17 05:27:04 +0000
commit32cf8dd59c513ac04f8d91e77b1f04c8768b70fb (patch)
tree2df2fc057d6a6a44422cdbf9d62517a84163358e
parent5103b3c3077d508f8d11d0de190ee849e628c9b5 (diff)
downloadports-32cf8dd59c513ac04f8d91e77b1f04c8768b70fb.tar.gz
ports-32cf8dd59c513ac04f8d91e77b1f04c8768b70fb.zip
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 (cherry picked from commit 3b26637cd90d6e9b3f8a392e293cd5e181f51c64)
-rw-r--r--german/hunspell/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/german/hunspell/Makefile b/german/hunspell/Makefile
index 66d7235b59a2..c7b8fca0dcad 100644
--- a/german/hunspell/Makefile
+++ b/german/hunspell/Makefile
@@ -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