# -*- 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.6
revision            3
categories-append   math
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             {GPL-2 GPL-3}
description         Rcpp integration of different Ziggurat normal RNG implementations
long_description    {*}${description}
homepage            https://dirk.eddelbuettel.com/code/rcpp.gsl.html
checksums           rmd160  da52497a93da459251857611b7b995135033d168 \
                    sha256  9c78255ca476c945c05a564d1e4da363de714d890e0e27f3b252fd73c50eed71 \
                    size    405526

# 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-knitr \
                    port:R-microbenchmark \
                    port:R-pinp \
                    port:R-rbenchmark \
                    port:R-rmarkdown

test.run            yes
