Rb-gettext - How to Download and Install on Mac OS X
Monday the 23rd of November, 2009

    rb-gettext  most recent diff


    version

      View the most recent changes for the rb-gettext port at: rb-gettext.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for rb-gettext.
      The raw portfile for rb-gettext is located here:
      http://rb-gettext.darwinports.com/dports/ruby/rb-gettext/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/rb-gettext


      The rb-gettext Portfile 53522 2009-07-07 15:06:10Z kimuraw macports.org $

      PortSystem 1.0
      PortGroup ruby 1.0

      ruby.setup gettext 2.0.4 gem {} rubyforge_gem
      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.

      Category:-append devel
      Homepage: http://gettext.rubyforge.org/
      Checksums: md5 7e4dd44845609437af97090375952e0b sha1 542b01ce10a07247137f4f809ee2046cec12078e rmd160 08c4b26d17d6afa5460b295c905f1960645ca973
      Platform: 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
      }


    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/rb-gettext
      % sudo port install rb-gettext
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching rb-gettext
      ---> Verifying checksum for rb-gettext
      ---> Extracting rb-gettext
      ---> Configuring rb-gettext
      ---> Building rb-gettext with target all
      ---> Staging rb-gettext into destroot
      ---> Installing rb-gettext
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using rb-gettext with these commands:
      %  man rb-gettext
      % apropos rb-gettext
      % which rb-gettext
      % locate rb-gettext

     Where to find more information:

    Darwin Ports



    Lightbox this page.