# -*- 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 cmake 1.1 PortGroup github 1.0 PortGroup legacysupport 1.1 # please rev-bump enchant2 when the library version changes github.setup nuspell nuspell 5.1.3 v github.tarball_from archive revision 0 homepage https://nuspell.github.io description Fast and safe spellchecking C++ library long_description Nuspell is a fast and safe spelling checker software \ program. It is designed for languages with rich \ morphology and complex word compounding. Nuspell is \ written in modern C++ and it supports Hunspell \ dictionaries. categories textproc license LGPL-3+ maintainers {gmail.com:herby.gillot @herbygillot} \ openmaintainer checksums rmd160 7d6afdc07247121997c30ba46363f02ad07e84a4 \ sha256 2b1c96bdc5a32a17fc8fc24a0c205fa52b0a2920dd6139b0a7d7744cdef48c22 \ size 371496 depends_lib-append path:lib/pkgconfig/icu-uc.pc:icu compiler.cxx_standard \ 2017 configure.args-append \ -DBUILD_TESTING=OFF set hunspell_path ${prefix}/share/hunspell patchfiles patch-finder-cxx.diff post-patch { reinplace "s|@@HUNSPELL_PATH@@|${hunspell_path}|g" \ ${worksrcpath}/src/nuspell/finder.cxx } notes " You must install (at least) one of the language dictionaries after installing\ this port in order for it to work. One suggestion is the Hunspell US English dictionary: \$ sudo port install hunspell-en_US "