[125803] trunk/dports/audio/sphinxbase

mf2k at macports.org mf2k at macports.org
Fri Sep 26 13:49:02 PDT 2014


Revision: 125803
          https://trac.macports.org/changeset/125803
Author:   mf2k at macports.org
Date:     2014-09-26 13:49:02 -0700 (Fri, 26 Sep 2014)
Log Message:
-----------
sphinxbase: Add mode line. Switch to python 2.7. rename patchfile per lint.

Modified Paths:
--------------
    trunk/dports/audio/sphinxbase/Portfile

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

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

Modified: trunk/dports/audio/sphinxbase/Portfile
===================================================================
--- trunk/dports/audio/sphinxbase/Portfile	2014-09-26 20:14:12 UTC (rev 125802)
+++ trunk/dports/audio/sphinxbase/Portfile	2014-09-26 20:49:02 UTC (rev 125803)
@@ -1,3 +1,4 @@
+# -*- 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
 # $Id$
 
 PortSystem          1.0
@@ -4,6 +5,7 @@
 
 name                sphinxbase
 version             0.7
+revision            1
 description         Support library for CMU Sphinx
 long_description \
     The CMU Sphinx toolkit is a group of speech recognition systems developed \
@@ -20,9 +22,9 @@
                     sha256 389cb99a545f7d615a2b3bc3f7362a490ca45fc4dc440140ae1d2a41f87773ec
 
 depends_build       bin:doxygen:doxygen
-depends_lib         port:python26
+depends_lib         port:python27
 
-set python.branch   2.6
+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
@@ -30,7 +32,7 @@
 set python.pkgd     ${python.prefix}/lib/python${python.branch}/site-packages
 set python.include  ${python.prefix}/include/python${python.branch}
 
-patchfiles          Makefile.in.diff
+patchfiles          patch-Makefile.in.diff
 pre-destroot {
     reinplace "s|@@PY_PREFIX@@|${python.prefix}|" ${worksrcpath}/python/Makefile
 }

Deleted: trunk/dports/audio/sphinxbase/files/Makefile.in.diff
===================================================================
--- trunk/dports/audio/sphinxbase/files/Makefile.in.diff	2014-09-26 20:14:12 UTC (rev 125802)
+++ trunk/dports/audio/sphinxbase/files/Makefile.in.diff	2014-09-26 20:49:02 UTC (rev 125803)
@@ -1,11 +0,0 @@
---- python/Makefile.in.orig	2010-09-03 18:41:16.000000000 -0500
-+++ python/Makefile.in	2010-09-16 17:23:24.000000000 -0500
-@@ -479,7 +479,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) $(SETUPTOOLS_CRAP)
-+ at BUILD_PYTHON_TRUE@	$(PYTHON) setup.py install --prefix @@PY_PREFIX@@ --root $(DESTDIR) $(SETUPTOOLS_CRAP)
- 
- @BUILD_PYTHON_TRUE at uninstall-local:
- @BUILD_PYTHON_TRUE@	$(PYTHON) setup.py bogus_uninstall --prefix $(DESTDIR)$(prefix)

Copied: trunk/dports/audio/sphinxbase/files/patch-Makefile.in.diff (from rev 125802, trunk/dports/audio/sphinxbase/files/Makefile.in.diff)
===================================================================
--- trunk/dports/audio/sphinxbase/files/patch-Makefile.in.diff	                        (rev 0)
+++ trunk/dports/audio/sphinxbase/files/patch-Makefile.in.diff	2014-09-26 20:49:02 UTC (rev 125803)
@@ -0,0 +1,11 @@
+--- python/Makefile.in.orig	2010-09-03 18:41:16.000000000 -0500
++++ python/Makefile.in	2010-09-16 17:23:24.000000000 -0500
+@@ -479,7 +479,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) $(SETUPTOOLS_CRAP)
++ at BUILD_PYTHON_TRUE@	$(PYTHON) setup.py install --prefix @@PY_PREFIX@@ --root $(DESTDIR) $(SETUPTOOLS_CRAP)
+ 
+ @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: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140926/93bad4f1/attachment.html>


More information about the macports-changes mailing list