source: trunk/dports/textproc/cabocha/Portfile

Last change on this file was 117863, checked in by hum@…, 4 years ago

cabocha: update to 0.68.

  • 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 117863 2014-03-15 12:17:38Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                cabocha
7version             0.68
8categories          textproc japanese
9maintainers         hum openmaintainer
10
11description         Yet Another Japanese Dependency Structure Analyzer
12
13long_description    CaboCha is a Japanese 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  fcc19083d24760a4755aed07b3fff9990fdb50d4 \
23                    sha256  3ac152dda7bdea7371e6dfac6958566503a9ee4818ddbd0c76d7706de7826b8c
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 docdir ${prefix}/share/doc/${name}
50    xinstall -d ${destroot}${docdir}
51    xinstall -m 644 -W ${worksrcpath} \
52        AUTHORS COPYING ChangeLog TODO \
53        ${destroot}${docdir}
54    xinstall -m 644 ${worksrcpath}/doc/README.txt ${destroot}${docdir}
55    # install extra tools.
56    set shdir ${prefix}/share/${name}
57    xinstall -d ${destroot}${shdir}
58    copy ${worksrcpath}/tools ${destroot}${shdir}
59}
Note: See TracBrowser for help on using the repository browser.