Files
haikuports/app-dicts/aspell_pt_pt/aspell_pt_pt-20070510~0.recipe
fbrosson 44700fb58c 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).
2016-04-22 22:10:44 +00:00

44 lines
913 B
Bash

SUMMARY="Portuguese dictionary for aspell program/library"
DESCRIPTION="Portuguese language dictionary for the GNU Aspell program, an \
open source spell checker."
HOMEPAGE="http://aspell.net/"
COPYRIGHT="2006-2007 José João Almeida, Alberto Simões, Rui Vilela"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://ftpmirror.gnu.org/aspell/dict/pt_PT/aspell6-pt_PT-${portVersion/\~/-}.tar.bz2"
CHECKSUM_SHA256="b8b7a71a480f2a6659a3ab1e6069d4be7a9a929fc520e4a1364f51ce484ad9d6"
SOURCE_DIR="aspell6-pt_PT-${portVersion/\~/-}"
ARCHITECTURES="any"
PROVIDES="
aspell_pt_pt = $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
}