# $Id$ PortSystem 1.0 name caml-ulex version 1.1 maintainers avsm openmaintainer description lexer generator for Unicode and OCaml long_description ulex is a lexer generator for Unicode and OCaml written by Alain Frisch. categories devel textproc ml distname ulex-${version} homepage http://www.cduce.org/download.html master_sites http://www.cduce.org/download/ platforms darwin checksums md5 ce49a013bc4a0e085977a9fe157017bf \ sha1 1637679a2f678d146e6fbf425f947e6dd8dac8a0 \ rmd160 4219fce15e357bf6edaa6efad04902a84082c3b9 depends_lib port:ocaml \ port:caml-findlib use_configure no post-patch { set ocaml_site_path [exec ${prefix}/bin/ocamlfind printconf destdir] reinplace "s|ocamlfind install|ocamlfind install -ldconf ignore -destdir ${destroot}/${ocaml_site_path}|g" \ ${worksrcpath}/Makefile } pre-destroot { set ocaml_site_path [exec ocamlfind printconf destdir] file mkdir ${destroot}/${ocaml_site_path} } livecheck.type regex livecheck.regex {ulex-(\d+(?:\.\d+)*)}