# $Id$ PortSystem 1.0 name ocaml-extlib version 1.5.3 categories devel ml maintainers mww openmaintainer license LGPL-2.1 description Extended Standard Library for OCaml long_description A User-supported Extended Standard Library for OCaml homepage http://code.google.com/p/ocaml-extlib/ platforms darwin master_sites googlecode:ocaml-extlib checksums md5 3de5f4e0a95fda7b2f3819c4a655b17c \ rmd160 aa9b29b64184d962eaa00f8923bc83b53a07e7f9 \ sha256 c095eef4202a8614ff1474d4c08c50c32d6ca82d1015387785cf03d5913ec021 distname extlib-${version} depends_lib port:ocaml port:ocaml-findlib patchfiles patch-install.ml use_configure no build {} destroot.cmd "${prefix}/bin/ocaml" destroot.pre_args install.ml destroot.args -b -n -doc destroot.post_args pre-destroot { set extlib_destdir ${destroot}[exec ${prefix}/bin/ocamlfind printconf destdir] xinstall -m 755 -d ${extlib_destdir} reinplace s|##PREFIX##|${prefix}| ${worksrcpath}/install.ml reinplace s|##DESTDIR##|${extlib_destdir}| ${worksrcpath}/install.ml } post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc file copy ${worksrcpath}/extlib-doc ${destroot}${prefix}/share/doc/${name} }