Ignore:
Timestamp:
Sep 29, 2011, 8:48:41 PM (8 years ago)
Author:
mww@…
Message:

portgroup ocaml: is always not universal; add use_oasis_doc function to build documentation;

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/ocaml-1.0.tcl

    r84693 r84696  
    3434# Usage:
    3535# PortGroup     ocaml 1.0
     36
     37# ocaml is not universal
     38universal_variant no
    3639
    3740# ocaml executable
     
    8083        destroot.cmd ${configure.cmd}
    8184        destroot.target "setup.ml -install"
     85        destroot.destdir
     86    }
     87}
     88
     89proc use_oasis_doc {option} {
     90    if {${option} == "yes"} {
     91        global ocaml worksrcpath
     92        post-build {
     93            system -W ${worksrcpath} "${ocaml} setup.ml -doc"
     94        }
    8295    }
    8396}
Note: See TracChangeset for help on using the changeset viewer.