PortSystem          1.0

name                cmuclmtk
version             3alpha
revision            0
categories          audio
maintainers         nomaintainer
platforms           darwin
license             BSD
description         CMU-Cambridge Language Modeling Toolkit
long_description    \
    The CMU-Cambridge Language Modeling Toolkit is a set of UNIX software \
    tools designed to facilitate language modeling work in the research \
    community.

homepage            http://cmusphinx.sourceforge.net/
master_sites        sourceforge:cmusphinx
fetch.type          svn
svn.url             http://svn.code.sf.net/p/cmusphinx/code/trunk/cmuclmtk/
svn.revision        10092
worksrcdir          ${name}

depends_build       port:autoconf \
                    port:automake \
                    port:libtool

configure.cmd       ./autogen.sh

post-destroot {
    xinstall -d -m 755 ${destroot}${prefix}/share/doc/
    file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
    file copy ${worksrcpath}/perl ${destroot}${prefix}/share/${name}
}

