source: trunk/dports/textproc/kakasi/Portfile

Last change on this file was 144649, checked in by devans@…, 19 months ago

kakasi: update to version 2.3.6, remove outdated test message, redundant default statement.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 144649 2016-01-14 17:46:21Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                kakasi
7epoch               1
8version             2.3.6
9categories          textproc japanese
10maintainers         nomaintainer
11description         Program that converts Kanji text to other scripts
12long_description    KAKASI (Kanji Kana Simple Inverter) is a language processing filter which \
13                    converts Kanji characters to Hiragana, Katakana, or Romaji. It may be \
14                    helpful for reading Japanese documents.
15platforms           darwin
16license             GPL-2+
17homepage            http://kakasi.namazu.org/
18master_sites        http://kakasi.namazu.org/stable/
19patchfiles          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
24
25checksums           rmd160  db4a5dcacce407c54771c2473cd6b03751dba79f \
26                    sha256  004276fd5619c003f514822d82d14ae83cd45fb9338e0cb56a44974b44961893
27
28depends_lib         port:libiconv
29depends_build       port:autoconf \
30                    port:automake \
31                    port:coreutils \
32                    port:libtool
33
34configure.args-append \
35                    --enable-maintainer-mode
36
37test.run            yes
38test.target         check
39
40post-destroot {
41    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/doc
42
43    foreach f {AUTHORS COPYING ChangeLog INSTALL* NEWS ONEWS README* THANKS TODO} {
44        eval xinstall -m 644 [glob ${worksrcpath}/${f}] ${destroot}${prefix}/share/doc/${name}
45    }
46    foreach f {ChangeLog.lib JISYO README.*} {
47        eval xinstall -m 644 [glob ${worksrcpath}/doc/${f}] ${destroot}${prefix}/share/doc/${name}/doc
48    }
49}
Note: See TracBrowser for help on using the repository browser.