git: 8a01bbf0f333 - main - print/rubygem-color_diff: New port

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 19 Nov 2022 06:08:37 UTC
The branch main has been updated by bofh:

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

commit 8a01bbf0f333b69363a8e138381b5f24dca7ba6b
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-11-19 06:07:18 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-11-19 06:08:31 +0000

    print/rubygem-color_diff: New port
    
    Calculating differences between colors using the CIEDE2000 algorithm
    
    Sponsored by:   Nepustil
---
 print/Makefile                     |  1 +
 print/rubygem-color_diff/Makefile  | 17 +++++++++++++++++
 print/rubygem-color_diff/distinfo  |  3 +++
 print/rubygem-color_diff/pkg-descr |  1 +
 4 files changed, 22 insertions(+)

diff --git a/print/Makefile b/print/Makefile
index 7aaf6f666dce..b2165ccc23f6 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -205,6 +205,7 @@
     SUBDIR += rubygem-afm
     SUBDIR += rubygem-color
     SUBDIR += rubygem-color-tools
+    SUBDIR += rubygem-color_diff
     SUBDIR += rubygem-pdf-core
     SUBDIR += rubygem-pdf-reader
     SUBDIR += rubygem-pdf-writer
diff --git a/print/rubygem-color_diff/Makefile b/print/rubygem-color_diff/Makefile
new file mode 100644
index 000000000000..1006b072f132
--- /dev/null
+++ b/print/rubygem-color_diff/Makefile
@@ -0,0 +1,17 @@
+PORTNAME=	color_diff
+PORTVERSION=	0.1
+CATEGORIES=	print rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	bofh@FreeBSD.org
+COMMENT=	Calculate RGB color distances using CIEDE2000 formula
+WWW=		https://github.com/hansondr/color_diff
+
+LICENSE=	MIT
+
+USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/print/rubygem-color_diff/distinfo b/print/rubygem-color_diff/distinfo
new file mode 100644
index 000000000000..70f7b0fd895e
--- /dev/null
+++ b/print/rubygem-color_diff/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1668837642
+SHA256 (rubygem/color_diff-0.1.gem) = 99dc39f4453e42aa3bbc6d738f82194870b974993135cee61deb2eff29deb705
+SIZE (rubygem/color_diff-0.1.gem) = 7680
diff --git a/print/rubygem-color_diff/pkg-descr b/print/rubygem-color_diff/pkg-descr
new file mode 100644
index 000000000000..476fcbaf0417
--- /dev/null
+++ b/print/rubygem-color_diff/pkg-descr
@@ -0,0 +1 @@
+Calculating differences between colors using the CIEDE2000 algorithm