# -*- 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 set dicname naist-jdic name mecab-${dicname} set timestamp 20111013 version 0.6.3b-${timestamp} categories textproc japanese maintainers hum openmaintainer set encoding eucjp description ${dicname} of ${encoding} encoding for MeCab long_description ${description} homepage http://sourceforge.jp/projects/naist-jdic/ platforms darwin license BSD dist_subdir mecab master_sites sourceforge_jp:${dicname}/53500/ checksums rmd160 0f0bce78a7e304cfe6f3083cd5c947f95ddb7e0d \ sha256 cb37700dc9a77b953f2bf3b15b49cfecd67848530a2cf8abcb09b594ca5628cc depends_lib port:mecab-base patchfiles patch-Makefile.in.diff supported_archs noarch configure.args --with-mecab-config=${prefix}/bin/mecab-config \ --with-dicdir=${prefix}/lib/mecab/dic/${dicname}-${encoding} livecheck.type regex livecheck.url http://sourceforge.jp/projects/naist-jdic/releases/ livecheck.version ${timestamp} livecheck.regex ${name}-\\d+\\.\\d+\\.\\d+\[a-z\]?-(\\d+) subport mecab-${dicname}-sjis { set encoding sjis set charset sjis configure.post_args --with-charset=${charset} livecheck.type none } subport mecab-${dicname}-utf8 { set encoding utf8 set charset utf-8 configure.post_args --with-charset=${charset} livecheck.type none }