SUMMARY="A free and open source spell checker" DESCRIPTION="GNU Aspell is a Free and Open Source spell checker designed to \ eventually replace Ispell. It can either be used as a library or as an \ independent spell checker. Its main feature is that it does a superior job of \ suggesting possible replacements for a misspelled word than just about any \ other spell checker out there for the English language. Unlike Ispell, Aspell \ can also easily check documents in UTF-8 without having to use a special \ dictionary. Aspell will also do its best to respect the current locale \ setting. Other advantages over Ispell include support for using multiple \ dictionaries at once and intelligently handling personal dictionaries when \ more than one Aspell process is open at once." HOMEPAGE="http://aspell.net/" COPYRIGHT="2000-2006 Kevin Atkinson" LICENSE="GNU LGPL v2" REVISION="1" SOURCE_URI="https://ftpmirror.gnu.org/aspell/aspell-$portVersion.tar.gz https://ftp.gnu.org/gnu/aspell/aspell-$portVersion.tar.gz" CHECKSUM_SHA256="f9b77e515334a751b2e60daab5db23499e26c9209f5e7b7443b05235ad0226f2" ARCHITECTURES="all" SECONDARY_ARCHITECTURES="x86" PROVIDES=" aspell$secondaryArchSuffix = $portVersion compat >= 0.60 cmd:aspell$secondaryArchSuffix = $portVersion compat >= 0.60 cmd:aspell_import$secondaryArchSuffix = $portVersion compat >= 0.60 cmd:precat$secondaryArchSuffix = $portVersion compat >= 0.60 cmd:preunzip$secondaryArchSuffix = $portVersion compat >= 0.60 cmd:prezip$secondaryArchSuffix = $portVersion compat >= 0.60 cmd:prezip_bin$secondaryArchSuffix = $portVersion compat >= 0.60 cmd:pspell_config$secondaryArchSuffix = $portVersion compat >= 0.60 cmd:run_with_aspell$secondaryArchSuffix = $portVersion compat >= 0.60 cmd:word_list_compress$secondaryArchSuffix = $portVersion compat >= 0.60 lib:libaspell$secondaryArchSuffix = 15.1.5 compat >= 15 lib:libpspell$secondaryArchSuffix = 15.1.5 compat >= 15 " REQUIRES=" haiku$secondaryArchSuffix lib:libncurses$secondaryArchSuffix " PROVIDES_devel=" aspell${secondaryArchSuffix}_devel = $portVersion compat >= 0.60 devel:libaspell$secondaryArchSuffix = 15.1.5 compat >= 15 devel:libpspell$secondaryArchSuffix = 15.1.5 compat >= 15 " REQUIRES_devel=" aspell$secondaryArchSuffix == $portVersion " BUILD_REQUIRES=" devel:libncurses$secondaryArchSuffix " BUILD_PREREQUIRES=" haiku${secondaryArchSuffix}_devel cmd:aclocal cmd:autoconf cmd:automake cmd:gcc$secondaryArchSuffix cmd:libtoolize cmd:make cmd:perl " PATCH() { sed -i "s,AM_CONFIG_HEADER,AC_CONFIG_HEADERS," configure.ac } BUILD() { libtoolize --force --copy --install aclocal -I m4 autoconf automake --add-missing runConfigure ./configure \ --enable-compile-in-filters \ --enable-dict-dir=$dataDir/aspell-0.60 make } INSTALL() { make install rm $libDir/*.la prepareInstalledDevelLibs libaspell libpspell packageEntries devel $developDir }