aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2022-11-19 04:03:04 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2022-11-19 04:03:04 +0000
commit5b26fa6fa8c6ad8491b7542ef5d443f5ded547cf (patch)
tree6ab6fbd40774097b4f574b688530a105e7fa1bc9
parentb3dd5199d9794dcf3e1610dc3d98388c11441c44 (diff)
downloadports-5b26fa6fa8c6ad8491b7542ef5d443f5ded547cf.tar.gz
ports-5b26fa6fa8c6ad8491b7542ef5d443f5ded547cf.zip
graphics/rubygem-blurhash: New port
Scruffy is a Ruby library for creating great looking graphs and charts. Graphs can be rendered to SVG code or an image. Blend the beauty of Gruff with the SVG capabilities of SVG::Graph, make it super simple and extensible, and you've got Scruffy. Sponsored by: Nepustil
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/rubygem-blurhash/Makefile18
-rw-r--r--graphics/rubygem-blurhash/distinfo3
-rw-r--r--graphics/rubygem-blurhash/pkg-descr4
4 files changed, 26 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index c0c09ff8733c..4b43687827f6 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -1004,6 +1004,7 @@
SUBDIR += ristretto
SUBDIR += rlottie
SUBDIR += ruby-gd
+ SUBDIR += rubygem-blurhash
SUBDIR += rubygem-cairo
SUBDIR += rubygem-captcha
SUBDIR += rubygem-chunky_png
diff --git a/graphics/rubygem-blurhash/Makefile b/graphics/rubygem-blurhash/Makefile
new file mode 100644
index 000000000000..ffbc1e584ab8
--- /dev/null
+++ b/graphics/rubygem-blurhash/Makefile
@@ -0,0 +1,18 @@
+PORTNAME= blurhash
+PORTVERSION= 0.1.6
+CATEGORIES= graphics rubygems
+MASTER_SITES= RG
+
+MAINTAINER= bofh@FreeBSD.org
+COMMENT= Ruby bindings for Blurhash library
+WWW= https://github.com/Gargron/blurhash
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS= rubygem-ffi>0:devel/rubygem-ffi
+
+USE_RUBY= yes
+USES= gem
+
+.include <bsd.port.mk>
diff --git a/graphics/rubygem-blurhash/distinfo b/graphics/rubygem-blurhash/distinfo
new file mode 100644
index 000000000000..67739ba206de
--- /dev/null
+++ b/graphics/rubygem-blurhash/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1668829976
+SHA256 (rubygem/blurhash-0.1.6.gem) = 5f03291a929e4ce8a51aa65502347d11fd8fb3d34259b42ac231fbd8780d46e7
+SIZE (rubygem/blurhash-0.1.6.gem) = 11776
diff --git a/graphics/rubygem-blurhash/pkg-descr b/graphics/rubygem-blurhash/pkg-descr
new file mode 100644
index 000000000000..fd2bd595c8dc
--- /dev/null
+++ b/graphics/rubygem-blurhash/pkg-descr
@@ -0,0 +1,4 @@
+Scruffy is a Ruby library for creating great looking graphs and charts.
+Graphs can be rendered to SVG code or an image. Blend the beauty of Gruff
+with the SVG capabilities of SVG::Graph, make it super simple and extensible,
+and you've got Scruffy.