source: trunk/dports/textproc/cabocha/Portfile @ 100929

Last change on this file since 100929 was 100929, checked in by hum@…, 7 years ago

cabocha: update to 0.66.

  • 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 100929 2013-01-01 14:40:38Z hum@macports.org $
3
4PortSystem          1.0
5
6name                cabocha
7version             0.66
8categories          textproc japanese
9maintainers         hum openmaintainer
10
11description         Yet Another Japanese Dependency Structure Analyzer
12
13long_description    CaboCha is a Jpanese dependency structure analyzer based on \
14                    support vector machines. \
15                    This version of CaboCha supports the UTF-8 encoding.
16
17homepage            http://code.google.com/p/cabocha/
18platforms           darwin
19license             {BSD Permissive}
20
21master_sites        googlecode
22checksums           rmd160  23bd1ac45ca9a065c91f223542f61ddf18d97dfd \
23                    sha256  349758f71181b45cf4465b363916f5b2c98b4ed20a43028d939f0a48ec526e08
24
25use_bzip2           yes
26
27depends_lib         port:crfpp \
28                    port:libiconv \
29                    port:mecab-base \
30                    port:mecab-utf8
31
32patchfiles          patch-configure.diff
33
34configure.args      --with-charset=UTF8
35
36variant juman conflicts unidic description {Set the default posset to JUMAN} {
37    configure.args-append  --with-posset=JUMAN
38}
39
40variant unidic conflicts juman description {Set the default posset to UniDic} {
41    configure.args-append  --with-posset=UNIDIC
42}
43
44test.run            yes
45test.target         check
46
47post-destroot {
48    # install additional documents.
49    set doc_dir ${destroot}${prefix}/share/doc/${name}
50    file mkdir ${doc_dir}
51    xinstall -m 644 -W ${worksrcpath} \
52        AUTHORS COPYING ChangeLog TODO \
53        ${doc_dir}
54    xinstall -m 644 ${worksrcpath}/doc/README.txt ${doc_dir}
55    # install extra tools.
56    set share_dir ${destroot}${prefix}/share/${name}
57    file mkdir ${share_dir}
58    copy ${worksrcpath}/tools ${share_dir}
59}
Note: See TracBrowser for help on using the repository browser.