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

    caml-csv  most recent diff


    version 1.1.6

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


      The caml-csv Portfile 40948 2008-10-18 20:05:04Z ryandesign macports.org $

      PortSystem 1.0
      Name: caml-csv
      Revision: 1
      Version: 1.1.6
      Maintainers: landonf openmaintainer
      Description: CSV file parser for OCaml.
      Long Description: This library can read and write CSV files, including all extensions used by Excel - eg. quotes, newlines, 8 bit characters in fields, \"0 etc.

      Category: devel ml

      distname ocaml-csv-${version}

      Homepage: http://merjis.com/developers/csv
      Master Sites: http://merjis.com/_file/

      Platform: darwin

      Checksums: md5 a91851438f9540b1a445087a4d409507 sha1 3cd88f87c19639b9c75c67d9ffb729ad37f9d9d2 rmd160 4d4d8234a58e302c0adf6e17f7e85e4880f932f4
      Patch Files: patch-Makefile

      use_configure no

      post-patch {
      set ocaml_site_path [exec ocamlfind printconf destdir]
      reinplace s| OCAML_SITE_PATH |${ocaml_site_path}|g ${worksrcpath}/Makefile
      }

      pre-destroot {
      set ocaml_site_path [exec ocamlfind printconf destdir]
      file mkdir ${destroot}/${ocaml_site_path}
      }

      depends_lib port:ocaml port:caml-findlib

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.