# $Id: Portfile,v 1.24 2005/12/02 09:15:41 pguyot Exp $ PortSystem 1.0 name ocaml version 3.09.0 platforms darwin maintainers pguyot@kallisys.net categories lang description Objective Caml is an implementation of the ML language homepage http://www.ocaml.org master_sites http://caml.inria.fr/pub/distrib/ocaml-3.09/ checksums md5 834f88b1f39aa066bb620747764c0588 \ sha1 614e205ac2f444e452a6cc97cc6d46a1d318704a \ rmd160 7764d22549914c64299bf180803560ef503e402d 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. # Patch patchfiles patch-otherlibs-unix-times.c use_bzip2 yes # Configure. configure.pre_args -prefix ${prefix} configure.args -no-tk # Building. build.target world.opt # Install. destroot.target install destroot.destdir BINDIR=${destroot}${prefix}/bin \ LIBDIR=${destroot}${prefix}/lib/ocaml \ MANDIR=${destroot}${prefix}/share/man # Change "ld.conf" to remove ${destroot} in paths. post-destroot { 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 }