caml-heredoc version 20060107 for Mac OS X 10.5 Leopard
Sunday the 11th of May, 2008

    caml-heredoc  most recent diff


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



      # $Id: Portfile 28447 2007-08-31 12:38:13Z mww macports.org $

      PortSystem 1.0

      Name: caml-heredoc
      Version: 20060107
      Category: devel ml
      Maintainers: eridius macports.org
      Description: Heredoc: syntactic sugar for text producing applications
      Long Description: Without any doubt, OCaml is a great langage for Web publishing. I used it for a long time to produce my static web pages and more recently to write some CGI scripts. HereDoc is an attempt to provide syntactic sugar for such applications.
      Homepage: http://www.eleves.ens.fr/home/frisch/soft.html
      Platform: darwin
      master_sites http://www.eleves.ens.fr/home/frisch/info/

      checksums md5 b1032fcbb61c42cf0600083181c0a84e sha1 cb102e7adf0b2539c86a026f8111f36f2aaa9007
      distfiles HereDoc-${version}.tar.gz
      worksrcdir HereDoc

      livecheck.check regex
      livecheck.regex "HereDoc-(.*?).tar.gz"

      patchfiles patch-Makefile

      depends_lib bin:camlp4:ocaml bin:ocamlfind:caml-findlib

      use_configure no

      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 {
      file mkdir [ocamlfind_destdir]
      reinplace s|##PREFIX##|${prefix}| ${worksrcpath}/Makefile
      reinplace s|##DESTDIR##|[ocamlfind_destdir]| ${worksrcpath}/Makefile
      }

      post-destroot {
      xinstall -d [ocamlfind_destdir]/HereDoc/doc/
      xinstall -m 644 ${worksrcpath}/doc.html [ocamlfind_destdir]/HereDoc/doc/index.html
      }

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

     Where to find more information:

    Darwin Ports



    image test