# -*- 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 eddelbuettel RcppZiggurat 0.1.8
revision            2
categories-append   math
maintainers         {@barracuda156 macos-powerpc.org:barracuda} openmaintainer
license             GPL-2+
description         Rcpp integration of different Ziggurat normal RNG implementations
long_description    {*}${description}
homepage            https://dirk.eddelbuettel.com/code/rcpp.gsl.html
checksums           rmd160  db892e53d5ad5b9bc0916c57dc1bd72cd0a8817b \
                    sha256  2eb09c74ea01532f099fa44776f7f1e66ef6ef28d17c55744c254f8832b63e10 \
                    size    295313

# As a matter of fact, it links to gsl directly,
# so we need a lib dependency.
# https://github.com/eddelbuettel/rcppziggurat/issues/21
depends_lib-append  port:gsl \
                    port:R-Rcpp \
                    port:R-RcppGSL

depends_test-append port:R-ggplot2 \
                    port:R-knitr \
                    port:R-microbenchmark \
                    port:R-rbenchmark \
                    port:R-rmarkdown

test.run            yes
