# -*- 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
description Support library for CMU Sphinx
The CMU Sphinx toolkit is a group of speech recognition systems developed \
at Carnegie Mellon University. This package is a support library that \
is used by several elements of CMU Sphinx.
homepage http://cmusphinx.sourceforge.net/
master_sites sourceforge:cmusphinx
checksums rmd160 8ec9d09bdd2b8173fe93cfa4c756c761beb1d7c5 \
sha256 55708944872bab1015b8ae07b379bf463764f469163a8fd114cbb16c5e486ca8
depends_build bin:doxygen:doxygen
depends_lib port:python27
set python.prefix ${frameworks_dir}/Python.framework/Versions/${python.branch}
set python.bin ${python.prefix}/bin/python${python.branch}
set python.lib ${python.prefix}/Python
set python.libdir ${python.prefix}/lib/python${python.branch}
set python.pkgd ${python.prefix}/lib/python${python.branch}/site-packages
set python.include ${python.prefix}/include/python${python.branch}
patchfiles patch-Makefile.in.diff
reinplace "s|@@PY_PREFIX@@|${python.prefix}|" ${worksrcpath}/python/Makefile
xinstall -d -m 755 ${destroot}${prefix}/share/doc/
file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
livecheck.url https://sourceforge.net/projects/cmusphinx/files/sphinxbase/
livecheck.regex "/${name}/(\[0-9.\]+)/\""