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

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

Make +universal work.

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