[65987] trunk/dports/audio

singingwolfboy at macports.org singingwolfboy at macports.org
Sun Apr 4 08:53:52 PDT 2010


Revision: 65987
          http://trac.macports.org/changeset/65987
Author:   singingwolfboy at macports.org
Date:     2010-04-04 08:53:50 -0700 (Sun, 04 Apr 2010)
Log Message:
-----------
New port: sphinxtrain

Added Paths:
-----------
    trunk/dports/audio/sphinxtrain/
    trunk/dports/audio/sphinxtrain/Portfile

Added: trunk/dports/audio/sphinxtrain/Portfile
===================================================================
--- trunk/dports/audio/sphinxtrain/Portfile	                        (rev 0)
+++ trunk/dports/audio/sphinxtrain/Portfile	2010-04-04 15:53:50 UTC (rev 65987)
@@ -0,0 +1,41 @@
+# $Id$
+
+PortSystem          1.0
+name                sphinxtrain
+set real_name       SphinxTrain
+version             1.0
+description         Acoustic model training tools for Sphinx
+long_description    \
+    This is SphinxTrain, Carnegie Mellon University's open source acoustic \
+    model trainer. 
+maintainers         singingwolfboy openmaintainer
+categories          audio
+platforms           darwin freebsd
+homepage            http://www.speech.cs.cmu.edu/sphinx/
+master_sites        sourceforge:cmusphinx
+master_sites.mirror_subdir  /${real_name}/${version}
+distname            ${real_name}-${version}
+use_bzip2           yes
+depends_lib         bin:perl:perl5 port:python26
+
+checksums           md5     d90f2f76246b7c38f544c35fb10e4594 \
+                    sha1    5ff1ca237d759a62ea9e482ced9fc09d68642a0c \
+                    rmd160  657b4d69ee39f148cd6a9b9b412f77f865cfe3cc
+
+set python.branch       2.6
+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} 
+
+destroot {
+    eval xinstall -m 755 [glob ${worksrcpath}/bin.*/*] ${destroot}${prefix}/bin
+    eval xinstall -m 644 [glob ${worksrcpath}/lib.*/*] ${destroot}${prefix}/lib
+    
+    system "cd ${worksrcpath}/python && ${python.bin} setup.py --no-user-cfg install --prefix=${python.prefix} --root=${destroot}"
+    
+    xinstall -d ${destroot}${prefix}/share/doc/
+    move ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
+}


Property changes on: trunk/dports/audio/sphinxtrain/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100404/51457700/attachment.html>


More information about the macports-changes mailing list