# $Id: Portfile 95918 2012-07-26 17:47:03Z mww@macports.org $

PortSystem          1.0
PortGroup ocaml     1.0

name                ocaml-ounit
version             1.1.2
revision            1
categories          devel ml
maintainers         landonf openmaintainer
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/886/

distname            ounit-${version}

checksums           rmd160  77793a4478a1ddc1f8775e7d51eed56b89545052 \
                    sha256  e6bc1b0cdbb5b5552d85bee653e23aafe20bb97fd7cd229c867d01ff999888e3

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"

