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

# clock_gettime
legacysupport.newest_darwin_requires_legacy 15

github.setup        DaanDeMeyer reproc 14.2.5 v
revision            0
license             MIT
categories          devel
maintainers         {harens @harens} openmaintainer
description         Cross-platform (C99/C++11) process library
long_description    ${name} (Redirected Process) is a cross-platform C/C++ library that \
                    simplifies starting, stopping and communicating with external programs. \
                    The main use case is executing command line applications directly from \
                    C or C++ code and retrieving their output.
checksums           rmd160  406bed2d32c1e0e1fb3cd9bc2b9f42517296b0e0 \
                    sha256  69467be0cfc80734b821c54ada263c8f1439f964314063f76b7cf256c3dc7ee8 \
                    size    65290
github.tarball_from archive

compiler.c_standard 1999
compiler.cxx_standard 2011

# Build the C++11 API
configure.args-append \
                    -DREPROC++=ON
