Lablgtk version 1.2.7 - How to Download and Install on Mac OS X
Friday the 3rd of July, 2009

    lablgtk  most recent diff


    version 1.2.7

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


      The lablgtk Portfile 34183 2008-02-16 20:12:06Z pguyot kallisys.net $

      PortSystem 1.0

      Name: lablgtk
      Version: 1.2.7
      Category: x11
      Maintainers: pguyot kallisys.net
      Description: Objective Caml interface to gtk+
      Long Description: LablGTK is is an Objective Caml interface to gtk+. It uses the rich type system of Objective Caml 3 to provide a strongly typed, yet very comfortable, object-oriented interface to gtk+. This is not that easy if you know the dynamic typing approach taken by gtk+.
      Homepage: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html
      Platform: darwin
      Master Sites: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/
      Checksums: md5 73a797e3a459190fdcaa8288935f6fb9 sha1 fe43512efdc7ab4e0dafb7dc8254a784857a1ade rmd160 27be7ff29fe4370bc9a1bbef8c0fa0db590f27c4
      depends_lib bin:camlp4:ocaml lib:libgtk.1:gtk1
      configure {
      system "cd ${worksrcpath} && make configure USE_DOTOPT=1 INSTALLDIR=${destroot}${prefix}/lib/ocaml/lablgtk BINDIR=${destroot}${prefix}/bin DLLDIR=${destroot}${prefix}/lib/ocaml/stublibs && make"
      }
      build.target opt
      post-destroot {
      system "ranlib ${destroot}/${prefix}/lib/ocaml/lablgtk/lablgtk.a"
      system "ranlib ${destroot}/${prefix}/lib/ocaml/lablgtk/liblablgtk.a"
      }

      livecheck.check regex
      livecheck.regex {
      lablgtk-\1.tar.gz}

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.