git: 66a4ddf6023a - main - graphics/R-cran-magick: New port

From: Guangyuan Yang <ygy_at_FreeBSD.org>
Date: Mon, 02 Jan 2023 21:47:07 UTC
The branch main has been updated by ygy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=66a4ddf6023a2875c9e101aae8301ccfbb29e01c

commit 66a4ddf6023a2875c9e101aae8301ccfbb29e01c
Author:     Zsolt Udvari <uzsolt@uzsolt.hu>
AuthorDate: 2023-01-02 21:46:57 +0000
Commit:     Guangyuan Yang <ygy@FreeBSD.org>
CommitDate: 2023-01-02 21:46:57 +0000

    graphics/R-cran-magick: New port
    
    Advanced Graphics and Image-Processing in R.
    
    PR:             268697
---
 graphics/Makefile                |  1 +
 graphics/R-cran-magick/Makefile  | 21 +++++++++++++++++++++
 graphics/R-cran-magick/distinfo  |  3 +++
 graphics/R-cran-magick/pkg-descr |  4 ++++
 4 files changed, 29 insertions(+)

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.