SUMMARY="Polish dictionary for aspell program/library"
DESCRIPTION="Polish language dictionary for the GNU Aspell program, an open \
source spell checker."
HOMEPAGE="http://aspell.net/"
COPYRIGHT="2003-2006 Marek Futrega et al."
LICENSE="GNU GPL v2
	GNU LGPL v2.1
	MPL v1.1"
REVISION="1"
SOURCE_URI="http://ftpmirror.gnu.org/aspell/dict/pl/aspell6-pl-${portVersion/\~/-}.tar.bz2"
CHECKSUM_SHA256="017741fcb70a885d718c534160c9de06b03cc72f352879bd106be165e024574d"
SOURCE_DIR="aspell6-pl-${portVersion/\~/-}"

ARCHITECTURES="any"

PROVIDES="
	aspell_pl = $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
}
