|
|||||||||
Friday the 16th of May, 2008 |
|||||||||
ocaml most recent 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 # $Id: Portfile 33406 2008-01-26 10:33:20Z pguyot PortSystem 1.0 Name: ocaml Version: 3.10.1 set major_vers [join [lrange [split ${version} .] 0 1] .] Platform: darwin Maintainers: pguyot 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 " 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/ocamlYou 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: 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: % man ocaml Where to find more information:
|
![]() |
![]() Digg ocaml on MacOSX
Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
aqua
archivers audio benchmarks cad comms cross databases devel editors emulators games genealogy gnome gnustep graphics irc java kde lang math multimedia net news palm perl python ruby science security shells sysutils textproc www x11 xfce zope
Current CVS DownloadsDarwin Ports Current :nightly CVS snapshot OpenDarwin CVSWeb SSH Key Gen |
|||||||
| |




