# -*- 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
# $Id: Portfile 115153 2013-12-27 01:56:06Z hum@macports.org $

PortSystem          1.0

name                hts_engine_API
version             1.08
categories          audio
maintainers         hum openmaintainer

description         HMM-Based Speech Synthesis Engine

long_description    The hts_engine is software to synthesize speech waveform \
                    from HMMs trained by the HMM-based speech synthesis system (HTS).

homepage            http://hts-engine.sourceforge.net/
platforms           darwin
license             BSD

master_sites        sourceforge:hts-engine
checksums           rmd160  23fa57dcc6674feaa4646b31011635ac2aa1eba1 \
                    sha256  9b1dc62dd15346ead364722beb832b8ef93d1c95a3aa5de79b341de510a44638

if {[variant_isset universal]} {
    use_autoreconf  yes
}

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.url       http://sourceforge.net/projects/hts-engine/files/hts_engine%20API/
livecheck.regex     /hts_engine_API-(\[0-9.\]+)/
