diff -ruN /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/caml-ansicolor/Portfile devel/caml-ansicolor/Portfile
|
old
|
new
|
|
| | 1 | # $Id$ |
| | 2 | |
| | 3 | PortSystem 1.0 |
| | 4 | |
| | 5 | name caml-ansicolor |
| | 6 | version 0.3 |
| | 7 | categories devel ml |
| | 8 | maintainers anil@recoil.org openmaintainer |
| | 9 | description OCaml bindings for ANSI colors and cursor movements |
| | 10 | long_description ${description} |
| | 11 | |
| | 12 | homepage http://math.umh.ac.be/an/software.php |
| | 13 | platforms darwin |
| | 14 | master_sites http://w3.umh.ac.be/pub/ftp_san/ |
| | 15 | |
| | 16 | distname ANSITerminal-${version} |
| | 17 | use_bzip2 yes |
| | 18 | |
| | 19 | depends_lib port:ocaml \ |
| | 20 | port:caml-findlib |
| | 21 | |
| | 22 | checksums md5 33efee4b57658ee07b6c17411bab7c66 \ |
| | 23 | sha1 83686fb5a572ce6c395b2cedcdf82dd9c506d3bb \ |
| | 24 | rmd160 381dac33989cd20945c8023c54ea3931cb49bbc6 |
| | 25 | |
| | 26 | use_configure no |
| | 27 | build.target all doc |
| | 28 | |
| | 29 | pre-destroot { |
| | 30 | set ocaml_site_path [exec ocamlfind printconf destdir] |
| | 31 | file mkdir ${destroot}/${ocaml_site_path} |
| | 32 | file mkdir ${destroot}/${ocaml_site_path}/stublibs |
| | 33 | } |
| | 34 | |
| | 35 | post-destroot { |
| | 36 | xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name} |
| | 37 | eval xinstall -m 644 [glob ${worksrcpath}/ANSITerminal.html/*.html] \ |
| | 38 | ${destroot}/${prefix}/share/doc/${name} |
| | 39 | } |
| | 40 | |