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

    caml-fieldslib  most recent diff


    version 0.1.0

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


      The caml-fieldslib Portfile 59327 2009-10-13 16:02:27Z avsm macports.org $

      PortSystem 1.0
      Name: caml-fieldslib
      Version: 0.1.0
      extract.suffix .tgz
      distname fieldslib-${version}
      Category: devel ml
      Maintainers: avsm openmaintainer
      Description: Syntax support for folding over record fields in OCaml
      Long Description: This library defines a syntax extension for OCaml using Camlp4 that can be used to define first class values representing record fields, and additional routines, to get and set record fields, iterate and fold over all fields of a record and create new record values.

      Homepage: http://ocaml.janestreet.com/?q=node/13
      Platform: darwin
      Master Sites: http://www.janestreet.com/ocaml/
      Checksums: md5 ea0d731cbb0f0f5682f9e40e5045b37e sha1 dfe3b7c42ee2d5a06b5de5567f33d8d71c3737cb rmd160 f2ddd912901dd47d689a91e1089d1f4462fb6664

      livecheck.url http://ocaml.janestreet.com/?q=node/13
      livecheck.type regex
      livecheck.regex {fieldslib-(.*)\.tgz}

      Checksums: md5 a5a50b2f883c31255bcac4b7b0f9e679 sha1 5f3ce22f6aaeed5ef5ec0bfa064ff49500f74858 rmd160 c0bed7efa1069c3cd74badc36de561a57cb00377

      depends_lib port:ocaml port:caml-findlib port:caml-type-conv

      use_configure no
      use_parallel_build no

      build.env PREFIX=${prefix}

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

      destroot.env OCAMLFIND_INSTFLAGS="-destdir $ocamlfind_destdir"

      pre-destroot {
      file mkdir $ocamlfind_destdir
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.