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

# GitHub version is outdated.
R.setup             cran fabsig gpboost 1.5.1.2
revision            0
categories-append   math
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             Apache-2
description         Combining tree-boosting with Gaussian process and mixed effects models
long_description    {*}${description}
homepage            https://github.com/fabsig/GPBoost
checksums           rmd160  752297c4c807906d4ef9294ec2ae79cb3e9eb9f2 \
                    sha256  529f348bdc2cd1087900322979e153350cc1af18878a0212681110c0e2467813 \
                    size    2155269

depends_lib-append  port:R-data.table \
                    port:R-R6 \
                    port:R-RJSONIO

compiler.cxx_standard 2017

depends_test-append port:R-testthat

test.run            yes

# FIXME: linking on Rosetta may fail: https://github.com/fabsig/GPBoost/issues/97
# No problem when building natively on PowerPC.
