Files
haikuports/app-dicts/aspell_pt_br/aspell_pt_br-20090702~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
936 B
Bash

SUMMARY="Brazilian Portuguese dictionary for aspell program/library"
DESCRIPTION="Brazilian Portuguese language dictionary for the GNU Aspell \
program, an open source spell checker."
HOMEPAGE="http://aspell.net/"
COPYRIGHT="2006-2009 Leonardo Ferreira Fontenelle, Raimundo Santos Moura"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://ftpmirror.gnu.org/aspell/dict/pt_BR/aspell6-pt_BR-${portVersion/\~/-}.tar.bz2"
CHECKSUM_SHA256="77fc554aa9bbd5f4a87b58edf0d128838e92e4db6299904bb9360bf753a709f8"
SOURCE_DIR="aspell6-pt_BR-${portVersion/\~/-}"
ARCHITECTURES="any"
PROVIDES="
aspell_pt_br = $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
}