# -*- 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           github 1.0
PortGroup           boost 1.0

github.setup        jmizuno zunda 1.6 release-
revision            4
categories          textproc japanese
maintainers         nomaintainer

description         Japanese Extended Modality Analyzer
long_description    ${description}

platforms           darwin
license             BSD

homepage            https://jmizuno.github.io/zunda/
master_sites        macports_distfiles

depends_lib         port:cabocha

checksums           rmd160  9c0cd435c7b0a3704472a53129d5ccc56bf57836 \
                    sha256  8bff5d1c31b7fabb4e7cd36ac358487faaf7ac04320fb76674997844b2912b91 \
                    size    17429290

patchfiles          patch-configure.diff \
                    patch-src_Makefile.in.diff

boost.version       1.71

configure.args-append  --with-boost-include=[boost::include_dir] \
                       --with-boost-lib=[boost::lib_dir]

post-destroot {
    set docdir ${prefix}/share/doc/${name}
    xinstall -d ${destroot}${docdir}
    xinstall -m 644 -W ${worksrcpath} \
        COPYING README \
        ${destroot}${docdir}
}
