# -*- 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

name                sptk
version             3.11
checksums           rmd160  7c87b533ff66496d2ea02b801c809197546deda5 \
                    sha256  ae26929a3c196ca8a1d1a638718fc4400adf8ce963b8328be72f8802f1589100 \
                    size    1160658

categories          audio
maintainers         nomaintainer

description         The Speech Signal Processing Toolkit

long_description    The Speech Signal Processing Toolkit (SPTK) is a suite of \
                    speech signal processing tools for UNIX environments, e.g., \
                    LPC analysis, PARCOR analysis, LSP analysis, PARCOR \
                    synthesis filter, LSP synthesis filter, vector quantization \
                    techniques, and other extended versions of them. 

homepage            http://sp-tk.sourceforge.net
platforms           darwin
license             BSD

master_sites        sourceforge:project/sp-tk/SPTK/SPTK-${version}
distname            SPTK-${version}

depends_lib         port:xorg-libX11

# To avoid conflicts with other binaries, e.g. 'train'.
configure.args-append --bindir=${prefix}/libexec/${name}

post-destroot {
    set docdir ${prefix}/share/doc/${name}
    xinstall -d ${destroot}${docdir}
    xinstall -m 644 -W ${worksrcpath} \
        AUTHORS COPYING ChangeLog NEWS README \
        ${destroot}${docdir}
}

livecheck.type      regex
livecheck.regex     "SPTK-(\\d+(?:\\.\\d+)*)${extract.suffix}"
