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

github.setup        kkos oniguruma 5.9.6_p1 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
name                oniguruma5
maintainers         nomaintainer
categories          devel

license             BSD
homepage            https://github.com/kkos/oniguruma/

description         A regular expressions library.
long_description    Oniguruma is a regular expressions library in which \
                    different character encoding can be specified for every \
                    expression. Supports Unicode Porperty/Script. N.B. 5.x is \
                    unrelated to Ruby.

checksums           rmd160  118f1d67d9c933abafca62df83ffb2f9c20751ff \
                    sha256  ab30ce3929b296c40ef2dbd814730e5d125f2e053a0ab203bf72d434df642e6d

conflicts           oniguruma6

use_autoreconf      yes

post-destroot {
    set dest_doc ${destroot}${prefix}/share/doc/oniguruma
    xinstall -d ${dest_doc}
    xinstall -m 644 -W ${worksrcpath} \
        AUTHORS COPYING HISTORY README README.ja \
        index.html index_ja.html \
        ${dest_doc}
    copy ${worksrcpath}/doc ${dest_doc}
}

livecheck.type      none