Download and Install rb-opengl on Mac OS X
Wednesday the 9th of July, 2008

    rb-opengl  most recent diff


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



      # $Id: Portfile 30250 2007-10-23 02:16:17Z jmpp macports.org $
      PortSystem 1.0
      PortGroup ruby 1.0

      ruby.setup {opengl rbogl} 0.32c extconf.rb {sample}
      revision 2
      Maintainers: nomaintainer
      Description: OpenGL bindings for Ruby
      Long Description: ${description}
      Category:-append graphics
      Homepage: http://www2.giganet.net/~yoshi/
      master_sites ${homepage}
      checksums md5 37e8a112dcc1b2e8446abfdab3b6ac07
      Platform: darwin

      worksrcdir ${ruby.module}-${version}

      patchfiles patch-extconf.rb patch-glu.c patch-glut.c patch-ogl.c patch-rbogl.c

      post-configure {
      cd ${worksrcpath}
      reinplace "s|^CFLAGS.*\$|& -I/System/Library/Frameworks/OpenGL.framework/Headers -I/System/Library/Frameworks/GLUT.framework/Headers|" Makefile.glut Makefile.ogl
      reinplace "s|^DLDFLAGS.*\$|& -L\$(prefix)/lib -L/System/Library/Frameworks/OpenGL.framework/Libraries|" Makefile.glut Makefile.ogl
      reinplace "s|^LIBS.*\$|& -lGLU -framework GLUT -lGL -framework OpenGL|" Makefile.glut Makefile.ogl
      }


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

     Where to find more information:

    Darwin Ports



    image test