aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZsolt Udvari <uzsolt@uzsolt.hu>2023-01-02 21:46:57 +0000
committerGuangyuan Yang <ygy@FreeBSD.org>2023-01-02 21:46:57 +0000
commit66a4ddf6023a2875c9e101aae8301ccfbb29e01c (patch)
tree21631b77e23b243b7a6fc6dbd80853a2d0a3856f
parentbbe08c79cbc9d4d00ad8fbeeeff30841023a6036 (diff)
downloadports-66a4ddf6023a2875c9e101aae8301ccfbb29e01c.tar.gz
ports-66a4ddf6023a2875c9e101aae8301ccfbb29e01c.zip
graphics/R-cran-magick: New port
Advanced Graphics and Image-Processing in R. PR: 268697
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/R-cran-magick/Makefile21
-rw-r--r--graphics/R-cran-magick/distinfo3
-rw-r--r--graphics/R-cran-magick/pkg-descr4
4 files changed, 29 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index c8d6a2c3228b..480d8e7f6b70 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -24,6 +24,7 @@
SUBDIR += R-cran-gridExtra
SUBDIR += R-cran-jpeg
SUBDIR += R-cran-latticeExtra
+ SUBDIR += R-cran-magick
SUBDIR += R-cran-munsell
SUBDIR += R-cran-pROC
SUBDIR += R-cran-pixmap
diff --git a/graphics/R-cran-magick/Makefile b/graphics/R-cran-magick/Makefile
new file mode 100644
index 000000000000..281e64bd9cda
--- /dev/null
+++ b/graphics/R-cran-magick/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= magick
+DISTVERSION= 2.7.3
+CATEGORIES= graphics
+DISTNAME= ${PORTNAME}_${DISTVERSION}
+
+MAINTAINER= uzsolt@uzsolt.hu
+COMMENT= Advanced Graphics and Image-Processing in R
+WWW= https://cran.r-project.org/web/packages/magick/index.html
+
+LICENSE= MIT
+
+CRAN_DEPENDS= R-cran-curl>0:ftp/R-cran-curl \
+ R-cran-magrittr>0:devel/R-cran-magrittr \
+ R-cran-Rcpp>0:devel/R-cran-Rcpp
+BUILD_DEPENDS+= ${CRAN_DEPENDS}
+RUN_DEPENDS= ImageMagick7>0:graphics/ImageMagick7 \
+ ${CRAN_DEPENDS}
+
+USES= cran:auto-plist,compiles
+
+.include <bsd.port.mk>
diff --git a/graphics/R-cran-magick/distinfo b/graphics/R-cran-magick/distinfo
new file mode 100644
index 000000000000..17eb373cdd43
--- /dev/null
+++ b/graphics/R-cran-magick/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1672602908
+SHA256 (magick_2.7.3.tar.gz) = 83877b2e23ea43fbc1164de9c2422eafbe7858393ac384df5adf3a7eec122441
+SIZE (magick_2.7.3.tar.gz) = 4813163
diff --git a/graphics/R-cran-magick/pkg-descr b/graphics/R-cran-magick/pkg-descr
new file mode 100644
index 000000000000..35d337274795
--- /dev/null
+++ b/graphics/R-cran-magick/pkg-descr
@@ -0,0 +1,4 @@
+Advanced Graphics and Image-Processing in R
+Bindings to ImageMagick. Supports many common formats and manipulations.
+The package includes a native graphics device for creating in-memory
+graphics or drawing onto images using pixel coordinates.