# -*- 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        hr
name                aspell-dict-${langcode}
version             0.51-0
categories          textproc
license             LGPL-2.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	        aspell-${langcode}-${version}
checksums           md5     7d2fb9af47266884c731691123a95a8d \
                    sha1    6788b9001287f9debd59803f5f9c5005b701f8f7 \
                    rmd160  935c0658e33549266e3f21a975e500d5894eb64e

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