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

    caml-camomile  most recent diff


    version 0.7.2

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


      The caml-camomile Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0

      Name: caml-camomile
      Version: 0.7.2
      Category: devel ml
      Maintainers: toots rastageeks.org
      Description: OCaml module to convert strings to and from various encodings
      Homepage: http://camomile.sf.net/
      Platform: darwin
      Master Sites: sourceforge:camomile
      distfiles camomile-${version}.tar.bz2
      worksrcdir camomile-${version}
      use_bzip2 yes

      Checksums: md5 288e17838fedc52aacb733952b25d5dd sha1 8793a16a689056b9b20b54654ff67aebf7153857 rmd160 e77220de7c2be9a13c60aafe6aec476eca9a7645

      depends_lib port:ocaml port:caml-findlib

      configure.cflags {}
      configure.cxxflags {}
      configure.cppflags {}
      configure.ldflags {}
      configure.cxx {}
      configure.objc {}
      configure.cpp {}
      configure.cc {}

      build.args LIBDIRS=${prefix}/lib

      proc ocamlfind_destdir {} {
      # only bother calculating this darn thing once
      variable ocamlfind_destdir {}
      variable destroot
      variable prefix
      if {![string length $ocamlfind_destdir]} {
      set ocamlfind_destdir ${destroot}[exec ${prefix}/bin/ocamlfind printconf destdir]
      }
      return $ocamlfind_destdir
      }

      pre-destroot {
      system "mkdir -p [ocamlfind_destdir]"
      reinplace "s#ocamlfind install#ocamlfind install -ldconf ignore -destdir '[ocamlfind_destdir]'#g" ${worksrcpath}/Makefile
      reinplace "s#\$(DATADIR)#${destroot}\$(DATADIR)#g" ${worksrcpath}/Makefile
      reinplace "s#\$(BINDIR)#${destroot}\$(BINDIR)#g" ${worksrcpath}/Makefile
      }

      livecheck.type regex
      livecheck.regex "camomile-(.*?).tar.bz2"

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.