mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
See https://github.com/macports/macports-ports/pull/26909#issuecomment-3339115770
52 lines
1.8 KiB
Tcl
52 lines
1.8 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 ropensci magick 2.8.5
|
|
revision 0
|
|
categories-append graphics
|
|
maintainers nomaintainer
|
|
license MIT
|
|
description Advanced graphics and image-processing in R
|
|
long_description {*}${description}
|
|
homepage https://docs.ropensci.org/magick
|
|
checksums rmd160 38105e157cdb2fd987f809c4ad78aeb2a1539989 \
|
|
sha256 eaed903c16515794f18208f1e646322fa89b4bd7e16066b885fde94d0da11c5a \
|
|
size 4596590
|
|
|
|
depends_build-append \
|
|
path:bin/pkg-config:pkgconfig
|
|
|
|
depends_lib-append port:ImageMagick \
|
|
port:R-curl \
|
|
port:R-magrittr \
|
|
port:R-Rcpp
|
|
|
|
# See: https://trac.macports.org/ticket/66978
|
|
patchfiles patch-isnan.diff \
|
|
patch-no-gifski.diff
|
|
|
|
# As of now, libstdc++ in MacPorts uses old ABI.
|
|
if {${os.platform} eq "darwin" && ${configure.cxx_stdlib} ne "libc++"} {
|
|
# Symbol not found: __ZN6Magick5Image10fontFamilyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
|
|
patchfiles-append \
|
|
patch-cxx11.diff
|
|
}
|
|
|
|
depends_test-append port:R-av \
|
|
port:R-gapminder \
|
|
port:R-ggplot2 \
|
|
port:R-IRdisplay \
|
|
port:R-jsonlite \
|
|
port:R-knitr \
|
|
port:R-pdftools \
|
|
port:R-rmarkdown \
|
|
port:R-rsvg \
|
|
port:R-spelling \
|
|
port:R-tesseract \
|
|
port:R-webp
|
|
|
|
test.run no
|