# $Id$

PortSystem          1.0
PortGroup ocaml     1.0

name                ocaml-ounit
version             2.0.0
categories          devel ml
maintainers         nomaintainer
license             BSD
description         Unit test framework for OCaml
long_description    OUnit is a unit test framework for OCaml. \
                    It allows one to easily create unit-tests for OCaml code. \
                    It is based on HUnit, a unit testing framework for Haskell. \
                    It is similar to JUnit, and other XUnit testing frameworks. 

homepage            http://ounit.forge.ocamlcore.org/
platforms           darwin
master_sites        http://forge.ocamlcore.org/frs/download.php/1258/

distname            ounit-${version}

checksums           rmd160  dcd716e242a329d8e9ad4bed578c8dd68a29feef \
                    sha256  4d4a05b20c39c60d7486fb7a90eb4c5c08e8c9862360b5938b97a09e9bd21d85

livecheck.type      regex
livecheck.url       http://forge.ocamlcore.org/frs/?group_id=162
livecheck.regex     {>ounit-(.*)\.tar\.gz}

use_oasis           yes
use_oasis_doc       yes

configure.args-append "--override datarootdir ${destroot}${prefix}/share"