# -*- 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        da
name		        aspell-dict-${langcode}
version		        1.6.36-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           rmd160  83e6b10abc0378661ebd0778fa24b0d662b14a9e \
                    sha256  dbc6cbceaa7a4528f3756f0b5cce5c3d0615c2103d3899b47e9df2ed9582e2f7 \
                    size    295300

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