pkgsrc/devel/ruby-gettext-rails/Makefile
fhajny 20ff979f46 Import ruby18-gettext-rails-2.1.0 as devel/ruby-gettext-rails.
gettext_rails provides the localization for Ruby on Rails
using Ruby-GetText-Package.

  * Autodetect client locale using locale/locale_rails.
  * Easy maintainance of translations to use powerful tools for gettext family.
  * Model translation using gettext_activerecord.
  * Localization for some helpers.
  * Works with other Rails I18n backend.
  * Thread safe.
2009-12-07 12:11:05 +00:00

22 lines
734 B
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2009/12/07 12:11:05 fhajny Exp $
DISTNAME= gettext_rails-2.1.0
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/_/-/}
CATEGORIES= devel
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.yotabanana.com/hiki/ruby-gettext.html
COMMENT= Localization for Ruby on Rails using Ruby-GetText-Package
LICENSE= ruby-license
DEPENDS+= ${RUBY_PKGPREFIX}-locale-rails>=2.0.5:../../devel/ruby-locale-rails
DEPENDS+= ${RUBY_PKGPREFIX}-gettext-activerecord>=2.1.0:../../devel/ruby-gettext-activerecord
DEPENDS+= rails>=2.3.2:../../www/rails
GEM_BUILD= gemspec
post-extract:
cd ${WRKSRC}; ${FIND} . -xdev -type f -print | ${XARGS} ${CHMOD} g-w
.include "../../misc/rubygems/rubygem.mk"
.include "../../mk/bsd.pkg.mk"