Ticket #42753: patch-Portfile.diff

File patch-Portfile.diff, 2.1 KB (added by NicosPavlov, 6 years ago)
  • Portfile

     
    33PortSystem      1.0
    44
    55name            kakasi
    6 version         2.3.5pre1-cvs20101217
     6version         2.3.5
    77categories      textproc japanese
    88maintainers     takanori openmaintainer
    99description     Program that converts Kanji text to other scripts
     
    1414platforms       darwin
    1515license         GPL-2+
    1616homepage        http://kakasi.namazu.org/
    17 master_sites    http://svn.sourceforge.jp/svnroot/macports-jp/distfiles/kakasi/
    18 patchfiles      patch-autogen.sh.diff \
    19                 patch-tests_kakasi-1.diff \
     17master_sites    http://kakasi.namazu.org/stable/
     18patchfiles      patch-tests_kakasi-1.diff \
    2019                patch-tests_kakasi-4.diff \
    2120                patch-tests_kakasi-5.diff \
    2221                patch-tests_kakasi-6.diff \
    2322                patch-tests_kakasi-7.diff
    24 checksums       md5     a2e47c3028ac6afb5c94f0a2e4d06476 \
    25                 sha1    6fbc953122b6b92e5738611a30fcef4bc12c3587 \
    26                 rmd160  8e0dfc74e4987ef53bf50741bdd53bd322e9aaa8
    2723
     24checksums       rmd160  771c1ee3d181dc86b8d5ac9b134780653a16c6ee \
     25                sha256  f332c008f03a8d017b09221a1ded9c0c7b61212b49a74d96f6eca3f93ba329eb
     26
    2827depends_lib     port:libiconv
    2928depends_build   port:autoconf \
    3029                port:automake \
     
    3130                port:coreutils \
    3231                port:libtool
    3332
    34 worksrcdir      ${name}
    35 
    36 pre-configure {
    37     system "cd ${worksrcpath} && ./autogen.sh"
    38 }
    39 
    4033configure.args-append   --enable-maintainer-mode
    4134
    4235use_parallel_build  yes
     
    5346post-destroot {
    5447    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/doc
    5548
    56     foreach f {AUTHORS COPYING ChangeLog HACKING-ja INSTALL* NEWS ONEWS README* THANKS TODO} {
     49    foreach f {AUTHORS COPYING ChangeLog INSTALL* NEWS ONEWS README* THANKS TODO} {
    5750        eval xinstall -m 644 [glob ${worksrcpath}/${f}] ${destroot}${prefix}/share/doc/${name}
    5851    }
    5952    foreach f {ChangeLog.lib JISYO README.*} {