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

    caml-bin-prot  most recent diff


    version 1.2.20

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


      The caml-bin-prot Portfile 59416 2009-10-14 20:26:49Z avsm macports.org $

      PortSystem 1.0
      Name: caml-bin-prot
      Version: 1.2.20
      Category: devel ml
      Maintainers: erickt openmaintainer
      Description: A binary protocol generator
      Long Description: This library contains functionality for reading and writing OCaml-values in a type-safe binary protocol. These functions are extremely efficient and provide users with a convenient and safe way of performing I/O on any extensionally defined data type. This means that functions, objects, and values whose type is bound through a polymorphic record field are not supported, but everything else is.

      Homepage: http://ocaml.janestreet.com/?q=node/13
      Platform: darwin
      Master Sites: http://www.janestreet.com/ocaml

      distfiles bin-prot-release-${version}.tar.gz
      worksrcdir bin-prot-release-${version}

      Checksums: md5 e87e2c76d53b6ff38e276053bd78a787 sha1 8dcf1f8b5465b5db630fbabbe9a6b9c1a9ebca05 rmd160 b6312efedfbfabd7de6a5ff76c4d6bde657c96cb

      depends_lib port:ocaml port:caml-findlib port:caml-ounit

      use_configure no
      use_parallel_build no

      build.env PREFIX=${prefix}

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

      destroot.env OCAMLFIND_INSTFLAGS="-ldconf ignore -destdir $ocamlfind_destdir"

      pre-destroot {
      file mkdir $ocamlfind_destdir
      }

      livecheck.type regex
      livecheck.regex "bin-prot-release-(.*?).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/caml-bin-prot
      % sudo port install caml-bin-prot
      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-bin-prot
      ---> Verifying checksum for caml-bin-prot
      ---> Extracting caml-bin-prot
      ---> Configuring caml-bin-prot
      ---> Building caml-bin-prot with target all
      ---> Staging caml-bin-prot into destroot
      ---> Installing caml-bin-prot
    - 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-bin-prot with these commands:
      %  man caml-bin-prot
      % apropos caml-bin-prot
      % which caml-bin-prot
      % locate caml-bin-prot

     Where to find more information:

    Darwin Ports



    Lightbox this page.