# -*- 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

PortSystem          1.0
PortGroup           python 1.0

name                py-mecab-python3
version             1.0.10
revision            0

categories-append   textproc japanese
maintainers         nomaintainer
license             {GPL LGPL BSD}

description         Python wrapper for the MeCab morphological analyzer for Japanese
long_description    {*}${description}

homepage            https://github.com/SamuraiT/mecab-python3

checksums           rmd160  1009aecd45dfea47ff8b164a294000a152284757 \
                    sha256  21cd4416043e9a993fcfb986dde93e4366a07543dd95849b5ef2e50c9a9afcce \
                    size    78691

distname            mecab_python3-${version}

python.versions     310 311 312 313

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-setuptools_scm

    depends_lib-append \
                    path:bin/mecab-config:mecab-utf8
}
