aspell: bump en dictionary & add de, es, it, pl, pt_BR, pt_PT, ru. (#571)

* Bump aspell_en to 2016.01.19-0 and switch it to "any" arch.
* Do not use 2016.01.19_0 but 2016.01.19~0 (i.e. with a tilde instead
  of the underscore) in the name of the recipe in order to be able to
  define SOURCE_{URI,DIR} using "${portVersion/\~/-}", thus avoiding
  hard-coded version-related strings in the recipe.
* Remove from aspell_en's DESCRIPTION what's already in aspell's.
* Add: de (German), es (Spanish), it (Italian), pl (Polish), pt_BR
  (Brazilian Portuguese), pt_PT (Portuguese), ru (Russian).
This commit is contained in:
fbrosson
2016-04-22 22:10:44 +00:00
parent eb912d4092
commit 44700fb58c
9 changed files with 347 additions and 46 deletions

View File

@@ -0,0 +1,43 @@
SUMMARY="English dictionary for aspell program/library"
DESCRIPTION="English (US, British, Canadian) language dictionary for the GNU \
Aspell program, an open source spell checker."
HOMEPAGE="http://aspell.net/"
COPYRIGHT="2000-2016 Kevin Atkinson"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://ftpmirror.gnu.org/aspell/dict/en/aspell6-en-${portVersion/\~/-}.tar.bz2"
CHECKSUM_SHA256="96edd3ad4928ce939a9dbba550c4f3573fc1b264872cbf1cabe63e4b09650406"
SOURCE_DIR="aspell6-en-${portVersion/\~/-}"
ARCHITECTURES="any"
PROVIDES="
aspell_en = $portVersion
"
REQUIRES="
haiku
aspell >= 0.60
"
BUILD_REQUIRES="
devel:libaspell
"
BUILD_PREREQUIRES="
haiku_devel
cmd:make
cmd:prezip_bin
cmd:which
cmd:basename
"
BUILD()
{
./configure
make
}
INSTALL()
{
spellDir=$dataDir/$(basename $(aspell dump config dict-dir))
make dictdir=$spellDir datadir=$spellDir install
}

View File

@@ -1,46 +0,0 @@
SUMMARY="English dictionary for aspell program/library"
DESCRIPTION="English (US, British, Canadian) language dictionary for the GNU \
Aspell program, an open source spell checker. Its advantage is its superiority \
of suggesting possible replacements for a misspelled wordx than most other \
spellcheck programs. Aspell is also able to maintain support for more than one \
language at a time and can check documents in UTF-8."
HOMEPAGE="http://aspell.net/"
COPYRIGHT="2000-2011 Kevin Atkinson"
LICENSE="GNU GPL v2"
REVISION="2"
SOURCE_URI="http://ftpmirror.gnu.org/aspell/dict/en/aspell6-en-7.1-0.tar.bz2"
CHECKSUM_SHA256="ff9df3c2e8c5bb19c6a66078b36a0ef4c4dfb0fcb969e29f7b5345e26d748d0a"
SOURCE_DIR="aspell6-en-7.1-0"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
aspell_en = $portVersion
"
REQUIRES="
haiku
aspell >= 0.60
"
BUILD_REQUIRES="
devel:libaspell
"
BUILD_PREREQUIRES="
haiku_devel
cmd:make
cmd:prezip_bin
cmd:which
cmd:basename
"
BUILD()
{
./configure
make
}
INSTALL()
{
spellDir=$dataDir/$(basename $(aspell dump config dict-dir))
make dictdir=$spellDir datadir=$spellDir install
}