mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
graphics/R-cran-pdftools: new port
Utilities based on 'libpoppler' for extracting text, fonts, attachments and metadata from a PDF file. Also supports high quality rendering of PDF documents into PNG, JPEG, TIFF format, or into raw bitmap vectors for further processing in R.
This commit is contained in:
parent
7e7d612352
commit
b9fcc139d0
4 changed files with 31 additions and 0 deletions
|
@ -26,6 +26,7 @@
|
||||||
SUBDIR += R-cran-magick
|
SUBDIR += R-cran-magick
|
||||||
SUBDIR += R-cran-munsell
|
SUBDIR += R-cran-munsell
|
||||||
SUBDIR += R-cran-pROC
|
SUBDIR += R-cran-pROC
|
||||||
|
SUBDIR += R-cran-pdftools
|
||||||
SUBDIR += R-cran-pixmap
|
SUBDIR += R-cran-pixmap
|
||||||
SUBDIR += R-cran-png
|
SUBDIR += R-cran-png
|
||||||
SUBDIR += R-cran-qcc
|
SUBDIR += R-cran-qcc
|
||||||
|
|
23
graphics/R-cran-pdftools/Makefile
Normal file
23
graphics/R-cran-pdftools/Makefile
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
PORTNAME= pdftools
|
||||||
|
DISTVERSION= 3.4.1
|
||||||
|
CATEGORIES= graphics
|
||||||
|
DISTNAME= ${PORTNAME}_${DISTVERSION}
|
||||||
|
|
||||||
|
MAINTAINER= uzsolt@FreeBSD.org
|
||||||
|
COMMENT= Utilities based on libpoppler
|
||||||
|
WWW= https://cran.r-project.org/package=pdftools
|
||||||
|
|
||||||
|
LICENSE= MIT
|
||||||
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||||
|
|
||||||
|
CRAN_DEPENDS= R-cran-qpdf>0:graphics/R-cran-qpdf \
|
||||||
|
R-cran-Rcpp>=0.12.12:devel/R-cran-Rcpp
|
||||||
|
BUILD_DEPENDS= ${CRAN_DEPENDS}
|
||||||
|
LIB_DEPENDS= libpoppler-cpp.so:graphics/poppler
|
||||||
|
RUN_DEPENDS= ${CRAN_DEPENDS}
|
||||||
|
TEST_DEPENDS= R-cran-png>0:graphics/R-cran-png \
|
||||||
|
R-cran-testthat>0:devel/R-cran-testthat
|
||||||
|
|
||||||
|
USES= compiler:c++17-lang cran:auto-plist,compiles pkgconfig
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
3
graphics/R-cran-pdftools/distinfo
Normal file
3
graphics/R-cran-pdftools/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
TIMESTAMP = 1732875522
|
||||||
|
SHA256 (pdftools_3.4.1.tar.gz) = 31c1df5658749ea20e191321bbbfd6571dd5927bdb24e6cfd91ff9680a291cbd
|
||||||
|
SIZE (pdftools_3.4.1.tar.gz) = 935211
|
4
graphics/R-cran-pdftools/pkg-descr
Normal file
4
graphics/R-cran-pdftools/pkg-descr
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
Utilities based on 'libpoppler' for extracting text, fonts, attachments and
|
||||||
|
metadata from a PDF file. Also supports high quality rendering of PDF documents
|
||||||
|
into PNG, JPEG, TIFF format, or into raw bitmap vectors for further processing
|
||||||
|
in R.
|
Loading…
Add table
Reference in a new issue