# -*- 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        ro
name                aspell-dict-${langcode}
version             3.3-2
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	        aspell5-${langcode}-${version}
checksums           md5     2d708c95fd7711efc61673c77f5f9d9e \
                    sha1    98a64f2dade68bcff050b06567d09d40e727a2a2 \
                    rmd160  7fc1ea1f7a047ac4aca6c1237bc214fbb8ed6c16

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