# $Id: Portfile 92833 2012-05-08 23:46:29Z ryandesign@macports.org $

PortSystem          1.0

name                oasis
version             0.3.0~rc3
platforms           darwin
categories          devel
maintainers         landonf openmaintainer
license             LGPL-2.1
description         Architecture for building OCaml libraries and applications
long_description    OASIS is a tool to integrate a configure, build and install \
                    system in your OCaml project. It helps to create standard \
                    entry points in your build system and allows external \
                    tools to analyse your project easily.
homepage            http://oasis.forge.ocamlcore.org/index.php
master_sites        https://forge.ocamlcore.org/frs/download.php/829/

checksums           md5     5968d86ef526d2fc7637039f4db757b2 \
                    sha1    3be557f6c45851e8e74853fd0e1d16f76fcd0668 \
                    rmd160  90d701f7e649b796f32488f9baa047f0a41e882a
depends_lib         port:ocaml \
                    port:ocaml-extlib \
                    port:ocaml-pcre \
                    port:ocaml-ocamlgraph

use_configure       no

build.env           PREFIX=${prefix}
use_parallel_build  no

set ocamlfind_destdir ${destroot}${prefix}/lib/ocaml/site-lib

destroot.env        OCAMLFIND_DESTDIR="$ocamlfind_destdir"

pre-destroot {
	file mkdir ${ocamlfind_destdir}
}
