# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup github 1.0
github.setup hunspell hunspell 1.7.0 v
revision 1
license {GPL-2+ LGPL-2.1+ MPL-1.1+}
categories textproc
maintainers nomaintainer
description Spell checker and morphological analyzer
homepage https://hunspell.github.io/
platforms darwin
long_description Hunspell is a spell checker and morphological analyzer library and program \
designed for languages with rich morphology and complex word compounding or \
character encoding. Hunspell interfaces: Ispell-like terminal interface \
using Curses library, Ispell pipe interface, OpenOffice.org UNO module.
checksums rmd160 ed6b7276209cb87b0b334da7141404667bba1ccd \
sha256 7dc48b233424061c11bda2b5207310458cb106bcbf8d2bbdb7f3915a8f312342 \
size 482217
conflicts freeling
patchfiles patch-hunspell.cxx.diff
depends_lib port:gettext port:ncurses port:readline
use_autoreconf yes
autoreconf.args -fvi
configure.cppflags-append -DLIBDIR=\\"${prefix}/share/hunspell\\"
configure.args --with-ui --with-readline
test.run yes
test.target check
post-destroot {
set docdir ${prefix}/share/doc/${name}
xinstall -d ${destroot}${docdir}
xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING COPYING.LESSER COPYING.MPL \
ChangeLog NEWS README THANKS ${destroot}${docdir}
}
notes "
You must install (at least) one of the language dictionaries after installing\
this port in order for it to work.
"