aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-07-06 14:54:53 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-07-06 14:54:53 +0000
commita685894c7743ae509af7c08fd4b5c07ea5524e84 (patch)
tree8e0475099068d48a7d71a9c36c1411fd7acc319e
parent6fa61161c94eb7cc0667059b1d27472078e080a7 (diff)
downloadports-a685894c7743ae509af7c08fd4b5c07ea5524e84.tar.gz
ports-a685894c7743ae509af7c08fd4b5c07ea5524e84.zip
graphics/rubygem-histogram: Add rubygem-histogram 0.2.4.1
Generates histograms similar to R's hist and numpy's histogram functions. Inspired somewhat by Richard Cottons's matlab implementation and the wikipedia histogram article. WWW: https://github.com/jtprince/histogram
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/rubygem-histogram/Makefile23
-rw-r--r--graphics/rubygem-histogram/distinfo3
-rw-r--r--graphics/rubygem-histogram/pkg-descr5
4 files changed, 32 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 1f97271abb6b..eb719fe0d381 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -977,6 +977,7 @@
SUBDIR += rubygem-gitlab_emoji
SUBDIR += rubygem-goocanvas
SUBDIR += rubygem-gruff
+ SUBDIR += rubygem-histogram
SUBDIR += rubygem-image_processing
SUBDIR += rubygem-image_science
SUBDIR += rubygem-imagesize
diff --git a/graphics/rubygem-histogram/Makefile b/graphics/rubygem-histogram/Makefile
new file mode 100644
index 000000000000..bc031bf4d0cf
--- /dev/null
+++ b/graphics/rubygem-histogram/Makefile
@@ -0,0 +1,23 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME= histogram
+PORTVERSION= 0.2.4.1
+CATEGORIES= graphics rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Give objects the ability to 'histogram' in several useful ways
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= gem shebangfix
+USE_RUBY= yes
+
+NO_ARCH= yes
+
+PLIST_FILES= bin/histogram
+
+SHEBANG_FILES= bin/histogram
+
+.include <bsd.port.mk>
diff --git a/graphics/rubygem-histogram/distinfo b/graphics/rubygem-histogram/distinfo
new file mode 100644
index 000000000000..06d4b36e6d80
--- /dev/null
+++ b/graphics/rubygem-histogram/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1625323511
+SHA256 (rubygem/histogram-0.2.4.1.gem) = 9a6e379172b88ea842ab71700a535dd037185a4e17abcce742c7444679ae2abc
+SIZE (rubygem/histogram-0.2.4.1.gem) = 15872
diff --git a/graphics/rubygem-histogram/pkg-descr b/graphics/rubygem-histogram/pkg-descr
new file mode 100644
index 000000000000..39eb05e6b337
--- /dev/null
+++ b/graphics/rubygem-histogram/pkg-descr
@@ -0,0 +1,5 @@
+Generates histograms similar to R's hist and numpy's histogram functions.
+Inspired somewhat by Richard Cottons's matlab implementation and the wikipedia
+histogram article.
+
+WWW: https://github.com/jtprince/histogram