source: trunk/dports/devel/caml-ounit/Portfile @ 38562

Last change on this file since 38562 was 38562, checked in by ryandesign@…, 11 years ago

set svn:eol-style to native on all portfiles per current guidelines

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1# $Id: $
2
3PortSystem          1.0
4
5name                caml-ounit
6version             1.0.2
7categories          devel ml
8maintainers         landonf openmaintainer
9description         Unit test framework for OCaml
10long_description    OUnit is a unit test framework for OCaml. \
11                    It allows one to easily create unit-tests for OCaml code. \
12                    It is based on HUnit, a unit testing framework for Haskell. \
13                    It is similar to JUnit, and other XUnit testing frameworks.
14
15homepage            http://www.xs4all.nl/~mmzeeman/ocaml/
16platforms           darwin
17master_sites        ${homepage}
18
19distname            ounit-${version}
20
21checksums           md5 27320856992f0d1b9b0abc186df2e552 \
22                    sha1 91dbd0c6a7bc055225cabd83ee55392d1ad1f663 \
23                    rmd160 9e886bb2d59e90defdb29bfd32514ddb26cfdd97
24
25depends_lib         port:ocaml \
26                    port:caml-findlib
27
28post-patch {
29    set ocaml_site_path [exec ocamlfind printconf destdir]
30    reinplace       "s|\$(OCAMLFIND) install|\$(OCAMLFIND) install -destdir ${destroot}/${ocaml_site_path}|g" \
31                    ${worksrcpath}/Makefile
32}
33
34pre-destroot {
35    set ocaml_site_path [exec ocamlfind printconf destdir]
36    file mkdir ${destroot}/${ocaml_site_path}
37}
38
39configure           {}
40
41build.target        allopt
Note: See TracBrowser for help on using the repository browser.