# $Id$ PortSystem 1.0 name xml-light version 2.2 revision 2 categories devel textproc 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 md5 7658985cfdaeeb94b579b932eeaa3e00 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}/ }