source: trunk/dports/textproc/kakasi/Portfile @ 26660

Last change on this file since 26660 was 26660, checked in by takanori@…, 13 years ago

Untabify.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 26660 2007-07-02 06:06:04Z takanori@macports.org $
2
3PortSystem      1.0
4name            kakasi
5version         2.3.4
6categories      textproc japanese
7maintainers     takanori@macports.org
8description     Program that converts Kanji text to other scripts
9long_description \
10                KAKASI (Kanji Kana Simple Inverter) is a language processing filter which \
11                converts Kanji characters to Hiragana, Katakana, or Romaji. It may be \
12                helpful for reading Japanese documents.
13platforms       darwin
14homepage        http://kakasi.namazu.org/
15master_sites    http://kakasi.namazu.org/stable/
16checksums       md5 4eff51aafbd56c9635791a20c03efa8f \
17                sha1 ab95a226f301955d2e8ae0d347afbb567e25fbe7 \
18                rmd160 8ed84c5aaa0713484ab070871f555b12ded31802
19
20patch {
21    reinplace "s|-undefined suppress||g" ${worksrcpath}/configure
22    if {[variant_isset universal]} {
23        reinplace "s|echo -dynamiclib\)|echo -dynamiclib\) ${configure.universal_cflags}|g" ${worksrcpath}/configure
24    }
25}
26configure.args-append   --with-pic --enable-shared --enable-static --libexecdir=${prefix}/lib
27
28post-destroot {
29    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/doc
30
31    foreach f {AUTHORS COPYING ChangeLog INSTALL* NEWS ONEWS README* THANKS TODO} {
32        eval xinstall -m 644 [glob ${worksrcpath}/${f}] ${destroot}${prefix}/share/doc/${name}
33    }
34    foreach f {ChangeLog.lib JISYO README.* kakasi.*} {
35        eval xinstall -m 644 [glob ${worksrcpath}/doc/${f}] ${destroot}${prefix}/share/doc/${name}/doc
36    }
37}
Note: See TracBrowser for help on using the repository browser.