# -*- 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
PortGroup           cmake 1.1
PortGroup           github 1.0

github.setup        irstlm-team irstlm 6.00.05 v
revision            0
checksums           rmd160  a312e0032a09a4f3a62df5db60ca7753beef1f67 \
                    sha256  0d0ca97a58351710f3bca8a43bdcca880dbc766a1f73389b359b4df6357df9ec \
                    size    229185

categories          textproc math
maintainers         nomaintainer
license             LGPL-2.1+

description         The IRST Language Modeling Toolkit

long_description    {*}${description} features algorithms and data structures \
                    suitable to estimate, store, and access very large LMs. Our \
                    software has been integrated into a popular open source \
                    Statistical Machine Translation decoder called Moses, and is \
                    compatible with language models created with other tools, \
                    such as the SRILM Tooolkit.

github.tarball_from archive

depends_lib         port:zlib

patchfiles          compiler.patch \
                    docs.patch \
                    lib64.patch \
                    output-path.patch \
                    permissions.patch \
                    version.patch

post-patch {
    reinplace "s|@DESTROOT@|${destroot}|g" ${worksrcpath}/src/CMakeLists.txt
}
