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

    caml-batteries  most recent diff


    version 20090405

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


      The caml-batteries Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0
      Name: caml-batteries
      Version: 20090405
      Category: devel ml
      Maintainers: erickt openmaintainer
      Description: A new O'Caml standard library
      Long Description: OCaml Batteries included (or simply Batteries) is a community-driven effort to standardize on an consistent, documented, and comprehensive development platform for the OCaml programming language.
      Homepage: http://batteries.forge.ocamlcore.org/
      Platform: darwin
      Master Sites: http://forge.ocamlcore.org/frs/download.php/199

      distfiles batteries-${version}.tar.gz
      worksrcdir batteries-${version}

      Checksums: md5 4cdd4c6885a2213c6d9aff6b1e4b1da7 sha1 e5fdc8940d73296cadcae5a4d10d61f7ebf5e566 rmd160 cfda79b2ce4d8980e8bb553efbd972d5da402dc4

      depends_lib port:ocaml port:caml-findlib port:caml-type-conv port:caml-sexplib port:caml-bin-prot port:caml-camomile port:caml-camlzip port:caml-ocamlnet port:caml-ounit

      configure.pre_args
      configure.args --with-docroot=${prefix}/share/doc/caml-batteries
      build.target all opt top syntax

      set ocamlfind_destdir ${destroot}${prefix}/lib/ocaml/site-lib

      destroot.target install
      destroot.destdir DESTDIR=${ocamlfind_destdir}

      pre-destroot {
      file mkdir $ocamlfind_destdir
      }

      livecheck.type regex
      livecheck.regex "bin-prot-release-(.*?).tar.gz"

      Variant: doc description {Install documentation} {
      build.target-append doc
      destroot.target-append install-doc
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.