Ignore:
Timestamp:
Feb 28, 2011, 1:29:45 PM (9 years ago)
Author:
takanori@…
Message:

kakasi:

  • Version bump to 2.3.5pre1-cvs20101217, as per request from Susumu Tanimura. (This version of kakasi supports UTF-8 encoding.)
Location:
trunk/dports/textproc/kakasi
Files:
7 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/kakasi/Portfile

    r42485 r76568  
    44
    55name            kakasi
    6 version         2.3.4
     6version         2.3.5pre1-cvs20101217
    77categories      textproc japanese
    88maintainers     takanori openmaintainer
     
    1212                converts Kanji characters to Hiragana, Katakana, or Romaji. It may be \
    1313                helpful for reading Japanese documents.
     14license         GPLv3
    1415platforms       darwin
    1516homepage        http://kakasi.namazu.org/
    16 master_sites    http://kakasi.namazu.org/stable/
    17 checksums       md5 4eff51aafbd56c9635791a20c03efa8f \
    18                 sha1 ab95a226f301955d2e8ae0d347afbb567e25fbe7 \
    19                 rmd160 8ed84c5aaa0713484ab070871f555b12ded31802
     17master_sites    http://svn.sourceforge.jp/svnroot/macports-jp/distfiles/kakasi/
     18patchfiles      patch-autogen.sh.diff \
     19                patch-tests_kakasi-1.diff \
     20                patch-tests_kakasi-4.diff \
     21                patch-tests_kakasi-5.diff \
     22                patch-tests_kakasi-6.diff \
     23                patch-tests_kakasi-7.diff
     24checksums       md5     a2e47c3028ac6afb5c94f0a2e4d06476 \
     25                sha1    6fbc953122b6b92e5738611a30fcef4bc12c3587 \
     26                rmd160  8e0dfc74e4987ef53bf50741bdd53bd322e9aaa8
    2027
    21 patch {
    22     reinplace "s|-undefined suppress||g" ${worksrcpath}/configure
    23     if {[variant_isset universal]} {
    24         reinplace "s|echo -dynamiclib\)|echo -dynamiclib\) ${configure.universal_cflags}|g" ${worksrcpath}/configure
    25     }
     28depends_lib     port:libiconv
     29depends_build   port:autoconf \
     30                port:automake \
     31                port:coreutils \
     32                port:libtool
     33
     34worksrcdir      ${name}
     35
     36pre-configure {
     37    system "cd ${worksrcpath} && ./autogen.sh"
    2638}
    2739
    28 configure.args-append   --with-pic --enable-shared --enable-static --libexecdir=${prefix}/lib
     40configure.args-append   --enable-maintainer-mode
    2941
    3042use_parallel_build  yes
     43
     44test.run        yes
     45test.target     check
     46pre-test {
     47    ui_msg ""
     48    ui_msg " NOTICE: Testing will fail at kakasi-5. This is an expected behavior. "
     49    ui_msg " http://www.namazu.org/pipermail/kakasi-dev/2007-October/000077.html "
     50    ui_msg ""
     51}
    3152
    3253post-destroot {
    3354    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/doc
    3455
    35     foreach f {AUTHORS COPYING ChangeLog INSTALL* NEWS ONEWS README* THANKS TODO} {
     56    foreach f {AUTHORS COPYING ChangeLog HACKING-ja INSTALL* NEWS ONEWS README* THANKS TODO} {
    3657        eval xinstall -m 644 [glob ${worksrcpath}/${f}] ${destroot}${prefix}/share/doc/${name}
    3758    }
    38     foreach f {ChangeLog.lib JISYO README.* kakasi.*} {
     59    foreach f {ChangeLog.lib JISYO README.*} {
    3960        eval xinstall -m 644 [glob ${worksrcpath}/doc/${f}] ${destroot}${prefix}/share/doc/${name}/doc
    4061    }
Note: See TracChangeset for help on using the changeset viewer.