[40068] trunk/dports/ruby

kimuraw at macports.org kimuraw at macports.org
Fri Sep 19 06:20:10 PDT 2008


Revision: 40068
          http://trac.macports.org/changeset/40068
Author:   kimuraw at macports.org
Date:     2008-09-19 06:20:09 -0700 (Fri, 19 Sep 2008)
Log Message:
-----------
ruby/rb-gettext: New Port

This library provides to translate original messages to localized messages properly using client-side locale information(environment variable or CGI variable). And the tools for developers support to create, use, and modify localized message files(message catalogs) easily.

Added Paths:
-----------
    trunk/dports/ruby/rb-gettext/
    trunk/dports/ruby/rb-gettext/Portfile

Added: trunk/dports/ruby/rb-gettext/Portfile
===================================================================
--- trunk/dports/ruby/rb-gettext/Portfile	                        (rev 0)
+++ trunk/dports/ruby/rb-gettext/Portfile	2008-09-19 13:20:09 UTC (rev 40068)
@@ -0,0 +1,27 @@
+# $Id$
+
+PortSystem		1.0
+PortGroup		ruby 1.0
+
+ruby.setup		gettext 1.93.0 gem {} rubyforge:43495
+maintainers		kimuraw
+description		a Localization library and tools which modeled GNU gettext.
+long_description	This library provides to translate original messages to \
+					localized messages properly using client-side locale \
+					information(environment variable or CGI variable).\
+					And the tools for developers support to create, use, and \
+					modify localized message files(message catalogs) easily.
+
+categories-append	devel
+homepage		http://gettext.rubyforge.org/
+checksums		md5 bda59913062bad008ff92b61506a148d \
+				rmd160 bdbe43faf868ef51343e7308b8af7a9363b02fa6 \
+				sha1 dc662fd50630879178d88dd8b5ce6e46ff67514b
+platforms		darwin
+
+post-destroot {
+	reinplace "s|^#!.*ruby|#!${ruby.bin}|" ${destroot}${prefix}/bin/rgettext
+	reinplace "s|^#!.*ruby|#!${ruby.bin}|" ${destroot}${prefix}/bin/rmsgfmt
+	reinplace "s|^#!.*ruby|#!${ruby.bin}|" ${destroot}${prefix}/bin/rmsgmerge
+}
+


Property changes on: trunk/dports/ruby/rb-gettext/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080919/5efcb099/attachment.html 


More information about the macports-changes mailing list