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

    caml-graph  most recent diff


    version 1.3

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


      # $Id$

      PortSystem 1.0
      Name: caml-graph
      Version: 1.3
      distname ocamlgraph-${version}
      Category: devel ml
      Maintainers: avsm openmaintainer
      Description: a graph library for OCaml
      Long Description: It provides an easy-to-use graph data structure together with several operations and algorithms over graphs, in Graph.Pack. It is a reasonably efficient imperative data structure for directed graphs with vertices and edges labeled with integers.

      Homepage: http://ocamlgraph.lri.fr/
      Platform: darwin
      Master Sites: http://ocamlgraph.lri.fr/download/
      Checksums: md5 9bcff267d041d3caec5f4f8c514f9cc1 sha1 79f1fe80c95a6521e19536b2b0834b0b77a89eb1 rmd160 0a94c6b71cb5c833abfe913886d7b1a2e5cb730a

      livecheck.url http://ocamlgraph.lri.fr/
      livecheck.type regex
      livecheck.regex {>ocamlgraph-(.*)\.tar\.gz}

      depends_lib port:ocaml port:caml-findlib

      use_parallel_build no
      Patch Files: patch-Makefile.in.diff

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

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

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.