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:
Zsolt Udvari 2024-11-29 11:49:29 +01:00
parent 7e7d612352
commit b9fcc139d0
4 changed files with 31 additions and 0 deletions

View file

@ -26,6 +26,7 @@
SUBDIR += R-cran-magick
SUBDIR += R-cran-munsell
SUBDIR += R-cran-pROC
SUBDIR += R-cran-pdftools
SUBDIR += R-cran-pixmap
SUBDIR += R-cran-png
SUBDIR += R-cran-qcc

View 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>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1732875522
SHA256 (pdftools_3.4.1.tar.gz) = 31c1df5658749ea20e191321bbbfd6571dd5927bdb24e6cfd91ff9680a291cbd
SIZE (pdftools_3.4.1.tar.gz) = 935211

View 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.