# -*- 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 yxlin ggdmc 0.2.6.0 revision 1 categories-append math maintainers {@barracuda156 gmail.com:vital.had} openmaintainer license GPL-2 description Cognitive Models long_description {*}${description} checksums rmd160 655f2e7cc415d97b42fd639bdb0f3856cb2f3f27 \ sha256 22f511773dc76b74d43b91ac6f6e2e967b5c1e7fa207d2fe9888147aedd9ccbe \ size 4284389 depends_lib-append port:R-coda \ port:R-data.table \ port:R-ggplot2 \ port:R-matrixStats \ port:R-Rcpp \ port:R-RcppArmadillo patchfiles patch-fix-tests.diff # configure is broken for GCC: https://github.com/yxlin/ggdmc/issues/6 if {[string match *gcc* ${configure.compiler}]} { patchfiles-append \ patch-gcc-configure.diff \ patch-fix-openmp.diff } # Place testthat.R into a correct location so that it is actually found. post-patch { move ${worksrcpath}/tests/testthat/testthat.R ${worksrcpath}/tests/testthat.R } compilers.setup require_fortran depends_test-append port:R-testthat test.run yes