Files

40 lines
1.3 KiB
Tcl

# -*- 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
# GitHub version lags behind.
R.setup cran symengine symengine 0.2.6
revision 3
categories-append math
maintainers nomaintainer
license GPL-2+
description Interface to the SymEngine library
long_description {*}${description}
homepage https://github.com/symengine/symengine.R
checksums rmd160 08aab009c241e7fd5de7c737a03159f1c8e56e25 \
sha256 897f2878690d6aec35ce45bc61f1a1c2c3e08a71b62364821e8969cad6688fef \
size 810906
depends_lib-append path:bin/cmake:cmake \
port:gmp \
port:mpfr \
port:R-Rcpp \
port:symengine
# Use MacPorts symengine:
patchfiles patch-configure.diff
post-patch {
reinplace "s,@PREFIX@,${prefix},g" ${worksrcpath}/configure
}
depends_test-append port:R-crayon \
port:R-knitr \
port:R-odeintr \
port:R-pracma \
port:R-rmarkdown \
port:R-testthat
test.run yes