mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
48 lines
1.8 KiB
Tcl
48 lines
1.8 KiB
Tcl
# -*- 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 sphinxbase
|
|
version 0.8
|
|
|
|
description Support library for CMU Sphinx
|
|
long_description \
|
|
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.
|
|
|
|
maintainers nomaintainer
|
|
categories audio
|
|
license BSD MIT
|
|
platforms darwin freebsd
|
|
homepage http://cmusphinx.sourceforge.net/
|
|
master_sites sourceforge:cmusphinx
|
|
|
|
checksums rmd160 8ec9d09bdd2b8173fe93cfa4c756c761beb1d7c5 \
|
|
sha256 55708944872bab1015b8ae07b379bf463764f469163a8fd114cbb16c5e486ca8
|
|
|
|
depends_build path:bin/doxygen:doxygen
|
|
|
|
depends_lib port:python27
|
|
|
|
set python.branch 2.7
|
|
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
|
|
pre-destroot {
|
|
reinplace "s|@@PY_PREFIX@@|${python.prefix}|" ${worksrcpath}/python/Makefile
|
|
}
|
|
post-destroot {
|
|
xinstall -d -m 755 ${destroot}${prefix}/share/doc/
|
|
file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
|
|
}
|
|
|
|
livecheck.type regex
|
|
livecheck.url https://sourceforge.net/projects/cmusphinx/files/sphinxbase/
|
|
livecheck.regex "/${name}/(\[0-9.\]+)/\""
|