# $Id$ PortSystem 1.0 PortGroup ocaml 1.0 name ocaml-mysql version 1.0.4 revision 5 categories databases devel ml platforms darwin maintainers mww openmaintainer license LGPL-2.1 description Mysql5 bindings for OCaml long_description ${description} homepage http://raevnos.pennmush.org/code/ocaml-mysql/ master_sites http://raevnos.pennmush.org/code/ocaml-mysql/ checksums md5 76f1282bb7299012669bf40cde78216b \ rmd160 57b316fdbdd26762916859d04ab0ca15c1365203 \ sha256 59d11111558986f0ed237016f9758a3cb99e2fdd0ce0dc128319a3ac2a55259e depends_lib-append port:mysql5 depends_build port:ocaml-findlib configure.ldflags-append -L${prefix}/lib/mysql5/mysql configure.cflags-append -I${prefix}/include/mysql5 configure.cppflags-append -I${prefix}/include/mysql5 configure.ld_archflags configure.cc_archflags post-configure { reinplace "s|OCAMLFIND.*:=.*|OCAMLFIND := ${ocamlfind_wrapper}|g" ${worksrcpath}/OCamlMakefile } use_parallel_build no build.target reallyall post-destroot { system -W ${ocamlfind_destdir}/mysql "echo 'linkopts = \"-ccopt -L${prefix}/lib/mysql5/mysql/ -ccopt -L${prefix}/lib\"' >> META" } livecheck.type regex livecheck.regex {ocaml-mysql-(.*)\.tar\.gz}