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

    caml-pgocaml  most recent diff


    version 1.1

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


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

      PortSystem 1.0

      Name: caml-pgocaml
      Version: 1.1
      Category: devel ocaml
      Maintainers: landonf openmaintainer
      Description: Type-safe OCaml-interface to the PostgreSQL-database
      Long Description: PG'OCaml is a type-safe, simple interface to PostgreSQL from OCaml. It lets you embed SQL statements directly into OCaml code.

      Homepage: http://developer.berlios.de/projects/pgocaml/
      Platform: darwin
      Master Sites: http://download.berlios.de/pgocaml/

      distname pgocaml-${version}

      Checksums: md5 e52d0f88b4ce850aa592a033c7e7b64d sha1 6f0daa89777a8b93380ad0857b50efc996df322e rmd160 625caad4c1f5eeda00374f34a1bbe1ce06ee066b

      depends_lib port:ocaml port:caml-findlib port:caml-calendar port:caml-csv port:caml-pcre

      Patch Files: patch-Makefile

      post-patch {
      set ocaml_site_path [exec ocamlfind printconf destdir]

      reinplace "s|ocamlfind install|ocamlfind install -destdir ${destroot}/${ocaml_site_path}|g" ${worksrcpath}/Makefile
      }

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

      destroot.target findlib_install

      use_configure no

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.