# -*- 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 # $Id$ PortSystem 1.0 PortGroup github 1.0 github.setup neologd mecab-ipadic-neologd 96fd834fd266ad56e07ac80dd36d177e13c51710 version 20150608 set dic_version 20150608 categories textproc japanese license Apache-2 platforms darwin supported_archs noarch maintainers hum openmaintainer description Neologism dictionary for MeCab long_description mecab-ipadic-neologd is customized system dictionary for \ MeCab. This dictionary includes many neologisms (new word), \ which are \extracted from many language resources on the Web. \ When you analyze the Web documents, it's better to use this \ system dictionary and default one (ipadic) together. dist_subdir mecab checksums rmd160 f993f1aab0f4f9336e3b40756d6eee65496def79 \ sha256 edc8e9e6f9cc6e7da94b5d4b99caaf2ccc9b2dc504b1d939b0d488ad1cc09f15 depends_lib port:mecab-base depends_build port:mecab-ipadic-utf8 \ port:libiconv \ port:xz patchfiles patch-test.sh.diff post-patch { reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/libexec/test-mecab-ipadic-neologd.sh } use_configure no build { system -W ${worksrcpath} ./libexec/make-mecab-ipadic-neologd.sh system -W ${worksrcpath} ./libexec/test-mecab-ipadic-neologd.sh } destroot.dir ${worksrcpath}/build/mecab-ipadic-2.7.0-20070801-neologd-${dic_version} post-destroot { move ${destroot}${prefix}/lib/mecab/dic/${name} \ ${destroot}${prefix}/lib/mecab/dic/neologd-utf8 # install additional documents set docdir ${prefix}/share/doc/${name} xinstall -d ${destroot}${docdir} xinstall -m 644 -W ${worksrcpath} \ ChangeLog COPYING README.ja.md README.md \ ${destroot}${docdir} xinstall -m 644 ${destroot.dir}/COPYING ${destroot}${docdir}/COPYING-ipadic }