# -*- 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 6.9.10 v
revision            0
name                oniguruma6
maintainers         {mps @Schamschula} openmaintainer
categories          devel

license             BSD
platforms           darwin

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 Property/Script.

checksums           rmd160  318eb350ec4b8c81686bda6f6f51e99ee31ad9c1 \
                    sha256  dd1131ff9a06ccc00b5833858069f390f6d8239489a4bdb518885ac10c68334b \
                    size    657388

conflicts           oniguruma5

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 index.html \
        ${dest_doc}
    copy ${worksrcpath}/doc ${dest_doc}
}

github.livecheck.regex  {(\d\.\d+(\.\d+)*(?!_))}