# -*- 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 PortSystem 1.0 PortGroup github 1.0 github.setup taku910 cabocha 0.69 revision 0 checksums rmd160 3758be284222090884a20066cad14a873c070e2a \ sha256 9db896d7f9d83fc3ae34908b788ae514ae19531eb89052e25f061232f6165992 \ size 84638995 categories textproc japanese maintainers nomaintainer description Yet Another Japanese Dependency Structure Analyzer long_description CaboCha is a Japanese dependency structure analyzer based on \ support vector machines. \ This version of CaboCha supports the UTF-8 encoding. platforms darwin license {BSD Permissive} # The 0.69 distfile was downloaded from the author's Google Drive and # uploaded to the MacPorts distfiles server manually. Future releases # might occur on GitHub? # https://drive.google.com/drive/folders/0B4y35FiV1wh7cGRCUUJHVTNJRnM homepage https://taku910.github.io/cabocha/ master_sites macports_distfiles use_bzip2 yes depends_lib port:crfpp \ port:libiconv \ port:mecab-base \ port:mecab-utf8 patchfiles patch-configure.diff configure.args --with-charset=UTF8 variant juman conflicts unidic description {Set the default posset to JUMAN} { configure.args-append --with-posset=JUMAN } variant unidic conflicts juman description {Set the default posset to UniDic} { configure.args-append --with-posset=UNIDIC } test.run yes test.target check post-destroot { # install additional documents. set docdir ${prefix}/share/doc/${name} xinstall -d ${destroot}${docdir} xinstall -m 644 -W ${worksrcpath} \ AUTHORS COPYING ChangeLog TODO \ ${destroot}${docdir} xinstall -m 644 ${worksrcpath}/doc/README.txt ${destroot}${docdir} # install extra tools. set shdir ${prefix}/share/${name} xinstall -d ${destroot}${shdir} copy ${worksrcpath}/tools ${destroot}${shdir} } livecheck.url ${homepage} livecheck.regex {\d{4}/\d{2}/\d{2} ([0-9.]+)}