# -*- 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        interkosmos fortran-lua53 19a2922f8398e76d9b286b35e29f176acad2706e
version             0.2.0
revision            0
categories-append   devel
license             ISC
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
description         Fortran 2008 interface bindings to Lua 5.3
long_description    {*}${description}
checksums           rmd160  d947f232a43f331701e451a9750bcfcf56e34bef \
                    sha256  1d1c2140715bb1f8064df4e84b1874bdc18c042d93a86d259900183c652924ee \
                    size    11570

depends_lib-append  port:lua53

build.cmd-append    --link-flag="-L${prefix}/lib -llua.5.3"

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