diff --git a/textproc/hunspell-en/Portfile b/textproc/hunspell-en/Portfile index 36a2b6c827e6b..05b5dd554483d 100644 --- a/textproc/hunspell-en/Portfile +++ b/textproc/hunspell-en/Portfile @@ -4,7 +4,7 @@ PortSystem 1.0 name hunspell-en version 2017.08.24 -revision 1 +revision 2 distname scowl-${version} categories textproc license permissive @@ -49,6 +49,17 @@ subport hunspell-en { } } +# use MacPorts perl https://trac.macports.org/ticket/55116 +pre-configure { + reinplace -locale C -W ${worksrcpath} "s|/usr/bin/perl|${prefix}/bin/perl|g" mk-list + reinplace -locale C -W ${worksrcpath}/speller "s|/usr/bin/perl|${prefix}/bin/perl|g" \ + add-no-suggest munch-list + reinplace -locale C -W ${worksrcpath}/src "s|/usr/bin/perl|${prefix}/bin/perl|g" \ + add-accents add-affixes add-other-forms add-other-spellings clean-alan-list \ + cmp-final count find-ss get-level make-README proc-alt12dicts proc-census \ + proc-neol proc-uk-freq-class rand-sample.pl rand-samples remove-plurals +} + subport hunspell-en_AU { long_description ${description}: AU English dictionary