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

github.setup            stan-dev stan 2.35.0 v
revision                0
categories              math
maintainers             {@barracuda156 gmail.com:vital.had} openmaintainer
license                 BSD
description             C++ package for Bayesian inference, maximum likelihood estimation etc.
long_description        {*}${description}
homepage                https://mc-stan.org
checksums               rmd160  6896999a5e81d3582bce4efb211551ce804ff0ed \
                        sha256  88d50e80e04cffdecb870ca20914b23363e52386d1df472661439731c58d6fd2 \
                        size    4381050
github.tarball_from     archive
supported_archs         noarch
platforms               any

depends_lib-append      path:lib/pkgconfig/RapidJSON.pc:rapidjson \
                        port:stanmath

use_configure           no

build                   {}

destroot {
    copy ${worksrcpath}/src/stan ${destroot}${prefix}/include
}
