# $Id$ PortSystem 1.0 name caml-ansicolor version 0.3 categories devel ml maintainers avsm openmaintainer description OCaml bindings for ANSI colors and cursor movements long_description ${description} homepage http://math.umh.ac.be/an/software.php platforms darwin master_sites http://w3.umh.ac.be/pub/ftp_san/ distname ANSITerminal-${version} use_bzip2 yes depends_lib port:ocaml \ port:caml-findlib checksums md5 33efee4b57658ee07b6c17411bab7c66 \ sha1 83686fb5a572ce6c395b2cedcdf82dd9c506d3bb \ rmd160 381dac33989cd20945c8023c54ea3931cb49bbc6 livecheck.type regex livecheck.url http://w3.umh.ac.be/pub/ftp_san/ livecheck.regex {ANSITerminal-(.*)\.tar\.bz2} use_configure no build.target all doc pre-destroot { set ocaml_site_path [exec ocamlfind printconf destdir] file mkdir ${destroot}/${ocaml_site_path} file mkdir ${destroot}/${ocaml_site_path}/stublibs } post-destroot { xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name} eval xinstall -m 644 [glob ${worksrcpath}/ANSITerminal.html/*.html] \ ${destroot}/${prefix}/share/doc/${name} }