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
37 lines
1.3 KiB
Tcl
37 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 ropensci pdftools 3.4.1
|
|
revision 0
|
|
categories-append print
|
|
maintainers nomaintainer
|
|
license MIT
|
|
description Text extraction, rendering and converting of PDF documents
|
|
long_description {*}${description}
|
|
checksums rmd160 2ea27294100cc0a2d2d017d15559ef1c8b05cf3b \
|
|
sha256 31c1df5658749ea20e191321bbbfd6571dd5927bdb24e6cfd91ff9680a291cbd \
|
|
size 935211
|
|
|
|
depends_build-append \
|
|
path:bin/pkg-config:pkgconfig
|
|
|
|
depends_lib-append path:lib/pkgconfig/poppler.pc:poppler \
|
|
port:R-qpdf \
|
|
port:R-Rcpp
|
|
|
|
# As of now, libstdc++ in MacPorts uses old ABI.
|
|
if {${os.platform} eq "darwin" && ${configure.cxx_stdlib} ne "libc++"} {
|
|
# Symbol not found: __ZNK7poppler13embedded_file9mime_typeB5cxx11Ev
|
|
patchfiles patch-Makevars.diff
|
|
}
|
|
|
|
depends_test-append port:R-png \
|
|
port:R-tesseract \
|
|
port:R-testthat \
|
|
port:R-webp
|
|
|
|
test.run yes
|