diff options
author | Zsolt Udvari <uzsolt@FreeBSD.org> | 2024-11-29 10:49:29 +0000 |
---|---|---|
committer | Zsolt Udvari <uzsolt@FreeBSD.org> | 2024-11-29 10:49:29 +0000 |
commit | b9fcc139d0524d17205ac2a1af7c0f53b01db21d (patch) | |
tree | d06086bb81fff2f08825ea6e6043b0445debb09b | |
parent | 7e7d612352c89546c999cdd0bb4471b356630a0d (diff) | |
download | ports-b9fcc139d0524d17205ac2a1af7c0f53b01db21d.tar.gz ports-b9fcc139d0524d17205ac2a1af7c0f53b01db21d.zip |
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.
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/R-cran-pdftools/Makefile | 23 | ||||
-rw-r--r-- | graphics/R-cran-pdftools/distinfo | 3 | ||||
-rw-r--r-- | graphics/R-cran-pdftools/pkg-descr | 4 |
4 files changed, 31 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index 4ed74e7d4530..396df96c5b17 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -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 diff --git a/graphics/R-cran-pdftools/Makefile b/graphics/R-cran-pdftools/Makefile new file mode 100644 index 000000000000..d1812eec1700 --- /dev/null +++ b/graphics/R-cran-pdftools/Makefile @@ -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> diff --git a/graphics/R-cran-pdftools/distinfo b/graphics/R-cran-pdftools/distinfo new file mode 100644 index 000000000000..02748c0d87b8 --- /dev/null +++ b/graphics/R-cran-pdftools/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1732875522 +SHA256 (pdftools_3.4.1.tar.gz) = 31c1df5658749ea20e191321bbbfd6571dd5927bdb24e6cfd91ff9680a291cbd +SIZE (pdftools_3.4.1.tar.gz) = 935211 diff --git a/graphics/R-cran-pdftools/pkg-descr b/graphics/R-cran-pdftools/pkg-descr new file mode 100644 index 000000000000..7b2ca57f5392 --- /dev/null +++ b/graphics/R-cran-pdftools/pkg-descr @@ -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. |