Commits
David Baumgold authored a64a12b7684
1 1 | # $Id$ |
2 2 | |
3 3 | PortSystem 1.0 |
4 4 | name sphinxtrain |
5 5 | set real_name SphinxTrain |
6 6 | version 1.0 |
7 + | revision 1 |
7 8 | description Acoustic model training tools for Sphinx |
8 9 | long_description \ |
9 10 | This is SphinxTrain, Carnegie Mellon University's open source acoustic \ |
10 11 | model trainer. |
11 12 | maintainers singingwolfboy openmaintainer |
12 13 | categories audio |
13 14 | platforms darwin freebsd |
14 15 | homepage http://www.speech.cs.cmu.edu/sphinx/ |
15 16 | master_sites sourceforge:cmusphinx |
16 17 | master_sites.mirror_subdir /${real_name}/${version} |
23 24 | rmd160 657b4d69ee39f148cd6a9b9b412f77f865cfe3cc |
24 25 | |
25 26 | set python.branch 2.6 |
26 27 | set python.prefix ${frameworks_dir}/Python.framework/Versions/${python.branch} |
27 28 | set python.bin ${python.prefix}/bin/python${python.branch} |
28 29 | set python.lib ${python.prefix}/Python |
29 30 | set python.libdir ${python.prefix}/lib/python${python.branch} |
30 31 | set python.pkgd ${python.prefix}/lib/python${python.branch}/site-packages |
31 32 | set python.include ${python.prefix}/include/python${python.branch} |
32 33 | |
34 + | post-build { |
35 + | system "cd ${worksrcpath}/scripts_pl && make" |
36 + | } |
37 + | |
33 38 | destroot { |
34 39 | eval xinstall -m 755 [glob ${worksrcpath}/bin.*/*] ${destroot}${prefix}/bin |
35 40 | eval xinstall -m 644 [glob ${worksrcpath}/lib.*/*] ${destroot}${prefix}/lib |
36 41 | |
37 42 | system "cd ${worksrcpath}/python && ${python.bin} setup.py --no-user-cfg install --prefix=${python.prefix} --root=${destroot}" |
38 43 | |
39 44 | xinstall -d ${destroot}${prefix}/share/doc/ |
40 45 | move ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name} |
46 + | |
47 + | move ${worksrcpath}/scripts_pl ${destroot}${prefix}/share/${name} |
41 48 | } |