# -*- 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        sv
name                aspell-dict-${langcode}
version             0.51-0
categories          textproc
license             GPL-2
maintainers         nomaintainer
description         Swedish dictionary for aspell
homepage            http://aspell.net/
platforms           darwin
supported_archs     noarch

long_description    Aspell with Swedish dictionary.

master_sites        gnu:aspell/dict/${langcode}
distname            aspell-${langcode}-${version}
checksums           size    93942 \
                    rmd160  f6da78da89d35787f2bfd1076e941415dd009e54 \
                    sha256  9b70573c9c8cf76f5cdb6abcdfb834a754bbaa1efd7d6f57f47b8a91a19c5c0a

use_bzip2           yes

depends_build       bin:aspell: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     >aspell-${langcode}-(.*?)\\.tar\\.
