SUMMARY="Finnish dictionary for aspell program/library"
DESCRIPTION="Finnish dictionary for the GNU Aspell program, an open source \
spell checker."
HOMEPAGE="http://aspell.net/"
COPYRIGHT="2000-2004 Martin Vermeer, Pauli Virtanen"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://ftpmirror.gnu.org/aspell/dict/fi/aspell6-fi-${portVersion/\~/-}.tar.bz2"
CHECKSUM_SHA256="f8d7f07b4511e606eb56392ddaa76fd29918006331795e5942ad11b510d0a51d"
SOURCE_DIR="aspell6-fi-${portVersion/\~/-}"

ARCHITECTURES="any"

PROVIDES="
	aspell_fi = $portVersion
	"
REQUIRES="
	haiku
	aspell >= 0.60
	"

BUILD_REQUIRES="
	devel:libaspell
	"
BUILD_PREREQUIRES="
	haiku_devel
	cmd:basename
	cmd:make
	cmd:prezip_bin
	cmd:which
	"

BUILD()
{
	./configure
	make
}

INSTALL()
{
	spellDir=$dataDir/$(basename $(aspell dump config dict-dir))
	make dictdir=$spellDir datadir=$spellDir install
}
