# $Id: Portfile 98499 2012-10-07 11:42:35Z mww@macports.org $

PortSystem          1.0
PortGroup           ocaml 1.0

name                oasis
epoch               1
version             0.3.0
revision            5
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/918/

checksums           rmd160  44e4a85c0153f50be1249ae190a2cd5a72d61440 \
                    sha256  2efa90a2dc31d0b731dc574f99ca3e1fd07079da1898b077d84db4a3fd212701
depends_lib         port:ocaml \
                    port:ocaml-extlib \
                    port:ocaml-pcre \
                    port:ocaml-ocamlgraph \
                    port:ocaml-odn \
                    port:ocamlmod \
                    port:ocamlify
use_oasis yes

pre-destroot {
    reinplace "s|^prefix.*|prefix=\"${destroot}${prefix}\"|g" ${worksrcpath}/setup.data
}

