ports/devel/rubygem-gettext_i18n_rails_js/Makefile
Po-Chuan Hsieh 0b8bff01ae
devel/rubygem-gettext_i18n_rails_js: Add rubygem-gettext_i18n_rails_js 2.1.0
GettextI18nRailsJs extends gettext_i18n_rails, making your .PO files available
to client side Javascript as JSON. It will find translations inside your .js,
.coffee, .handlebars and .mustache files, then it will create JSON versions of
your .PO files so you can serve them with the rest of your assets, thus letting
you access all your translations offline from client side Javascript.
2024-05-29 04:19:16 +08:00

22 lines
569 B
Makefile

PORTNAME= gettext_i18n_rails_js
PORTVERSION= 2.1.0
CATEGORIES= devel rubygems
MASTER_SITES= RG
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Make gettext_i18n_rails .po files as JSON
WWW= https://github.com/webhippie/gettext_i18n_rails_js
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= rubygem-gettext>=3.0.2:devel/rubygem-gettext \
rubygem-gettext_i18n_rails>=0.7.1:devel/rubygem-gettext_i18n_rails \
rubygem-po_to_json>=2.0.0:converters/rubygem-po_to_json \
rubygem-rails71>=3.2.0:www/rubygem-rails71
USES= gem
NO_ARCH= yes
.include <bsd.port.mk>