git: 3b26637cd90d - main - german/hunspell: fix swiss-german dictionary

Tobias C. Berner tcberner at FreeBSD.org
Tue Aug 17 05:25:34 UTC 2021


The branch main has been updated by tcberner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3b26637cd90d6e9b3f8a392e293cd5e181f51c64

commit 3b26637cd90d6e9b3f8a392e293cd5e181f51c64
Author:     Tobias C. Berner <tcberner at FreeBSD.org>
AuthorDate: 2021-08-16 12:50:42 +0000
Commit:     Tobias C. Berner <tcberner at FreeBSD.org>
CommitDate: 2021-08-17 05:24:08 +0000

    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
---
 german/hunspell/Makefile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/german/hunspell/Makefile b/german/hunspell/Makefile
index c1e95d240371..28b34bcc75ad 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
 


More information about the dev-commits-ports-main mailing list