# $Id: Portfile 124309 2014-08-22 15:52:25Z jmr@macports.org $

PortSystem 1.0

set langcode        fa
name                aspell-dict-${langcode}
version             0.11-0
categories          textproc
license             GPL-2+
maintainers         nomaintainer
description         ${langcode} dictionary for aspell
long_description    ${description}
homepage	        http://aspell.net/
platforms	        darwin
supported_archs     noarch

master_sites	    gnu:aspell/dict/${langcode}
distname	        aspell6-${langcode}-${version}
checksums	        md5     47c8599e529fc291a096c12f0b8372ca \
                    sha1    2d3427b9d274c0dbbcbbf78752afc19b1e31a41a \
                    rmd160  c62235e93d9967f83a7fe44006b82beac619264c

use_bzip2           yes

depends_build       port:aspell

configure.pre_args  {}
configure.args      --vars \
                    ASPELL=${prefix}/bin/aspell \
                    WORD_LIST_COMPRESS=${prefix}/bin/word-list-compress

livecheck.regex     >aspell6-${langcode}-(.*?)\\.tar\\.
