Caml-lwt version 2.0.0 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    caml-lwt  most recent diff


    version 2.0.0

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


      # $Id$

      PortSystem 1.0

      Name: caml-lwt
      Version: 2.0.0
      distname lwt-${version}+rc1
      Revision: 1
      Category: devel ml
      Maintainers: avsm
      Description: Cooperative threading library for OCaml
      Long Description: LWT is a lightweight thread library for OCaml to implement co-operative concurrency.
      Homepage: http://ocsigen.org/lwt
      Platform: darwin
      Master Sites: http://ocsigen.org/download/
      Patch Files: patch-Makefile.diff patch-myocamlbuild.diff

      depends_lib port:ocaml port:caml-findlib port:caml-ssl port:caml-react port:caml-text

      Checksums: md5 da266196ee3a1245eed3cf5df09f9ce1 sha1 1077fda09eb6c6b5b2795466c1d316aea8dbce63 rmd160 c3bc6b51a51d0c16c53765bb9407f9d49953872d

      use_configure no
      use_parallel_build no

      set ocamlfind_destdir ${destroot}${prefix}/lib/ocaml/site-lib
      destroot.post_args DESTDIR="$ocamlfind_destdir"
      build.target "all doc"

      livecheck.type regex
      livecheck.url http://ocsigen.org/download/
      livecheck.version ${version}+rc1
      livecheck.regex {>lwt-(.*)\.tar\.gz\.asc}

      post-destroot {
      xinstall -d -755 ${destroot}${prefix}/share/doc/${name}
      eval xinstall -m 644 [glob ${worksrcpath}/_build/lwt.docdir/*] ${destroot}/${prefix}/share/doc/${name}
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.