# $Id: Portfile,v 1.2 2005/09/22 20:38:40 toby Exp $

PortSystem          1.0
name                ocamlduce
version             3.08.4pl3
revision            1
categories          lang
maintainers         anil@recoil.org
description         Objective Caml extensions for manipulating XML
long_description    OCamlDuce is a merger between OCaml and CDuce. It \
                    comes as a modified version of OCaml which integrates \
                    CDuce features: expressions, types, patterns.
homepage            http://www.cduce.org/ocaml.html
platforms           darwin
master_sites        http://pauillac.inria.fr/~frisch/ocamlcduce/download/
worksrcdir          ocaml-sub
extract.suffix      .tar.gz
build.target        opt
build.args          -f Makefile.ocamlduce
destroot.args       -f Makefile.ocamlduce
patchfiles          patch-Makefile.ocamlduce.diff
configure.pre_args  -prefix ${prefix}
checksums           md5 16e69929c9fbe57642dd700bb595360e
depends_lib         bin:camlp4:ocaml

post-destroot {
        system "ranlib ${destroot}${prefix}/lib/ocaml/ocamlduce.a"
}
