# -*- 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        sk
name                aspell-dict-${langcode}
version             2.01-2
categories          textproc
license             {LGPL-2.1 MPL-1.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	        aspell6-${langcode}-${version}
checksums           md5     b31bdc33a681902e5bc493a0692022a9 \
                    sha1    8eb0bd453a1db4ad12863b833a2a3512ef43d30b \
                    rmd160  9574b4d8a4e1f76dbfff27c852a26d3561876e4b

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