<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/206f79a18a02e9143c529b1fbe8c999ce6f1cbed">https://github.com/macports/macports-ports/commit/206f79a18a02e9143c529b1fbe8c999ce6f1cbed</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 206f79a18a02e9143c529b1fbe8c999ce6f1cbed
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Sat May 13 00:39:04 2023 +0800
<span style='display:block; white-space:pre;color:#404040;'> R-RQuantLib: new port
</span>---
R/R-RQuantLib/Portfile | 29 +++++++++++++++++++++++++++++
R/R-RQuantLib/files/patch-cxx11.diff | 11 +++++++++++
2 files changed, 40 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/R/R-RQuantLib/Portfile b/R/R-RQuantLib/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..2703cc52343
</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-RQuantLib/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,29 @@
</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 boost 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 cran eddelbuettel RQuantLib 0.4.18
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories-append finance
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license GPL-2+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description R interface to the QuantLib library
</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://dirk.eddelbuettel.com/code/rquantlib.html
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 3ec8ad5a592dcca835126dcde708504fb0cdcff9 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 f124fef2a070182b63fb562745d619de428181de45bd007b03616f1d095a365a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 193388
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:QuantLib \
</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-zoo
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-cxx11.diff
</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-rgl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:R-tinytest \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:R-shiny
</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-RQuantLib/files/patch-cxx11.diff b/R/R-RQuantLib/files/patch-cxx11.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..19763d5d6cb
</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-RQuantLib/files/patch-cxx11.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/Makevars.in.orig 2022-10-26 06:57:57.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/Makevars.in 2023-05-12 23:32:00.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -3,7 +3,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Copyright 2008 - 2022 Dirk Eddelbuettel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # See configure.in for how these variables are computed
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-PKG_CXXFLAGS=@CXXFLAGS@ -I../inst/include -I. -DBOOST_NO_AUTO_PTR $(SHLIB_OPENMP_CXXFLAGS)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++PKG_CXXFLAGS=@CXXFLAGS@ -I../inst/include -I. -D_GLIBCXX_USE_CXX11_ABI=0 -DBOOST_NO_AUTO_PTR $(SHLIB_OPENMP_CXXFLAGS)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PKG_LIBS=@LDFLAGS@ $(SHLIB_OPENMP_CXXFLAGS)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Use C++14 with QuantLib 1.28 or later -- and the default with R 4.2.* anyway
</span></pre><pre style='margin:0'>
</pre>