<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/56971d2d194031dee5357d67dd866562a5c66477">https://github.com/macports/macports-ports/commit/56971d2d194031dee5357d67dd866562a5c66477</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 56971d2d194031dee5357d67dd866562a5c66477
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Sun Jun 25 10:30:30 2023 +0800
<span style='display:block; white-space:pre;color:#404040;'> R-RBesT: new port
</span>---
R/R-RBesT/Portfile | 49 ++++++++++++++++++++++++++++++++
R/R-RBesT/files/patch-fix-configure.diff | 21 ++++++++++++++
2 files changed, 70 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/R/R-RBesT/Portfile b/R/R-RBesT/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..88078601277
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/R/R-RBesT/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,49 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- 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
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup R 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+R.setup github Novartis RBesT 1.6-6 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories-append math
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {@barracuda156 gmail.com:vital.had} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license GPL-3+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description R Bayesian Evidence Synthesis Tools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description {*}${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://opensource.nibr.com/RBesT
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 d193b280289d1d9ba68820e915807e0a862d19d1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 fb12f804d1848df1f52c783eb7afc2f6da62581f5e8a10331a38924596e211fc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 220022
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:R-assertthat \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:R-bayesplot \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:R-BH \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:R-checkmate \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:R-dplyr \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:R-Formula \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:R-ggplot2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:R-matrixStats \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:R-mvtnorm \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:R-Rcpp \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:R-RcppEigen \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:R-RcppParallel \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:R-rstan \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:R-rstantools \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:R-StanHeaders
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://github.com/Novartis/RBesT/issues/8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-fix-configure.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.cxx_standard 2017
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_test-append port:R-broom \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:R-foreach \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:R-knitr \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:R-purrr \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:R-rmarkdown \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:R-rstanarm \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:R-scales \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:R-testthat \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:R-tidyr
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.run yes
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/R/R-RBesT/files/patch-fix-configure.diff b/R/R-RBesT/files/patch-fix-configure.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..2153de87f18
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/R/R-RBesT/files/patch-fix-configure.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,21 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2023-03-04 04:07:42.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2023-06-25 09:25:39.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,16 +1,4 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-# Generated by rstantools. Do not edit by hand.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #! /bin/sh
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#"${R_HOME}/bin/Rscript" -e "rstantools::rstan_config()"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-"${R_HOME}/bin/Rscript" -e "rstantools::rstan_config()" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- -e 'mv <- readLines("src/Makevars")' \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- -e 'con <- file("src/Makevars", "wb")' \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- -e 'writeLines(c(sub("^CXX_STD = CXX14$", "CXX_STD = CXX17", mv), "PKG_CPPFLAGS += -D_HAS_AUTO_PTR_ETC=0"), con=con, useBytes=TRUE)' \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- -e 'close(con)' \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- -e 'mv_win <- readLines("src/Makevars.win")' \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- -e 'con_win <- file("src/Makevars.win", "wb")' \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- -e 'writeLines(c(sub("^CXX_STD = CXX14$", "CXX_STD17 = CXX17", mv_win), "PKG_CPPFLAGS += -D_HAS_AUTO_PTR_ETC=0"), con=con_win, useBytes=TRUE)' \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- -e 'close(con_win)'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# Generated by rstantools. Do not edit by hand.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++"${R_HOME}/bin/Rscript" -e "rstantools::rstan_config()"
</span></pre><pre style='margin:0'>
</pre>