[63330] trunk/dports/audio
singingwolfboy at macports.org
singingwolfboy at macports.org
Mon Feb 1 19:33:24 PST 2010
Revision: 63330
http://trac.macports.org/changeset/63330
Author: singingwolfboy at macports.org
Date: 2010-02-01 19:33:22 -0800 (Mon, 01 Feb 2010)
Log Message:
-----------
Added port for sphinx4 -- probably could still use some work
Added Paths:
-----------
trunk/dports/audio/sphinx4/
trunk/dports/audio/sphinx4/Portfile
trunk/dports/audio/sphinx4/files/
trunk/dports/audio/sphinx4/files/jsapi.sh.diff
Added: trunk/dports/audio/sphinx4/Portfile
===================================================================
--- trunk/dports/audio/sphinx4/Portfile (rev 0)
+++ trunk/dports/audio/sphinx4/Portfile 2010-02-02 03:33:22 UTC (rev 63330)
@@ -0,0 +1,39 @@
+# $Id$
+
+PortSystem 1.0
+name sphinx4
+version 1.0beta3
+description Speech recognition package
+long_description \
+ ${description}
+maintainers singingwolfboy openmaintainer
+categories audio
+platforms darwin freebsd
+homepage http://cmusphinx.sourceforge.net/sphinx4/
+distname ${name}-${version}-src
+worksrcdir ${name}-${version}
+master_sites sourceforge:cmusphinx
+use_zip yes
+checksums md5 37128ad8a5d2d39908662b6228ad4fd7 \
+ sha1 89295ed8934967c1aafbbd61d19491412cde1a9e \
+ rmd160 91b4f36c550ad1b39c6bed6398e7067e5b8d2e5f
+patchfiles jsapi.sh.diff
+pre-build { system "cd ${worksrcpath}/lib; echo y | sh jsapi.sh"}
+
+build.cmd ant
+use_configure no
+depends_lib bin:java:kaffe
+depends_build bin:ant:apache-ant
+
+destroot {
+ # make sure directories exist
+ xinstall -m 755 -d \
+ ${destroot}${prefix}/share/java \
+ ${destroot}${prefix}/share/doc
+ # move in docs
+ file rename ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${worksrcdir}
+ # delete useless "doc-files"
+ file delete -force ${worksrcpath}/doc-files
+ # copy in the rest
+ file copy ${worksrcpath} ${destroot}${prefix}/share/java/${name}
+}
Property changes on: trunk/dports/audio/sphinx4/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/audio/sphinx4/files/jsapi.sh.diff
===================================================================
--- trunk/dports/audio/sphinx4/files/jsapi.sh.diff (rev 0)
+++ trunk/dports/audio/sphinx4/files/jsapi.sh.diff 2010-02-02 03:33:22 UTC (rev 63330)
@@ -0,0 +1,11 @@
+--- lib/jsapi.sh.orig 2010-01-28 23:29:55.000000000 -0500
++++ lib/jsapi.sh 2010-01-28 23:30:35.000000000 -0500
+@@ -10,7 +10,7 @@
+ # ------ ---------- ------------------------------------------
+ # 51811 -rw-rw-r-- jsapi.jar
+ #
+-more <<- xxxFOOxxx
++cat <<- xxxFOOxxx
+
+ Sun Microsystems, Inc.
+ Binary Code License Agreement
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100201/96dd230d/attachment.html>
More information about the macports-changes
mailing list