Rb-gd - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    version

      View the most recent changes for the rb-gd port at: rb-gd.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for rb-gd.
      The raw portfile for rb-gd is located here:
      http://rb-gd.darwinports.com/dports/ruby/rb-gd/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-gd


      The rb-gd Portfile 30557 2007-10-31 07:05:23Z ryandesign macports.org $

      PortSystem 1.0
      PortGroup ruby 1.0

      ruby.setup {gd ruby-GD} 0.7.4 extconf.rb {readme.en sample doc}
      Maintainers: nomaintainer
      Description: GD library for ruby
      Long Description: An extension library to use Thomas Boutell's gd graphics library from Ruby. You can create PNG or JPEG images with your Ruby script. gconf, gnomevfs and more.
      Category:-append graphics
      Checksums: md5 57d4da0a98ee47445e5fa1aa7252640a
      Homepage: http://tam.0xfa.com/
      Master Sites: ${homepage}ruby-gd/ http://raa.ruby-lang.org/cache/ruby-gd/

      worksrcdir ${ruby.filename}-${version}
      distname ${ruby.filename}-${version}-1
      configure.args --with-xpm --with-ttf --with-jpeg --with-freetype --enable-gd2_0
      Platform: darwin

      depends_lib port:gd2

      Patch Files: patch-extconf.rb.diff

    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-gd
      % sudo port install rb-gd
      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-gd
      ---> Verifying checksum for rb-gd
      ---> Extracting rb-gd
      ---> Configuring rb-gd
      ---> Building rb-gd with target all
      ---> Staging rb-gd into destroot
      ---> Installing rb-gd
    - 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-gd with these commands:
      %  man rb-gd
      % apropos rb-gd
      % which rb-gd
      % locate rb-gd

     Where to find more information:

    Darwin Ports



    Lightbox this page.