[65477] trunk/dports/audio

singingwolfboy at macports.org singingwolfboy at macports.org
Fri Mar 26 09:37:44 PDT 2010


Revision: 65477
          http://trac.macports.org/changeset/65477
Author:   singingwolfboy at macports.org
Date:     2010-03-26 09:37:43 -0700 (Fri, 26 Mar 2010)
Log Message:
-----------
added port sphinxbase

Added Paths:
-----------
    trunk/dports/audio/sphinxbase/
    trunk/dports/audio/sphinxbase/Portfile
    trunk/dports/audio/sphinxbase/files/
    trunk/dports/audio/sphinxbase/files/Makefile.in.diff

Added: trunk/dports/audio/sphinxbase/Portfile
===================================================================
--- trunk/dports/audio/sphinxbase/Portfile	                        (rev 0)
+++ trunk/dports/audio/sphinxbase/Portfile	2010-03-26 16:37:43 UTC (rev 65477)
@@ -0,0 +1,39 @@
+# $Id$
+
+PortSystem          1.0
+name                sphinxbase
+version             0.6
+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         singingwolfboy openmaintainer
+categories          audio
+platforms           darwin freebsd
+homepage            http://www.speech.cs.cmu.edu/sphinx/
+master_sites        sourceforge:cmusphinx
+checksums           md5     5f89950966525b5f69a6ab36b3b817dd \
+                    sha1    892d6785e298484d15d8873e1baf222364fea348 \
+                    rmd160  86efb2d52dacdd33e64bfbef18af082cb2908ac4
+
+depends_build       bin:doxygen:doxygen
+depends_lib         port:python26
+
+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}
+
+patchfiles          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}
+}


Property changes on: trunk/dports/audio/sphinxbase/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/audio/sphinxbase/files/Makefile.in.diff
===================================================================
--- trunk/dports/audio/sphinxbase/files/Makefile.in.diff	                        (rev 0)
+++ trunk/dports/audio/sphinxbase/files/Makefile.in.diff	2010-03-26 16:37:43 UTC (rev 65477)
@@ -0,0 +1,11 @@
+--- python/Makefile.in.orig	2010-03-26 10:58:31.000000000 -0400
++++ python/Makefile.in	2010-03-26 10:57:54.000000000 -0400
+@@ -471,7 +471,7 @@
+ @BUILD_PYTHON_TRUE at all-local: pymod-build-stamp
+ 
+ @BUILD_PYTHON_TRUE at install-exec-local: pymod-build-stamp
+- at BUILD_PYTHON_TRUE@	$(PYTHON) setup.py install --prefix $(DESTDIR)$(prefix)
++ at BUILD_PYTHON_TRUE@	$(PYTHON) setup.py install --prefix @@PY_PREFIX@@ --root $(DESTDIR)
+ 
+ @BUILD_PYTHON_TRUE at uninstall-local:
+ @BUILD_PYTHON_TRUE@	$(PYTHON) setup.py bogus_uninstall --prefix $(DESTDIR)$(prefix)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100326/b451cb57/attachment.html>


More information about the macports-changes mailing list