# $Id$ PortSystem 1.0 PortGroup ocaml 1.0 name ocaml-lua version 1.0 revision 3 categories lang devel ml platforms darwin license Permissive maintainers mww openmaintainer description OCaml bindings to Lua API long_description \ This library provides OCaml bindings to Lua API which allows the \ application to exchange data with Lua programs and also to extend Lua with \ OCaml functions. homepage http://ocaml-lua.forge.ocamlcore.org/ master_sites http://forge.ocamlcore.org/frs/download.php/992/ distname ocaml-lua-v1.0 checksums rmd160 0e5a9529e99f18f3dbeee572899995cf2c23283b \ sha256 299150ae522e0bdc0d43b4ad10e80d9d90d19572b0afba4040bb47e95ea8486b depends_lib port:ocaml port:ocaml-findlib port:lua use_oasis yes use_oasis_doc yes patch { reinplace "s|-llua|-L${prefix}/lib -llua|g" ${worksrcpath}/myocamlbuild.ml } configure.args-append "--override docdir ${destroot}${prefix}/share/doc/${name}" --disable-lua51 livecheck.type regex livecheck.url https://forge.ocamlcore.org/frs/?group_id=167 livecheck.regex ocaml-lua-v(\[0-9.\]+)${extract.suffix}