# -*- 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.5
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  79f3c405158f787747c4e35e7cad05ce7394b3b9 \
                    sha256  e703d78c88a671abb8170351644850015d9bbfab31530a3b40d12481a6779a11 \
                    size    77586

python.versions     39 310 311 312

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

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