freebsd-ports/devel/rubygem-gettext_i18n_rails/Makefile
Sunpoet Po-Chuan Hsieh 1186d0fce6 Add rubygem-gettext_i18n_rails 1.8.0
gettext_i18n_rails is simple FastGettext Rails integration. Translate via
FastGettext, use any other I18n backend as extension/fallback.

Rails does: I18n.t('syntax.with.lots.of.dots') with nested yml files. We do:
_('Just translate my damn text!') with simple, flat mo/po/yml files or directly
from db. To use I18n, calls add a syntax.with.lots.of.dots translation.

WWW: https://github.com/grosser/gettext_i18n_rails
2017-05-30 01:49:14 +00:00

21 lines
421 B
Makefile

# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= gettext_i18n_rails
PORTVERSION= 1.8.0
CATEGORIES= devel rubygems
MASTER_SITES= RG
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Simple FastGettext Rails integration
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/MIT-LICENSE.txt
RUN_DEPENDS= rubygem-fast_gettext>=0.9.0:devel/rubygem-fast_gettext
NO_ARCH= yes
USE_RUBY= yes
USES= gem
.include <bsd.port.mk>