From 127ec2d4e7febe5c2fb54fdd61035abedd62dbf0 Mon Sep 17 00:00:00 2001 From: tota Date: Sun, 15 Nov 2015 10:36:22 +0000 Subject: [PATCH] - Add new port: math/R-cran-RcppEigen R and Eigen integration using Rcpp. Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers and related algorithms. It supports dense and sparse matrices on integer, floating point and complex numbers, decompositions of such matrices, and solutions of linear systems. Its performance on many algorithms is comparable with some of the best implementations based on Lapack and level-3 BLAS. The RcppEigen package includes the header files from the Eigen C++ template library (currently version 3.2.2). Thus users do not need to install Eigen itself in order to use RcppEigen. Since version 3.1.1, Eigen is licensed under the Mozilla Public License (version 2); earlier version were licensed under the GNU LGPL version 3 or later. RcppEigen (the Rcpp bindings/bridge to Eigen) is licensed under the GNU GPL version 2 or later, as is the rest of Rcpp. WWW: https://cran.r-project.org/web/packages/RcppEigen/ --- math/R-cran-RcppEigen/Makefile | 20 ++++++++++++++++++++ math/R-cran-RcppEigen/distinfo | 2 ++ math/R-cran-RcppEigen/pkg-descr | 16 ++++++++++++++++ 3 files changed, 38 insertions(+) create mode 100644 math/R-cran-RcppEigen/Makefile create mode 100644 math/R-cran-RcppEigen/distinfo create mode 100644 math/R-cran-RcppEigen/pkg-descr diff --git a/math/R-cran-RcppEigen/Makefile b/math/R-cran-RcppEigen/Makefile new file mode 100644 index 000000000000..bf0cd50c9ba2 --- /dev/null +++ b/math/R-cran-RcppEigen/Makefile @@ -0,0 +1,20 @@ +# Created by: TAKATSU Tomonari +# $FreeBSD$ + +PORTNAME= RcppEigen +PORTVERSION= 0.3.2.5.1 +CATEGORIES= math +DISTNAME= ${PORTNAME}_${PORTVERSION} + +MAINTAINER= tota@FreeBSD.org +COMMENT= Rcpp integration for the Eigen templated linear algebra library + +LICENSE= GPLv2 GPLv3 +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= R-cran-Rcpp>=0.11.0:${PORTSDIR}/devel/R-cran-Rcpp + +USES= cran:auto-plist + +.include diff --git a/math/R-cran-RcppEigen/distinfo b/math/R-cran-RcppEigen/distinfo new file mode 100644 index 000000000000..794a37c51922 --- /dev/null +++ b/math/R-cran-RcppEigen/distinfo @@ -0,0 +1,2 @@ +SHA256 (RcppEigen_0.3.2.5.1.tar.gz) = 9a2c8300e7dcc837c9c225dc8f9c857bc23785f91134d8868200eb2eb29f81c8 +SIZE (RcppEigen_0.3.2.5.1.tar.gz) = 1235892 diff --git a/math/R-cran-RcppEigen/pkg-descr b/math/R-cran-RcppEigen/pkg-descr new file mode 100644 index 000000000000..31929559d989 --- /dev/null +++ b/math/R-cran-RcppEigen/pkg-descr @@ -0,0 +1,16 @@ +R and Eigen integration using Rcpp. Eigen is a C++ template library +for linear algebra: matrices, vectors, numerical solvers and related +algorithms. It supports dense and sparse matrices on integer, +floating point and complex numbers, decompositions of such matrices, +and solutions of linear systems. Its performance on many algorithms +is comparable with some of the best implementations based on Lapack +and level-3 BLAS. The RcppEigen package includes the header files +from the Eigen C++ template library (currently version 3.2.2). Thus +users do not need to install Eigen itself in order to use RcppEigen. +Since version 3.1.1, Eigen is licensed under the Mozilla Public +License (version 2); earlier version were licensed under the GNU +LGPL version 3 or later. RcppEigen (the Rcpp bindings/bridge to +Eigen) is licensed under the GNU GPL version 2 or later, as is the +rest of Rcpp. + +WWW: https://cran.r-project.org/web/packages/RcppEigen/