git: cfd2a9c5a637 - main - graphics/rubygem-mini_magick410: Add rubygem-mini_magick410 4.10.1 (copied from rubygem-mini_magick)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 23 Jan 2022 19:26:15 UTC
The branch main has been updated by sunpoet:

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

commit cfd2a9c5a637869fb32993e5467d952e0e7ff875
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-01-23 18:05:41 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-01-23 18:05:41 +0000

    graphics/rubygem-mini_magick410: Add rubygem-mini_magick410 4.10.1 (copied from rubygem-mini_magick)
    
    - Add PORTSCOUT
---
 graphics/Makefile                         |  1 +
 graphics/rubygem-mini_magick410/Makefile  | 45 +++++++++++++++++++++++++++++++
 graphics/rubygem-mini_magick410/distinfo  |  3 +++
 graphics/rubygem-mini_magick410/pkg-descr |  3 +++
 4 files changed, 52 insertions(+)

diff --git a/graphics/Makefile b/graphics/Makefile
index 77d992f1698e..c66cc5ec39d4 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -999,6 +999,7 @@
     SUBDIR += rubygem-imagesize
     SUBDIR += rubygem-invisible_captcha
     SUBDIR += rubygem-mini_magick
+    SUBDIR += rubygem-mini_magick410
     SUBDIR += rubygem-objectdetect
     SUBDIR += rubygem-opengl
     SUBDIR += rubygem-pdfkit
diff --git a/graphics/rubygem-mini_magick410/Makefile b/graphics/rubygem-mini_magick410/Makefile
new file mode 100644
index 000000000000..9ef094e89297
--- /dev/null
+++ b/graphics/rubygem-mini_magick410/Makefile
@@ -0,0 +1,45 @@
+# Created by: Ryan Steinmetz <zi@FreeBSD.org>
+
+PORTNAME=	mini_magick
+PORTVERSION=	4.10.1
+CATEGORIES=	graphics rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	410
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Manipulate images with minimal use of memory via ImageMagick
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/MIT-LICENSE
+
+OPTIONS_DEFINE=	X11
+OPTIONS_SINGLE=	IMAGEMAGICK
+OPTIONS_SINGLE_IMAGEMAGICK=	IMAGEMAGICK6 IMAGEMAGICK7
+OPTIONS_DEFAULT=IMAGEMAGICK7 X11
+IMAGEMAGICK6_DESC=	Use ImageMagick 6.x (graphics/ImageMagick6*)
+IMAGEMAGICK7_DESC=	Use ImageMagick 7.x (graphics/ImageMagick7*)
+
+USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+PORTSCOUT=	limit:^4\.10\.
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MX11}
+.if ${PORT_OPTIONS:MIMAGEMAGICK7}
+USES+=		magick:7
+.else
+USES+=		magick:6
+.endif
+.else
+.if ${PORT_OPTIONS:MIMAGEMAGICK7}
+USES+=		magick:7,nox11
+.else
+USES+=		magick:6,nox11
+.endif
+.endif
+
+.include <bsd.port.mk>
diff --git a/graphics/rubygem-mini_magick410/distinfo b/graphics/rubygem-mini_magick410/distinfo
new file mode 100644
index 000000000000..1820217e4bf2
--- /dev/null
+++ b/graphics/rubygem-mini_magick410/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1580562349
+SHA256 (rubygem/mini_magick-4.10.1.gem) = e939d2c70c8002233fc6b1eecfe762f38a156d69ad31a87160205870be08f852
+SIZE (rubygem/mini_magick-4.10.1.gem) = 18432
diff --git a/graphics/rubygem-mini_magick410/pkg-descr b/graphics/rubygem-mini_magick410/pkg-descr
new file mode 100644
index 000000000000..32d470e2d132
--- /dev/null
+++ b/graphics/rubygem-mini_magick410/pkg-descr
@@ -0,0 +1,3 @@
+Manipulate images with minimal use of memory via ImageMagick / GraphicsMagick
+
+WWW: https://github.com/minimagick/minimagick