# $Id: Portfile 137992 2015-06-24 16:17:51Z mww@macports.org $ PortSystem 1.0 name xml-light version 2.2 revision 6 categories devel textproc license LGPL maintainers nomaintainer description Objective Caml interface for XML parsing and printing long_description XML Light is a minimal XML parser & printer for OCaml.\ It provide functions to parse an XML document into an OCaml \ data structure, work with it, and print it back to an XML \ document. homepage http://tech.motion-twin.com/xmllight use_configure no platforms darwin master_sites http://tech.motion-twin.com/zip/ use_zip yes worksrcdir ${name} use_parallel_build no build.target all opt checksums rmd160 5a6158698110f706ecfeca0d5799eea2c155f974 \ sha256 fdb205e8b3a25922e46fca52aea449b9a2de4000c5442487e7e74d79f1e2274a depends_lib port:ocaml patchfiles patch-dtd.ml.diff set instdir ${destroot}${prefix}/lib/ocaml/site-lib/xml-light destroot.args INSTALLDIR=${instdir} pre-destroot { file mkdir ${instdir} } post-destroot { system "ranlib ${instdir}/xml-light.a" xinstall -m 644 ${filespath}/META ${instdir}/ }