# -*- 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 PortGroup legacysupport 1.1 # filesystem legacysupport.newest_darwin_requires_legacy 18 legacysupport.use_mp_libcxx yes github.setup benman64 subprocess 0.4.0 v revision 1 categories devel license MIT maintainers {@barracuda156 gmail.com:vital.had} openmaintainer description Cross-platform subprocess library for C++ long_description {*}${description} checksums rmd160 fd4419b83aed255bef36396a37ab6f9203435e44 \ sha256 19d865146d8565969da659ffdf9cf5feac5c36d02b52a6a687e41bd53114645f \ size 716782 github.tarball_from archive set py_ver 3.12 set py_ver_nodot [string map {. {}} ${py_ver}] depends_build-append \ port:python${py_ver_nodot} configure.python ${prefix}/bin/python${py_ver} post-patch { reinplace "s|/usr/bin/env python3|${configure.python}|" \ ${worksrcpath}/test/dependencies/cxxtest/bin/cxxtestgen } compiler.cxx_standard 2017 destroot { copy ${cmake.build_dir}/${name}/lib${name}.a ${destroot}${prefix}/lib copy ${worksrcpath}/src/cpp/${name}.hpp ${destroot}${prefix}/include copy ${worksrcpath}/src/cpp/${name} ${destroot}${prefix}/include set docdir ${prefix}/share/doc/${name} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} LICENSE README.md ${destroot}${docdir} copy ${worksrcpath}/docs ${destroot}${docdir} }