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

github.setup        perazz fortran-regex 1.1.2
revision            0
categories-append   devel
license             MIT
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
description         Fortran port of the tiny-regex-c library
long_description    Fortran-regex is a modern Fortran port of the tiny-regex-c library for regular expressions. \
                    It is based on the original C implementation, but the API is modelled in Fortran style, \
                    which is similar to the intrinsic index function.
checksums           rmd160  dad6ae9996dbb208497caa8ff34773708e3de38c \
                    sha256  9e3920201ec81ce3add258e2706b02a841f0cdd1817475ed39f77520d1df3959 \
                    size    91350
github.tarball_from archive

post-destroot {
    set docdir ${prefix}/share/doc/${name}
    xinstall -d ${destroot}${docdir}
    xinstall -m 0644 -W ${worksrcpath} LICENSE README.md ${destroot}${docdir}
}

test.run            yes