source: trunk/dports/lang/ocaml/Portfile @ 3173

Last change on this file since 3173 was 3173, checked in by jkh, 17 years ago

Mass-merge of destroot target changes. Before committing this, I also
laid down a PRE_DESTROOT_TARGET so we can easily compare the before and
after photos (or, in extremis, revert this change). I doubt that will be
necessary, however, since things appear to be working quite well with this
change and it's better to do it sooner rather than later since it changes the
rules about what commands/variables to use in new ports.

Approved by: fkr

  • Property svn:eol-style set to native
File size: 1.2 KB
Line 
1# $Id: Portfile,v 1.9 2003/08/05 09:29:16 jkh Exp $
2
3PortSystem 1.0
4name            ocaml
5version         3.06+27
6revision        0
7categories      lang
8maintainers     jpm@opendarwin.org
9description     Latest implementation of the Caml dialect of ML
10long_description        \
11        The main novelties compared with its ancestor, Caml Light, are: \
12        1) Full support for objects and classes -- here combined for the \
13        first time with ML-style type reconstruction. \
14        2) A powerful module calculus in the style of Standard ML (but \
15        retaining separate compilation). \
16        3) A high-performance native code compiler (in addition to a Caml \
17        Light-style bytecode compiler).
18homepage        http://caml.inria.fr/ocaml
19platforms       darwin
20master_sites    http://savannah.nongnu.org/download/mldonkey/tools/
21checksums       md5 6e8685c23c3dafbf7c87e7fbbd69e339
22# fetch.type    cvs
23# cvs.root      :pserver:anoncvs@camlcvs.inria.fr:/caml
24# cvs.module    ocaml
25# distname      ocaml
26configure {
27        cd ${worksrcpath}
28        system  "./configure --no-tk --tk-no-x11 --bindir ${prefix}/bin \
29                --libdir ${prefix}/lib/ocaml --mandir ${prefix}/man/man1 \
30                --prefix ${prefix}"
31}
32build.target    world opt
33destroot.args   BINDIR=${destroot}/${prefix}/bin \
34        LIBDIR=${destroot}/${prefix}/lib/ocaml \
35        MANDIR=${destroot}/${prefix}/man/man1
Note: See TracBrowser for help on using the repository browser.