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

    caml-camlzip  most recent diff


    version 1.04

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


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

      PortSystem 1.0
      Name: caml-camlzip
      Version: 1.04
      Category: devel ml
      Maintainers: erickt openmaintainer
      Description: Automated code generation for converting OCaml-values to S-expressions
      Homepage: http://cristal.inria.fr/~xleroy/software.html
      Platform: darwin

      Master Sites: http://caml.inria.fr/distrib/bazar-ocaml
      distfiles camlzip-${version}.tar.gz
      worksrcdir camlzip-${version}

      Checksums: md5 b3930f4f2e2563b9a5e1b17aa455e635 sha1 43660307fba6243bf2e2e0c8c6ac078477c9d9f9 rmd160 37a1aae1f84ee30c5f2f0ee2e4b603bf2b5bf397

      depends_lib port:ocaml port:caml-findlib

      Patch Files: Makefile.diff

      post-patch {
      file copy ${filespath}/META ${worksrcpath}
      }

      use_configure no

      build.env PREFIX=${prefix}
      build.target all allopt


      pre-destroot {
      # Set these in pre-destroot so the Portfile can be evaluated on a
      # system without caml-findlib (eg, the portindex server)
      set ocamlfind_destdir ${destroot}[exec ocamlfind printconf destdir]
      destroot.env OCAMLFIND_INSTFLAGS="-ldconf ignore -destdir $ocamlfind_destdir"
      destroot.target ocamlfind-install
      file mkdir $ocamlfind_destdir
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.