Changeset 96145


Ignore:
Timestamp:
Aug 2, 2012, 1:04:47 AM (7 years ago)
Author:
hum@…
Message:

julius: update to 4.2.2; delete patch-ngram_read_bin.diff, which was integrated into the upstream; add zlib to depends_lib; support mountain lion (osx 10.8) and add '-locale C' to reinplace (sed).

Location:
trunk/dports/audio/julius
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/audio/julius/Portfile

    r91029 r96145  
    55
    66name                julius
    7 version             4.2.1
    8 revision            1
     7version             4.2.2
    98categories          audio japanese
    109platforms           darwin
     
    2221
    2322homepage            http://julius.sourceforge.jp/
    24 master_sites        sourceforge_jp:julius/54278/
     23master_sites        sourceforge_jp:julius/56549/
    2524
    2625checksums           ${distname}${extract.suffix} \
    27                     rmd160  9a3a3af38f4a9e1f66ec63879b18d08f29ade26f \
    28                     sha256  4e6f69f33967d7a958672a6b6d216405dcae8a3f008ae73cd115428923aed57a \
     26                    rmd160  b3417358c3c3e2e0573b6ea0e3588942e5b8d176 \
     27                    sha256  f53caf18be4fb8266b988071855565dccb78c09f00f1d36a8e258b7be6b3cef5
    2928
    3029patchfiles          patch-configure.diff \
     
    3231                    patch-clang.diff
    3332
    34 depends_lib         port:libiconv
     33depends_lib         port:libiconv \
     34                    port:zlib
    3535
    3636# Note: '--enable-words-int' should be declared ahead of '--with-mictype'.
    3737variant words_int description {Use integer for word ID to extend vocabulary limit} {
    38     # http://sourceforge.jp/cvs/view/julius/julius4/libsent/src/ngram/ngram_read_bin.c?r1=1.8&r2=1.9
    39     patchfiles-append          patch-ngram_read_bin.c.diff
    4038    configure.pre_args-append  --enable-words-int
    4139}
    4240
    43 platform darwin 10 {
    44     depends_lib-append      port:portaudio
    45     configure.args-append   --with-mictype=portaudio
    46 }
    47 
    48 platform darwin 11 {
     41if {${os.platform} == "darwin" && ${os.major} >= 10} {
    4942    depends_lib-append      port:portaudio
    5043    configure.args-append   --with-mictype=portaudio
     
    9285        # configure the dictation kit.
    9386        set conf_dest    ${lib_dest}/fast.jconf
    94         reinplace "s| model/| ${prefix}/lib/${name}/model/|g"    ${conf_dest}
    95         reinplace "s|#-charconv from to|-charconv EUC-JP UTF-8|" ${conf_dest}
     87        reinplace -locale C "s| model/| ${prefix}/lib/${name}/model/|g"    ${conf_dest}
     88        reinplace -locale C "s|#-charconv from to|-charconv EUC-JP UTF-8|" ${conf_dest}
    9689        # configure an executable demo script file.
    9790        set script_name  julius_demo
    9891        set script_dest  ${destroot}${prefix}/bin/${script_name}
    9992        xinstall -m 755  ${filespath}/${script_name} ${script_dest}
    100         reinplace "s|@prefix@|${prefix}|g"          ${script_dest}
     93        reinplace -locale C "s|@prefix@|${prefix}|g" ${script_dest}
    10194        # copy documentation.
    10295        set kit_docdir   ${destroot}${prefix}/share/doc/${name}/${kit_name}
Note: See TracChangeset for help on using the changeset viewer.