Ticket #18786: devel--caml-ounit.patch

File devel--caml-ounit.patch, 1.4 KB (added by Damien.Pollet@…, 15 years ago)
  • devel/caml-ounit/Portfile

    diff -ruN /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/caml-ounit/Portfile devel/caml-ounit/Portfile
    old new  
    33PortSystem          1.0
    44
    55name                caml-ounit
    6 version             1.0.2
     6version             1.0.3
    77categories          devel ml
    88maintainers         landonf openmaintainer
    99description         Unit test framework for OCaml
     
    1818
    1919distname            ounit-${version}
    2020
    21 checksums           md5 27320856992f0d1b9b0abc186df2e552 \
    22                     sha1 91dbd0c6a7bc055225cabd83ee55392d1ad1f663 \
    23                     rmd160 9e886bb2d59e90defdb29bfd32514ddb26cfdd97
     21checksums           md5     e0831c33cd18fdbf7615bb053e3792b9 \
     22                    sha1    fd5674ba094ed8d32c11618cd22d4efa58535a76 \
     23                    rmd160  35496f9df16121b4246074e79df0c5396e3faba7
    2424
    2525depends_lib         port:ocaml \
    2626                    port:caml-findlib
     
    3636    file mkdir ${destroot}/${ocaml_site_path}
    3737}
    3838
     39post-destroot {
     40    xinstall -d -755 ${destroot}${prefix}/share/doc/${name}
     41    eval xinstall -m 644 [glob ${worksrcpath}/doc/*.html] \
     42        ${destroot}/${prefix}/share/doc/${name}
     43}
     44 
    3945configure           {}
    4046
    41 build.target        allopt
     47build.target        allopt doc