source: trunk/dports/audio/sphinx4/Portfile

Last change on this file was 99643, checked in by singingwolfboy@…, 5 years ago

Dropped maintainership on all my ports

I'm moving to homebrew, and I haven't actually touched most of these in ages, anyway

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 99643 2012-11-13 04:26:02Z ryandesign@macports.org $
2
3PortSystem 1.0
4name            sphinx4
5version         1.0beta5
6revision        1
7description     Speech recognition package
8long_description \
9                ${description}
10maintainers     nomaintainer
11categories      audio java
12platforms       darwin freebsd
13homepage        http://cmusphinx.sourceforge.net/sphinx4/
14distname        ${name}-${version}-src
15worksrcdir      ${name}-${version}
16master_sites    sourceforge:cmusphinx
17use_zip         yes
18supported_archs noarch
19checksums       md5     68ebf4701893247043559a3a8ebff277 \
20                sha1    6f68bddb81a2472ce01c26ada301690f8ad6acae \
21                rmd160  56894d6112a1ed2fa7923059296a2ea6b5fdd419
22patchfiles      jsapi.sh.diff
23pre-build       { system "cd ${worksrcpath}/lib; echo y | sh jsapi.sh"}
24
25build.cmd       ant
26use_configure   no
27depends_lib     bin:java:kaffe
28depends_build   bin:ant:apache-ant
29
30destroot    {
31    # make sure directories exist
32    xinstall -m 755 -d \
33        ${destroot}${prefix}/share/java \
34        ${destroot}${prefix}/share/doc
35    # move in docs
36    file rename ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${worksrcdir}
37    # delete useless "doc-files"
38    file delete -force ${worksrcpath}/doc-files
39    # copy in the rest
40    file copy ${worksrcpath} ${destroot}${prefix}/share/java/${name}
41}
42
43livecheck.type  regex
44livecheck.url   http://sourceforge.net/projects/cmusphinx/files
45livecheck.regex /${name}-(\[0-9a-z.\]+)-src${extract.suffix}
Note: See TracBrowser for help on using the repository browser.