Lablgl version 1.04 - How to Download and Install on Mac OS X
Thursday the 11th of March, 2010

    version 1.04

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


      The lablgl Portfile 59908 2009-10-26 23:23:50Z avsm macports.org $

      PortSystem 1.0
      Name: lablgl
      Version: 1.04
      Revision: 2
      Category: graphics
      Maintainers: avsm
      Description: Objective Caml interface to OpenGL
      Long Description: LablGL is is an Objective Caml interface to OpenGL. Support is included for use with both Glut (standalone) and LablTk. LablGTK also includes specific support for LablGL.
      Homepage: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgl.html
      Platform: darwin
      Master Sites: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/
      Checksums: md5 dcf05a0cffffdf06cbe0fe55f9eff974 sha1 80e8bf4deaade52372a64fe1e93713b4a49e9171 rmd160 d623514e2f1b1b2a1e71323aae4874f2beb3db6d
      depends_lib port:ocaml
      build.target lib libopt glut glutopt
      use_parallel_build no

      livecheck.type regex
      livecheck.url http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgl.html
      livecheck.regex {>lablgl-(.*)\.tar\.gz}

      configure {
      copy ${worksrcpath}/Makefile.config.osx ${worksrcpath}/Makefile.config
      }

      set stublibsdir ${destroot}${prefix}/lib/ocaml/stublibs/
      pre-destroot {
      file mkdir ${stublibsdir}
      }
      destroot.args INSTALLDIR=${destroot}${prefix}/lib/ocaml/lablgl BINDIR=${destroot}${prefix}/bin DLLDIR=${stublibsdir}

      post-destroot {
      xinstall -d -m 755 ${destroot}${prefix}/lib/ocaml/site-lib/lablgl
      xinstall -m 644 ${filespath}/META ${destroot}${prefix}/lib/ocaml/site-lib/lablgl/META
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.