# -*- 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: Portfile 86218 2011-10-22 05:36:22Z hum@macports.org $

PortSystem          1.0

set dicname         naist-jdic
set encoding        utf8
set charset         utf8
name                mecab-${dicname}-${encoding}
version             0.6.3b-20111013
categories          textproc japanese
maintainers         hum openmaintainer
platforms           darwin
license             BSD

homepage            http://sourceforge.jp/projects/naist-jdic/
description         ${dicname} of ${encoding} encoding for MeCab
long_description    ${description}

dist_subdir         mecab
distname            mecab-${dicname}-${version}

master_sites        sourceforge_jp:mecab/48487/

depends_lib         port:mecab-base
checksums           rmd160  0f0bce78a7e304cfe6f3083cd5c947f95ddb7e0d \
                    sha256  cb37700dc9a77b953f2bf3b15b49cfecd67848530a2cf8abcb09b594ca5628cc

patchfiles          patch-Makefile.in.diff

supported_archs     noarch
configure.args      --with-mecab-config=${prefix}/bin/mecab-config \
                    --with-charset=${charset} \
                    --with-dicdir=${prefix}/lib/mecab/dic/${dicname}-${encoding}

livecheck.type      none
