Revision: 100743 https://trac.macports.org/changeset/100743 Author: hum@macports.org Date: 2012-12-21 15:24:13 -0800 (Fri, 21 Dec 2012) Log Message: ----------- New port: unidic-mecab @2.1.1 - a dictionary for the Japanese morphological analyzer MeCab Added Paths: ----------- trunk/dports/textproc/unidic-mecab/ trunk/dports/textproc/unidic-mecab/Portfile Added: trunk/dports/textproc/unidic-mecab/Portfile =================================================================== --- trunk/dports/textproc/unidic-mecab/Portfile (rev 0) +++ trunk/dports/textproc/unidic-mecab/Portfile 2012-12-21 23:24:13 UTC (rev 100743) @@ -0,0 +1,39 @@ +# -*- 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 + +name unidic-mecab +version 2.1.1 +categories textproc japanese +maintainers hum openmaintainer + +description a dictionary for the Japanese morphological analyzer MeCab +long_description ${name} is ${description}. + +homepage http://sourceforge.jp/projects/unidic/ +platforms darwin +license {BSD GPL LGPL} + +distname unidic-mecab-[strsed ${version} {g/\.//}]_bin +dist_subdir mecab +use_zip yes + +master_sites sourceforge_jp:unidic/57618/ +checksums rmd160 4379e83039ea2b20625b8fe2cf0d08ebb51a92b6 \ + sha256 07eefcc24a6abc5862f57b630e6ef29b686cc3c06d8fc554386bfe35733eca9e + +supported_archs noarch +use_configure no +build {} + +destroot { + set dic_dir ${prefix}/lib/mecab/dic + xinstall -d ${destroot}${dic_dir} + copy ${worksrcpath} ${destroot}${dic_dir}/unidic-utf8 +} + +livecheck.type regex +livecheck.url http://sourceforge.jp/projects/unidic/releases/ +livecheck.version [strsed ${version} {g/\.//}] +livecheck.regex ${name}-(\[\\d\]+) Property changes on: trunk/dports/textproc/unidic-mecab/Portfile ___________________________________________________________________ Added: svn:keywords + Id Added: svn:eol-style + native