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

github.setup        treefrogframework cpi 2.1.0 v
github.tarball_from archive
revision            0

homepage            https://treefrogframework.github.io/cpi

description         Cpi is a tiny interpreter for C++11, C++14 or C++17.
long_description    {*}${description}

categories          lang devel
installs_libs       no
license             MIT
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  89b4ec654127a4dae899356571afb3bd03f68050 \
                    sha256  15a314e937dd05e62ca928a909305fa58052c764c7d313f79ae472eb0cc3c86c \
                    size    13446

use_xcode           yes

post-configure {
    reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/Makefile
}
