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

Last change on this file since 2415 was 2415, checked in by jpm, 17 years ago

fixed a typo caught by Aaron Malone...

  • Property svn:eol-style set to native
File size: 1.6 KB
Line 
1# $Id: Portfile,v 1.6 2003/04/05 21:53:04 jpm Exp $
2
3PortSystem 1.0
4name            ocaml
5version         3.06
6revision        1
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://caml.inria.fr/distrib/${distname}/
21checksums       \
22        ${distname}${extract.sufx} md5 51530ed183b511ce19fed325c8ab1b43
23patchfiles      #the darwin variant this var to be forward declared
24configure {
25        cd ${worksrcpath}
26        system  "./configure --no-tk --tk-no-x11 --bindir ${prefix}/bin \
27                --libdir ${prefix}/lib/ocaml --mandir ${prefix}/man/man1 \
28                --prefix ${prefix}"
29}
30build.target    world opt
31install.args    BINDIR=${destroot}/${prefix}/bin \
32        LIBDIR=${destroot}/${prefix}/lib/ocaml \
33        MANDIR=${destroot}/${prefix}/man/man1
34
35variant darwin {
36        patch_sites     http://caml.inria.fr/caml-macosx-howto/
37        patchfiles      ocaml-3.06-macosx-5.patch
38        checksums-append        \
39                ${patchfiles} md5 dcb64e73b0aff37170bd2358c7138b3f
40}
41#variant tk {
42#       depends_lib     lib:libtk8:tk
43#       configure {
44#               cd ${worksrcpath}
45#               system  "./configure -tkdefs -I${prefix}/include -tklibs -L${prefix}/lib \
46#                       -bindir ${prefix}/bin -libdir ${prefix}/lib/ocaml -mandir \
47#                       ${prefix}/man/man1 -prefix ${prefix}"
48#       }
49#}
Note: See TracBrowser for help on using the repository browser.