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

R.setup             cran bbnkmp bnpmr 1.2
revision            3
categories-append   math
maintainers         nomaintainer
license             GPL
description         Bayesian Monotonic Non-parametric Regression
long_description    Implements the Bayesian nonparametric monotonic regression method.
checksums           rmd160  4e25019e4e0ccb23f67852f6d92652b612b8d5bf \
                    sha256  0f25958546e441383d348a1d39ebb130ffba3b3deb595f78b2f056018386f86e \
                    size    11420

depends_lib-append  port:gsl

patchfiles-append   patch-fix-prefix.diff

post-patch {
    reinplace "s|@PREFIX@|${prefix}|" ${worksrcpath}/src/Makevars
}

test.run            yes
