Caml-extlib version 1.5.1 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    caml-extlib  most recent diff


    version 1.5.1

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


      The caml-extlib Portfile 50980 2009-05-14 19:41:55Z and.damore macports.org $

      PortSystem 1.0

      Name: caml-extlib
      Version: 1.5.1
      Category: devel ml
      Maintainers: eridius
      Description: Extended Standard Library for OCaml
      Long Description: A User-supported Extended Standard Library for OCaml
      Homepage: http://code.google.com/p/ocaml-extlib/
      Platform: darwin
      Master Sites: googlecode:ocaml-extlib

      Checksums: md5 8dc2944cbf63141347956bd353893d75 sha1 e72ae90f53cc4dbed151d57e6004ab6e4acddc7f
      distfiles extlib-${version}.tar.gz
      worksrcdir extlib-${version}

      Patch Files: patch-install.ml

      depends_lib bin:camlp4:ocaml bin:ocamlfind:caml-findlib

      use_configure no

      build {}

      destroot.cmd "ocaml"
      destroot.pre_args install.ml
      destroot.args -b -n -doc
      destroot.post_args

      pre-destroot {
      set extlib_destdir ${destroot}[exec ${prefix}/bin/ocamlfind printconf destdir]
      file mkdir $extlib_destdir
      reinplace s|##PREFIX##|${prefix}| ${worksrcpath}/install.ml
      reinplace s|##DESTDIR##|${extlib_destdir}| ${worksrcpath}/install.ml
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.