# -*- 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        vi
name                aspell-dict-${langcode}
version             0.01.1-1
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     314185e521900df0fab8375fa609bba2 \
                    sha1    a497488786d796c677efd1bbf9df4c2eb511e728 \
                    rmd160  8c67bd5c7cedf3f3b2b7e3763bea42aab4c7ad6c

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\\.