aboutsummaryrefslogtreecommitdiff
path: root/converters/rubygem-po_to_json
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-05-30 01:48:55 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-05-30 01:48:55 +0000
commit47038d1ef28308fd9423cdfc7f0508ef773082d3 (patch)
tree53ef472ab16ad10b67d876431f5a759936eff976 /converters/rubygem-po_to_json
parentfe7bd6fc6f935f35c3e5f30fe9427ba5014c00de (diff)
downloadports-47038d1ef28308fd9423cdfc7f0508ef773082d3.tar.gz
ports-47038d1ef28308fd9423cdfc7f0508ef773082d3.zip
Notes
Diffstat (limited to 'converters/rubygem-po_to_json')
-rw-r--r--converters/rubygem-po_to_json/Makefile21
-rw-r--r--converters/rubygem-po_to_json/distinfo3
-rw-r--r--converters/rubygem-po_to_json/pkg-descr6
3 files changed, 30 insertions, 0 deletions
diff --git a/converters/rubygem-po_to_json/Makefile b/converters/rubygem-po_to_json/Makefile
new file mode 100644
index 000000000000..5a2be6b0c4fa
--- /dev/null
+++ b/converters/rubygem-po_to_json/Makefile
@@ -0,0 +1,21 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= po_to_json
+PORTVERSION= 1.0.1
+CATEGORIES= converters rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Convert gettext PO files to JSON objects
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= rubygem-json>=1.6.0:devel/rubygem-json
+
+NO_ARCH= yes
+USE_RUBY= yes
+USES= gem
+
+.include <bsd.port.mk>
diff --git a/converters/rubygem-po_to_json/distinfo b/converters/rubygem-po_to_json/distinfo
new file mode 100644
index 000000000000..b78d144f5ae4
--- /dev/null
+++ b/converters/rubygem-po_to_json/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1496106101
+SHA256 (rubygem/po_to_json-1.0.1.gem) = 6a7188aa6c42a22c9718f9b39062862ef7f3d8f6a7b4177cae058c3308b56af7
+SIZE (rubygem/po_to_json-1.0.1.gem) = 10240
diff --git a/converters/rubygem-po_to_json/pkg-descr b/converters/rubygem-po_to_json/pkg-descr
new file mode 100644
index 000000000000..d94cd7200fc2
--- /dev/null
+++ b/converters/rubygem-po_to_json/pkg-descr
@@ -0,0 +1,6 @@
+PoToJson converts gettext PO files to JSON to use in your javascript app, based
+on po2json.pl by DuckDuckGo, Inc.. Ideally you'll use this on a Rake task that
+creates JSON versions of your PO files, which can later be used from javascript
+with Jed.
+
+WWW: https://github.com/webhippie/po_to_json