Changeset 2413


Ignore:
Timestamp:
Apr 5, 2003, 8:26:09 PM (17 years ago)
Author:
jpm
Message:

ocaml users of the world rejoice, for the port has been resurrected.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/lang/ocaml/Portfile

    r2125 r2413  
    1 # $Id: Portfile,v 1.4 2003/03/03 06:57:42 mij Exp $
     1# $Id: Portfile,v 1.5 2003/04/05 20:26:09 jpm Exp $
    22
    33PortSystem 1.0
    44name            ocaml
    55version         3.06
    6 revision        0
     6revision        1
    77categories      lang
    88maintainers     jpm@opendarwin.org
     
    1818homepage        http://caml.inria.fr/ocaml
    1919platforms       darwin
    20 master_sites    http://caml.inria.fr/distrib/ocaml-3.06/
    21 checksums       md5 51530ed183b511ce19fed325c8ab1b43
    22 patchfiles      patches
     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
    2324configure {
    2425        cd ${worksrcpath}
    25         system  "./configure -no-tk -bindir ${prefix}/bin -libdir ${prefix}/lib/ocaml \
    26                 -mandir ${prefix}/man/man1 -prefix ${prefix}"
     26        system  "./configure --no-tk --tk-no-x11 --bindir ${prefix}/bin \
     27                --libdir ${prefix}/lib/ocaml --mandir ${prefix}/man/man1 \
     28                --prefix ${prefix}"
    2729}
    2830build.target    world opt
    29 include contents
     31install.args    BINDIR=${destroot}/${prefix}/bin \
     32        LIBDIR=${destroot}/${prefix}/lib MANDIR=${destroot}/${prefix}/man/man1
    3033
     34variant darwin {
     35        patch_sites     http://caml.inria.fr/caml-macosx-howto/
     36        patchfiles      ocaml-3.06-macosx-5.patch
     37        checksums-append        \
     38                ${patchfiles} md5 dcb64e73b0aff37170bd2358c7138b3f
     39}
    3140#variant tk {
    3241#       depends_lib     lib:libtk8:tk
Note: See TracChangeset for help on using the changeset viewer.