# $Id: Portfile 89470 2012-01-30 23:39:06Z mww@macports.org $ PortSystem 1.0 name ocaml-ocamlmakefile version 6.35.0 categories devel ml maintainers mww openmaintainer license LGPL-2.1 platforms darwin supported_archs noarch description Automated compilation of complex OCaml-projects long_description ${description} homepage http://ocaml.info/home/ocaml_sources.html master_sites http://hg.ocaml.info/release/ocaml-make/archive/ distname release-${version} use_bzip2 yes checksums md5 b919d1bf737bb79787e751c0eea44cf5 \ sha1 94426c6087b17e555c1da37b18152a93a0828042 \ rmd160 3dbcc6c8acb9277872258f75a566a36cfbee062c depends_lib port:ocaml \ port:ocaml-findlib worksrcdir ocaml-make-${distname} use_configure no build {} destroot { xinstall -m 755 -d ${destroot}${prefix}/share/${name}/ \ ${destroot}${prefix}/share/doc/${name} \ ${destroot}${prefix}/share/examples/${name} xinstall -m 644 -W ${worksrcpath} OCamlMakefile \ ${destroot}${prefix}/share/${name} foreach d {calc camlp4 gtk idl threads} { file copy ${worksrcpath}/${d} ${destroot}${prefix}/share/examples/${name} } xinstall -m 644 -W ${worksrcpath} README.txt LICENSE Changelog \ ${destroot}${prefix}/share/doc/${name} } livecheck.type regex livecheck.regex "ocaml-make/archive/release-(\[0-9\.]+).tar.bz2"