svn commit: r442046 - in head/converters: . rubygem-po_to_json

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Tue May 30 01:48:57 UTC 2017


Author: sunpoet
Date: Tue May 30 01:48:55 2017
New Revision: 442046
URL: https://svnweb.freebsd.org/changeset/ports/442046

Log:
  Add rubygem-po_to_json 1.0.1
  
  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

Added:
  head/converters/rubygem-po_to_json/
  head/converters/rubygem-po_to_json/Makefile   (contents, props changed)
  head/converters/rubygem-po_to_json/distinfo   (contents, props changed)
  head/converters/rubygem-po_to_json/pkg-descr   (contents, props changed)
Modified:
  head/converters/Makefile

Modified: head/converters/Makefile
==============================================================================
--- head/converters/Makefile	Tue May 30 01:48:40 2017	(r442045)
+++ head/converters/Makefile	Tue May 30 01:48:55 2017	(r442046)
@@ -159,6 +159,7 @@
     SUBDIR += recode
     SUBDIR += rubygem-base32
     SUBDIR += rubygem-bsdconv
+    SUBDIR += rubygem-po_to_json
     SUBDIR += shftool
     SUBDIR += showkey
     SUBDIR += ta2as

Added: head/converters/rubygem-po_to_json/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/converters/rubygem-po_to_json/Makefile	Tue May 30 01:48:55 2017	(r442046)
@@ -0,0 +1,21 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	po_to_json
+PORTVERSION=	1.0.1
+CATEGORIES=	converters rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet at 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>

Added: head/converters/rubygem-po_to_json/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/converters/rubygem-po_to_json/distinfo	Tue May 30 01:48:55 2017	(r442046)
@@ -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

Added: head/converters/rubygem-po_to_json/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/converters/rubygem-po_to_json/pkg-descr	Tue May 30 01:48:55 2017	(r442046)
@@ -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


More information about the svn-ports-all mailing list