diff --git a/app-dicts/mythes/mythes-1.2.4.recipe b/app-text/mythes/mythes-1.2.4.recipe similarity index 82% rename from app-dicts/mythes/mythes-1.2.4.recipe rename to app-text/mythes/mythes-1.2.4.recipe index 8c978c9e5..83f788406 100644 --- a/app-dicts/mythes/mythes-1.2.4.recipe +++ b/app-text/mythes/mythes-1.2.4.recipe @@ -14,7 +14,7 @@ with no warnigns so it shouldbe quite portable text file and create the index needed for binary \ searching - it is very simple with *lots* of comments. \ -The main "smarts" are in the structure of the \ +The main \"smarts\" are in the structure of the \ text file that makes up the thesaurus data - It comes with a ready-to-go structured thesaurus \ data file for en_US extracted from the WordNet-2.0 data. @@ -24,44 +24,47 @@ for more information on the very useful project! regenerate an up to date English thesaurus from the most \ recent WordNet data." HOMEPAGE="https://sourceforge.net/projects/hunspell/files/MyThes/1.2.4" -COPYRIGHT="1994 - 2009 Free Software Foundation, Inc." +COPYRIGHT="1994-2009 Free Software Foundation, Inc." LICENSE="BSD (2-clause)" -REVISION="2" +REVISION="3" SOURCE_URI="http://prdownloads.sf.net/hunspell/mythes-1.2.4.tar.gz" CHECKSUM_SHA256="1e81f395d8c851c3e4e75b568e20fa2fa549354e75ab397f9de4b0e0790a305f" -ARCHITECTURES="x86_gcc2" +ARCHITECTURES="x86_gcc2 x86_64" SECONDARY_ARCHITECTURES="x86" +libVersion=1.2.4 +libVersionCompat="$libVersion compat >= ${libVersion%%.*}" + PROVIDES=" mythes$secondaryArchSuffix = $portVersion cmd:mythes = $portVersion cmd:th_gen_idx.pl - lib:libmythes_1.2$secondaryArchSuffix = $portVersion + lib:libmythes_1.2$secondaryArchSuffix = $libVersionCompat " REQUIRES=" haiku$secondaryArchSuffix - lib:libhunspell_1.3$secondaryArchSuffix + lib:libhunspell_1.6$secondaryArchSuffix cmd:perl " PROVIDES_devel=" - devel:libmythes_1.2$secondaryArchSuffix = $portVersion mythes${secondaryArchSuffix}_devel = $portVersion + devel:libmythes_1.2$secondaryArchSuffix = $libVersion " REQUIRES_devel=" mythes$secondaryArchSuffix == $portVersion base " BUILD_REQUIRES=" - devel:libhunspell_1.3$secondaryArchSuffix + haiku${secondaryArchSuffix}_devel + devel:libhunspell_1.6$secondaryArchSuffix " BUILD_PREREQUIRES=" + cmd:awk cmd:gcc$secondaryArchSuffix cmd:make cmd:pkg_config$secondaryArchSuffix - cmd:awk - haiku${secondaryArchSuffix}_devel " BUILD() @@ -76,6 +79,8 @@ INSTALL() prepareInstalledDevelLibs \ libmythes-1.2 + fixPkgconfig + packageEntries devel \ $developDir }