# -*- 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 86221 2011-10-22 06:51:12Z hum@macports.org $

PortSystem          1.0

set dicname         ipadic
set encoding        eucjp
name                mecab-${dicname}
version             2.7.0-20070801
categories          textproc japanese
maintainers         gmail.com:rsky0711 hum openmaintainer
platforms           darwin

homepage            http://mecab.sourceforge.net/
description         ${dicname} of ${encoding} encoding for MeCab
long_description    ${description}

dist_subdir         mecab

master_sites        sourceforge:mecab
checksums           rmd160  8c774433a555e4947a6af80c436e9b40631bda45 \
                    sha256  b62f527d881c504576baed9c6ef6561554658b175ce6ae0096a60307e49e3523

depends_lib         port:mecab-base

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.net/projects/mecab/files/mecab-${dicname}
livecheck.regex     {(\d+\.\d+\.\d+\-\d+)}
