Camlp5 version 5.12 - How to Download and Install on Mac OS X
Monday the 22nd of March, 2010

    version 5.12

      View the most recent changes for the camlp5 port at: camlp5.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for camlp5.
      The raw portfile for camlp5 5.12 is located here:
      http://camlp5.darwinports.com/dports/lang/camlp5/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/camlp5


      The camlp5 Portfile 57528 2009-09-12 14:58:11Z macsforever2000 macports.org $

      PortSystem 1.0

      Name: camlp5
      Version: 5.12
      Category: lang
      Platform: darwin
      Maintainers: nomaintainer

      Description: Camlp5 is a preprocessor-pretty-printer of OCaml.
      Long Description: Camlp5 is a preprocessor and pretty-printer for OCaml programs. It also provides parsing and printing tools. As a preprocessor, it allows to: extend the syntax of OCaml, redefine the whole syntax of the language. As a pretty printer, it allows to: display OCaml programs in an elegant way, convert from one syntax to another, check the results of syntax extensions. Camlp5 also provides some parsing and pretty printing tools: extensible grammars, extensible printers, stream parsers and lexers pretty print module. It works as a shell command and can also be used in the OCaml toplevel.

      Homepage: http://pauillac.inria.fr/~ddr/camlp5/
      Master Sites: ${homepage}distrib/src/

      Checksums: md5 28a86d4f1da8983b7fc773262fa52f1f sha1 33dd83e33e8554f88004d2c4a57dcf92a5881700 rmd160 4ba66bc3addff65208a70802371c0987b136d8c6

      depends_build port:ocaml
      extract.suffix .tgz
      configure.pre_args --prefix "${prefix}" --mandir "${prefix}/share/man"
      build.target world.opt
      use_parallel_build no

      livecheck.type regex
      livecheck.url [lindex ${master_sites} 0]
      livecheck.regex ${name}-(\[0-9.\]+)\\.tgz

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.