aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorMatthias Fechner <mfechner@FreeBSD.org>2018-09-23 18:08:19 +0000
committerMatthias Fechner <mfechner@FreeBSD.org>2018-09-23 18:08:19 +0000
commit847ee6a63ddf6c3f4f8863a30a0062be264440ea (patch)
tree8d9a345607cfb5ce4c1febfab1d9e7ab7165a025 /textproc
parent208aa6ebbc45642ba96f3c587222c4710b5fce99 (diff)
downloadports-847ee6a63ddf6c3f4f8863a30a0062be264440ea.tar.gz
ports-847ee6a63ddf6c3f4f8863a30a0062be264440ea.zip
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile2
-rw-r--r--textproc/rubygem-js_regex/Makefile21
-rw-r--r--textproc/rubygem-js_regex/distinfo3
-rw-r--r--textproc/rubygem-js_regex/pkg-descr6
-rw-r--r--textproc/rubygem-regexp_parser/Makefile20
-rw-r--r--textproc/rubygem-regexp_parser/distinfo3
-rw-r--r--textproc/rubygem-regexp_parser/pkg-descr3
7 files changed, 58 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index a3aa75c68a0d..fa2928abf4c9 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1573,6 +1573,7 @@
SUBDIR += rubygem-jekyll-sass-converter
SUBDIR += rubygem-jekyll-sitemap
SUBDIR += rubygem-jemoji
+ SUBDIR += rubygem-js_regex
SUBDIR += rubygem-jsmin
SUBDIR += rubygem-kramdown
SUBDIR += rubygem-kwalify
@@ -1606,6 +1607,7 @@
SUBDIR += rubygem-rdiscount
SUBDIR += rubygem-rdtool
SUBDIR += rubygem-redcarpet
+ SUBDIR += rubygem-regexp_parser
SUBDIR += rubygem-representable
SUBDIR += rubygem-reverse_markdown
SUBDIR += rubygem-ri_cal
diff --git a/textproc/rubygem-js_regex/Makefile b/textproc/rubygem-js_regex/Makefile
new file mode 100644
index 000000000000..1bb13649170d
--- /dev/null
+++ b/textproc/rubygem-js_regex/Makefile
@@ -0,0 +1,21 @@
+# Created by: Matthias Fechner <mfechner@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= js_regex
+PORTVERSION= 2.2.2
+CATEGORIES= textproc rubygems
+MASTER_SITES= RG
+
+MAINTAINER= mfechner@FreeBSD.org
+COMMENT= Convert ruby native regular expressions for JavaScript
+
+LICENSE= MIT
+
+RUN_DEPENDS= rubygem-regexp_parser>=0.5.0:textproc/rubygem-regexp_parser
+
+USES= gem
+USE_RUBY= yes
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/rubygem-js_regex/distinfo b/textproc/rubygem-js_regex/distinfo
new file mode 100644
index 000000000000..a7404107e1f6
--- /dev/null
+++ b/textproc/rubygem-js_regex/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1537564866
+SHA256 (rubygem/js_regex-2.2.2.gem) = 9f702df800cd39a4078a8276216a0e0ef679f83c4947d5e141492ae8a8140819
+SIZE (rubygem/js_regex-2.2.2.gem) = 46592
diff --git a/textproc/rubygem-js_regex/pkg-descr b/textproc/rubygem-js_regex/pkg-descr
new file mode 100644
index 000000000000..d0760a29d2ac
--- /dev/null
+++ b/textproc/rubygem-js_regex/pkg-descr
@@ -0,0 +1,6 @@
+JsRegex converts Ruby's native regular expressions
+for JavaScript, taking care of various
+incompatibilities and returning warnings for
+unsolvable differences.
+
+WWW: https://github.com/janosch-x/js_regex
diff --git a/textproc/rubygem-regexp_parser/Makefile b/textproc/rubygem-regexp_parser/Makefile
new file mode 100644
index 000000000000..ed5d0666f6ea
--- /dev/null
+++ b/textproc/rubygem-regexp_parser/Makefile
@@ -0,0 +1,20 @@
+# Created by: Matthias Fechner <mfechner@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= regexp_parser
+PORTVERSION= 0.5.0
+CATEGORIES= textproc rubygems
+MASTER_SITES= RG
+
+MAINTAINER= mfechner@FreeBSD.org
+COMMENT= Tokenizing, lexinf and parsing Ruby regular expressions
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= gem
+USE_RUBY= yes
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/rubygem-regexp_parser/distinfo b/textproc/rubygem-regexp_parser/distinfo
new file mode 100644
index 000000000000..d567d2cd36d5
--- /dev/null
+++ b/textproc/rubygem-regexp_parser/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1537565033
+SHA256 (rubygem/regexp_parser-0.5.0.gem) = eb0a270384d89888d4e11c40b351f09be5d81c123d359004948c3172b6c0e58c
+SIZE (rubygem/regexp_parser-0.5.0.gem) = 100864
diff --git a/textproc/rubygem-regexp_parser/pkg-descr b/textproc/rubygem-regexp_parser/pkg-descr
new file mode 100644
index 000000000000..f6c0f0c1544a
--- /dev/null
+++ b/textproc/rubygem-regexp_parser/pkg-descr
@@ -0,0 +1,3 @@
+A library for tokenizing, lexing, and parsing Ruby regular expressions.
+
+WWW: https://github.com/ammar/regexp_parser