aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authormmoll <mmoll@FreeBSD.org>2015-05-08 21:41:12 +0800
committermmoll <mmoll@FreeBSD.org>2015-05-08 21:41:12 +0800
commitb867db869f3aaf073ad0de6cb9ce811685d39085 (patch)
treed37c0bf27e0d975323600f0ebaf372e9e85bf241 /math
parent3476c64adafe0f20d96c47522546e51a5827eecc (diff)
downloadfreebsd-ports-gnome-b867db869f3aaf073ad0de6cb9ce811685d39085.tar.gz
freebsd-ports-gnome-b867db869f3aaf073ad0de6cb9ce811685d39085.tar.zst
freebsd-ports-gnome-b867db869f3aaf073ad0de6cb9ce811685d39085.zip
new port: math/rubygem-expression_parser
A mathematical expression parser for Ruby WWW: http://lukaszwrobel.pl/blog/math-parser-part-1-introduction PR: 199923 Differential Revision: https://reviews.freebsd.org/D2483 Submitted by: Torsten Zuehlsdorff <ports@toco-domains.de> Approved by: mat (mentor)
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/rubygem-expression_parser/Makefile15
-rw-r--r--math/rubygem-expression_parser/distinfo2
-rw-r--r--math/rubygem-expression_parser/pkg-descr4
4 files changed, 22 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 38dda0647bfd..4514a17e8c01 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -605,6 +605,7 @@
SUBDIR += rpy
SUBDIR += rpy2
SUBDIR += ruby-algebra
+ SUBDIR += rubygem-expression_parser
SUBDIR += rubygem-fftw3
SUBDIR += rubygem-narray
SUBDIR += rubygem-narray_miss
diff --git a/math/rubygem-expression_parser/Makefile b/math/rubygem-expression_parser/Makefile
new file mode 100644
index 000000000000..47de446f3f9d
--- /dev/null
+++ b/math/rubygem-expression_parser/Makefile
@@ -0,0 +1,15 @@
+# $FreeBSD$
+
+PORTNAME= expression_parser
+PORTVERSION= 0.9.0
+CATEGORIES= math rubygems
+MASTER_SITES= RG
+
+MAINTAINER= ruby@FreeBSD.org
+COMMENT= Mathematical expression parser for Ruby
+
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+.include <bsd.port.mk>
diff --git a/math/rubygem-expression_parser/distinfo b/math/rubygem-expression_parser/distinfo
new file mode 100644
index 000000000000..e0d88638b07f
--- /dev/null
+++ b/math/rubygem-expression_parser/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/expression_parser-0.9.0.gem) = 2b56db3cffc48c3337f4f29f5bc2374c86e7ba29acb40269c74bb55af9f868a4
+SIZE (rubygem/expression_parser-0.9.0.gem) = 6144
diff --git a/math/rubygem-expression_parser/pkg-descr b/math/rubygem-expression_parser/pkg-descr
new file mode 100644
index 000000000000..dc66e5f8384f
--- /dev/null
+++ b/math/rubygem-expression_parser/pkg-descr
@@ -0,0 +1,4 @@
+Implementation of mathematical expression parsing in Ruby including
+support for reverse polish notation (RPN).
+
+WWW: http://lukaszwrobel.pl/blog/math-parser-part-1-introduction