# $Id: $ PortSystem 1.0 name caml-ounit version 1.0.2 categories devel ml maintainers landonf openmaintainer 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://www.xs4all.nl/~mmzeeman/ocaml/ platforms darwin master_sites ${homepage} distname ounit-${version} checksums md5 27320856992f0d1b9b0abc186df2e552 \ sha1 91dbd0c6a7bc055225cabd83ee55392d1ad1f663 \ rmd160 9e886bb2d59e90defdb29bfd32514ddb26cfdd97 depends_lib port:ocaml \ port:caml-findlib post-patch { set ocaml_site_path [exec ocamlfind printconf destdir] reinplace "s|\$(OCAMLFIND) install|\$(OCAMLFIND) install -destdir ${destroot}/${ocaml_site_path}|g" \ ${worksrcpath}/Makefile } pre-destroot { set ocaml_site_path [exec ocamlfind printconf destdir] file mkdir ${destroot}/${ocaml_site_path} } configure {} build.target allopt