RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/lang/ocaml/Portfile,v
retrieving revision 1.9
diff -u -r1.9 Portfile
|
|
|
2 | 2 | |
3 | 3 | PortSystem 1.0 |
4 | 4 | name ocaml |
5 | | version 3.06+27 |
| 5 | version 3.07pl2 |
6 | 6 | revision 0 |
7 | 7 | categories lang |
8 | 8 | maintainers jpm@opendarwin.org |
… |
… |
|
17 | 17 | Light-style bytecode compiler). |
18 | 18 | homepage http://caml.inria.fr/ocaml |
19 | 19 | platforms darwin |
20 | | master_sites http://savannah.nongnu.org/download/mldonkey/tools/ |
21 | | checksums md5 6e8685c23c3dafbf7c87e7fbbd69e339 |
22 | | # fetch.type cvs |
23 | | # cvs.root :pserver:anoncvs@camlcvs.inria.fr:/caml |
24 | | # cvs.module ocaml |
25 | | # distname ocaml |
26 | | configure { |
| 20 | master_sites http://caml.inria.fr/distrib/ocaml-3.07/ |
| 21 | worksrcdir ocaml-3.07 |
| 22 | checksums md5 e58057f1ecca2da3fee035c846ac7db2 |
| 23 | configure.pre_args -prefix ${prefix} |
| 24 | post-extract { |
27 | 25 | 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}" |
| 26 | system "rm INSTALL" |
| 27 | } |
| 28 | |
| 29 | # Variant with LablTk (tcl & tk bindings) |
| 30 | variant labltk { |
| 31 | depends_build lib:libtcl.a:tcl lib:libtk.a:tk |
31 | 32 | } |
32 | | build.target world opt |
33 | | destroot.args BINDIR=${destroot}/${prefix}/bin \ |
34 | | LIBDIR=${destroot}/${prefix}/lib/ocaml \ |
35 | | MANDIR=${destroot}/${prefix}/man/man1 |