lablgtk version 1.2.7 for Mac OS X 10.5 Leopard
Thursday the 15th of May, 2008

    lablgtk  most recent diff


      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
      Google
      Web Darwinports.com



      # $Id: Portfile 24042 2007-04-15 08:33:38Z 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 {
      #weird weird build process
      cd ${worksrcpath}
      system "make configure USE_DOTOPT=1 INSTALLDIR=${destroot}${prefix}/lib/ocaml/lablgtk BINDIR=${destroot}${prefix}/bin DLLDIR=${destroot}${prefix}/lib/ocaml/stublibs"
      system "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



    image test