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

    caml-ansicolor  most recent diff


    version 0.3

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


      The caml-ansicolor Portfile 59411 2009-10-14 20:11:00Z avsm macports.org $

      PortSystem 1.0

      Name: caml-ansicolor
      Version: 0.3
      Category: devel ml
      Maintainers: avsm openmaintainer
      Description: OCaml bindings for ANSI colors and cursor movements
      Long Description: ${description}

      Homepage: http://math.umh.ac.be/an/software.php
      Platform: darwin
      Master Sites: http://w3.umh.ac.be/pub/ftp_san/

      distname ANSITerminal-${version}
      use_bzip2 yes

      depends_lib port:ocaml port:caml-findlib

      Checksums: md5 33efee4b57658ee07b6c17411bab7c66 sha1 83686fb5a572ce6c395b2cedcdf82dd9c506d3bb rmd160 381dac33989cd20945c8023c54ea3931cb49bbc6

      livecheck.type regex
      livecheck.url http://w3.umh.ac.be/pub/ftp_san/
      livecheck.regex {ANSITerminal-(.*)\.tar\.bz2}

      use_configure no
      build.target all doc

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

      post-destroot {
      xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
      eval xinstall -m 644 [glob ${worksrcpath}/ANSITerminal.html/*.html] ${destroot}/${prefix}/share/doc/${name}
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.