# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem 1.0

set langcode        ms
name                aspell-dict-${langcode}
version             0.50-0
categories          textproc
license             {GFDL-1.2 PDL-1}
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	        aspell-${langcode}-${version}
checksums           md5     cfdd94bba4781766c5d870202abd60e0 \
                    sha1    2f6bbe94bb717ee0009408f96800536891317d83 \
                    rmd160  2b5358f6bb2ad63bbdaf5562812d2095024bfb74

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.type      regex
livecheck.url       http://ftp.gnu.org/gnu/aspell/dict/0index.html
livecheck.regex     >aspell(?:5|6)?-${langcode}-(.*?)\\.tar\\.
