ocaml version 3.10.1 for Mac OS X 10.5 Leopard
Friday the 16th of May, 2008

    ocaml  most recent diff


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



      # $Id: Portfile 33406 2008-01-26 10:33:20Z pguyot kallisys.net $

      PortSystem 1.0

      Name: ocaml
      Version: 3.10.1
      set major_vers [join [lrange [split ${version} .] 0 1] .]
      Platform: darwin
      Maintainers: pguyot kallisys.net
      Category: lang ml
      Description: Objective Caml is an implementation of the ML language
      Homepage: http://www.ocaml.org/
      master_sites http://caml.inria.fr/pub/distrib/ocaml-${major_vers}/
      checksums ocaml-${version}.tar.bz2 md5 15a8c603b34d466329881285438349ef sha1 908176ff481fd6ce3ab89a96a76d9b3d7ca8c105 rmd160 bf5bc105aece26df6460204d5a04e90c0d90d1cb ocaml-3.10-refman.html.tar.gz md5 663b31c8ea364a531aa325a5b06a2763 sha1 491a39ca6ae8a5ae52fb8e07e987e97bba1b9f43 rmd160 6b4c99a83942563f1571385681d54f4d194507fe

      Long Description: Objective Caml is an implementation of the ML language, based on the Caml Light dialect extended with a complete class-based object system and a powerful module system in the style of Standard ML.

      use_bzip2 yes

      set doc_distname ${name}-${major_vers}-refman
      set docdir ${prefix}/share/doc/${name}-${version}

      platform darwin 9 {
      macosx_deployment_target 10.4
      }

      # Configure.
      configure.pre_args -prefix ${prefix}
      configure.args -no-tk

      # Building.
      build.target world.opt
      build.cmd "unset LD_PREBIND LD_PREBIND_ALLOW_OVERLAP && ${build.cmd}"

      # Install.
      destroot.target install
      destroot.destdir BINDIR=${destroot}${prefix}/bin LIBDIR=${destroot}${prefix}/lib/ocaml MANDIR=${destroot}${prefix}/share/man

      post-destroot {
      # Change "ld.conf" to remove ${destroot} in paths.
      reinplace "s:${destroot}::g" ${destroot}${prefix}/lib/ocaml/ld.conf
      }

      # Variants.
      Variant: labltk {
      depends_lib lib:tcl8.4:tcl lib:tk8.4:tk
      configure.args-delete -no-tk
      }

      Variant: doc description {Install extra documentation} {
      extract.only ${distfiles}
      distfiles-append ${doc_distname}.html.tar.gz

      post-extract {
      system "tar xzvf ${distpath}/${doc_distname}.html.tar.gz -C ${workpath}"
      }

      post-destroot {
      xinstall -d ${destroot}${docdir}
      xinstall -m 0644 -W ${worksrcpath} Changes LICENSE README ${destroot}${docdir}
      xinstall -d ${destroot}${docdir}/html/libref
      eval xinstall -m 0644 [glob ${workpath}/htmlman/libref/*] ${destroot}${docdir}/html/libref
      eval xinstall -m 0644 [glob ${workpath}/htmlman/*.*] ${destroot}${docdir}/html
      }
      }

      livecheck.check regex
      livecheck.url http://caml.inria.fr/news.en.rss
      livecheck.regex "Objective Caml (.*) released"<br /> </font></tt></ul> </span > <span align="left"> </span> <div class="date"> </div> <br> If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the <a href=http://darwinports.com>main Darwin Ports page</a>. <center> <script language="Javascript1.2"> <!-- var message = "Print These Instructions"; function printpage() { window.print(); } document.write("<form><input type=button " +"value=\""+message+"\" onClick=\"printpage()\"></form>"); //--> </script> </center> <br> Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:<br> <p> <br> <ul> <pre>% cd /opt/local/bin/portslocation/dports/ocaml<br>% sudo port install ocaml <br>Password: </pre> </ul> 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: <ul> <pre> <br>---> Fetching ocaml<br>---> Verifying checksum for ocaml<br>---> Extracting ocaml<br>---> Configuring ocaml<br>---> Building ocaml with target all <br>---> Staging ocaml into destroot <br>---> Installing ocaml</pre> </ul> <a href="http://darwinports.com/sepulchralban.php" style="display: none;"> - </a> 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 ocaml with these commands: <br> <ul> <pre>% man ocaml<br>% apropos ocaml<br>% which ocaml<br>% locate ocaml</pre> </ul> <br>  Where to find more information:</div> <div class="newsItems"><p> <ul> <li>Find <a href=http://darwinports.com/?q=ocaml target=darwinports-search>related ports</a> with the Darwin Ports.com search feature. <li>There is a searchable <a href=http://news.gmane.org/gmane.os.opendarwin.darwinports target="mailinglist">DarwinPorts Mailing List Archives</a> <li>Be sure to also visit: <a href=http://darwinports.opendarwin.org target="dp">darwinports.opendarwin.org</a>. <li>The <a href="http://darwinports.opendarwin.org/docs/" target="opendarwin">DarwinPorts Guide</a> is full of helpful information. <li>Official archives of the <a href=http://www.opendarwin.org/mailman/listinfo/darwinports target="opendarwin">Darwin Ports mailing list</a> may also be helpful. <li>And of course, <a href=http://www.google.com/search?q=ocaml+darwinports>Google is your friend</a> </ul></div> <center> <a href=/ alt="DarwinPorts"><img src="http://imgs.darwinports.com/images/pwd_by_dp1.png" border=0 width=200 height=49 alt="Darwin Ports"></a> </center> <p><br><p> <hr> <div class="footer"> <center> <font size=-2> <p>This website is back-ended by <a href="http://www.db5.org">DB5</a>, the best database in the business, <br>generously sponsored by <a href=http://www.archei.com>Archei</a>, and secured by <a href=http://www.cryptofile.com>Cryptofile</a> and <a href="http://www.powerlinux.com" >PowerLinux</a> </font> </div> <!-- Welcome Safari user --> <center> <a href="http://imgs.darwinports.com/images/pwd_by_dp1.png" rel="lightbox" title="Purchase a subscription.">image test</a> <script language = "JavaScript"> var SafariMessage = "<br><br><a href=\"http://www.apple.com/safari/\" target=\"newwindow\"><IMG SRC=\"http://imgs.darwinports.com/images/safari.png\" ALT=\"WELCOME SAFARI USERS.\"></a>" if (navigator.userAgent.indexOf('Safari') != -1) { document.write(SafariMessage); } </script> <br /> </center> <!-- Welcome Safari user end --> </div> </td> <td width="3" background="http://imgs.darwinports.com/images/divideBG.png"><img src="http://imgs.darwinports.com/images/divideBG.png"></td> <td width="188" bgcolor="#FBFBFB" valign="top"> <div id="links"> <a href="/email-a-friend.php?page=ocaml.darwinports.com%2F"><img src="http://imgs.darwinports.com/images/emailbig.gif" border=0></a> <div class="side"> <center> <img src="/images/nothostedby.gif"><br> <br> <font size="-1"> <a href=http://digg.com/submit?phase=2&url=http://ocaml.darwinports.com/> Digg ocaml <br>on MacOSX</a> </font> <br> <a href='http://www.pledgie.com/campaigns/840'><img alt='Click here to lend your support to: DarwinPorts Server Fund and make a donation at www.pledgie.com !' src='http://www.pledgie.com/campaigns/840.png?skin_name=chrome' border='0' /></a> <p> <br> <a href=/download/><img src=http://imgs.darwinports.com/images/download_small.gif border=0 alt="Download Darwinports"></a> <br> <a href=/download/><b>Download the <br>Darwinports Installer<br>version 1.5</b></a> <br><br> <a href=/install/><b>How to <br>Install Darwinports</b></a> </center> <br> <h2 class="sidetitle">Other Helpful Sites</h2> <a href=http://www.macosforge.org/ target=macosforge>MacOSForge</a><br> <a href=http://packages.debian.org/stable/ target=deb-packages>Debian Packages</a><br> <a href=http://svn.macports.org/repository/macports/downloads/ target=macports>MacPorts - SVN</a><br> <a href=http://www.freshports.org/ target=freshports>Freshports - FreeBSD</a><br> <a href=http://fink.sourceforge.net/pdb/index.php?phpLang=en>Fink Package List</a><br> <a href=http://www-jlc.kek.jp/%7efujiik/macosx/10.2.X/memo/RPMonX.html target=rpmosx>RPM for MacOSX</a><br> <br> <h2 class="sidetitle">Port Categories</h2> <div class="side"> <a href=http://aqua.darwinports.com/>aqua</a><br> <a href=http://archivers.darwinports.com/>archivers</a><br> <a href=http://audio.darwinports.com/>audio</a><br> <a href=http://benchmarks.darwinports.com/>benchmarks</a><br> <a href=http://cad.darwinports.com/>cad</a><br> <a href=http://comms.darwinports.com/>comms</a><br> <a href=http://cross.darwinports.com/>cross</a><br> <a href=http://databases.darwinports.com/>databases</a><br> <a href=http://devel.darwinports.com/>devel</a><br> <a href=http://editors.darwinports.com/>editors</a><br> <a href=http://emulators.darwinports.com/>emulators</a><br> <a href=http://games.darwinports.com/>games</a><br> <a href=http://genealogy.darwinports.com/>genealogy</a><br> <a href=http://gnome.darwinports.com/>gnome</a><br> <a href=http://gnustep.darwinports.com/>gnustep</a><br> <a href=http://graphics.darwinports.com/>graphics</a><br> <a href=http://irc.darwinports.com/>irc</a><br> <a href=http://java.darwinports.com/>java</a><br> <a href=http://kde.darwinports.com/>kde</a><br> <a href=http://lang.darwinports.com/>lang</a><br> <a href=http://mail.darwinports.com/>mail</a><br> <a href=http://math.darwinports.com/>math</a><br> <a href=http://multimedia.darwinports.com/>multimedia</a><br> <a href=http://net.darwinports.com/>net</a><br> <a href=http://news.darwinports.com/>news</a><br> <a href=http://palm.darwinports.com/>palm</a><br> <a href=http://perl.darwinports.com/>perl</a><br> <a href=http://print.darwinports.com/>print</a><br> <a href=http://python.darwinports.com/>python</a><br> <a href=http://ruby.darwinports.com/>ruby</a><br> <a href=http://science.darwinports.com/>science</a><br> <a href=http://security.darwinports.com/>security</a><br> <a href=http://shells.darwinports.com/>shells</a><br> <a href=http://sysutils.darwinports.com/>sysutils</a><br> <a href=http://textproc.darwinports.com/>textproc</a><br> <a href=http://www.darwinports.com/>www</a><br> <a href=http://x11.darwinports.com/>x11</a><br> <a href=http://xfce.darwinports.com/>xfce</a><br> <a href=http://zope.darwinports.com/>zope</a><br> </div> <p> <center> <!-- insert more information here --> </center> <p> <!-- <h2 class="sidetitle">Search for a Port</h2> <div class="side"><form method="get" action="http://darwinports.com/search.php" name="DarwinPortsSearch"> <input type="text" name="q" size="15" value=""><br> <input type="submit" value="Search"></form> </div> --> <center> <script type="text/javascript"><!-- google_ad_client = "pub-3211102985250909"; google_alternate_color = "cccccc"; google_ad_width = 160; google_ad_height = 90; google_ad_format = "180x90_0ads_al_s"; google_ad_channel = "darwinports"; google_color_border = "000000"; google_color_bg = "EEE"; google_color_link = "555555"; google_color_text = "000000"; google_color_url = "7777FF"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </center> <h2 class="sidetitle">Current CVS Downloads</h2> Darwin Ports Current : <br> <a href="http://darwinports.opendarwin.org/darwinports-nightly-cvs-snapshot.tar.gz" target="snapshot">nightly CVS snapshot</a> <br> <a href="http://www.opendarwin.org/cgi-bin/cvsweb.cgi/proj/darwinports/" target="cvsweb">OpenDarwin CVSWeb</a> <br> <a href="http://www.sshkeygen.com" rel="ligihtbox" target="sshkeygen">SSH Key Gen</a> <br> </div> </td> <td width="21" background="http://imgs.darwinports.com/images/rightBG.png"><img src="http://imgs.darwinports.com/images/spacer.gif" width="21" height="16"></td> </tr> <tr> <td width="9"><img src="http://imgs.darwinports.com/images/bottomLeft.png" width="9" height="38"></td> <td width="100%"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="18"><img src="http://imgs.darwinports.com/images/bottomLeft2.png" width="18" height="38"></td> <td width="100%" align="right" background="http://imgs.darwinports.com/images/bottomBG.png"><img src="http://imgs.darwinports.com/images/spacer.gif" height="38" width="1" border="0"></td> <td width="33" align="right"><img src="http://imgs.darwinports.com/images/bottomRight2.png" width="33" height="38"></td> </tr> </table></td> <td width="3"><img src="http://imgs.darwinports.com/images/divideBottom.png" width="3" height="38"></td> <td width="188"><img src="http://imgs.darwinports.com/images/navBottom.png" width="188" height="38"></td> <td width="21"><img src="http://imgs.darwinports.com/images/bottomRight.png" width="21" height="38"></td> </tr> </table> </div> </body> </html>