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

github.setup        stanislaw posix-macos-addons 60946dbd89b3620ae4aa119380f38658f391fd76
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
version             20211014
revision            0

checksums           rmd160  f8567ec0c9db405a5a5ac26137b4359e044f5f54 \
                    sha256  0b51d85a194feeec3c7199fb1f8c28540e8a6925c6b68a8a4966b09bdcf9c7d5 \
                    size    275933

categories          devel
license             Apache-2
maintainers         nomaintainer

homepage            https://github.com/stanislaw/posix-macos-addons

description         Some missing bits of POSIX for macOS.
long_description    This is a collection of the POSIX functions which are not available on macOS.

compiler.cxx_standard   2011
compiler.blacklist      *gcc-3.* *gcc-4.* {clang < 700}

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

github.livecheck.branch main
