source: trunk/dports/audio/sphinxbase/Portfile

Last change on this file was 125805, checked in by mf2k@…, 3 years ago

sphinxbase: Update to version 0.8.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# -*- 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
2# $Id: Portfile 125805 2014-09-26 20:53:12Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                sphinxbase
7version             0.8
8
9description         Support library for CMU Sphinx
10long_description \
11    The CMU Sphinx toolkit is a group of speech recognition systems developed \
12    at Carnegie Mellon University. This package is a support library that \
13    is used by several elements of CMU Sphinx.
14
15maintainers         nomaintainer
16categories          audio
17license             BSD MIT
18platforms           darwin freebsd
19homepage            http://cmusphinx.sourceforge.net/
20master_sites        sourceforge:cmusphinx
21
22checksums           rmd160  8ec9d09bdd2b8173fe93cfa4c756c761beb1d7c5 \
23                    sha256  55708944872bab1015b8ae07b379bf463764f469163a8fd114cbb16c5e486ca8
24
25depends_build       bin:doxygen:doxygen
26depends_lib         port:python27
27
28set python.branch   2.7
29set python.prefix   ${frameworks_dir}/Python.framework/Versions/${python.branch}
30set python.bin      ${python.prefix}/bin/python${python.branch}
31set python.lib      ${python.prefix}/Python
32set python.libdir   ${python.prefix}/lib/python${python.branch}
33set python.pkgd     ${python.prefix}/lib/python${python.branch}/site-packages
34set python.include  ${python.prefix}/include/python${python.branch}
35
36patchfiles          patch-Makefile.in.diff
37pre-destroot {
38    reinplace "s|@@PY_PREFIX@@|${python.prefix}|" ${worksrcpath}/python/Makefile
39}
40post-destroot {
41    xinstall -d -m 755 ${destroot}${prefix}/share/doc/
42    file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
43}
44
45livecheck.type  regex
46livecheck.url   http://sourceforge.net/projects/cmusphinx/files
47livecheck.regex /${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.