# $Id$ PortSystem 1.0 name ocaml-dbm version 1.0 revision 5 categories devel ml platforms darwin license LGPL-2 maintainers mww openmaintainer description OCaml binding to the GDBM Unix databases long_description ${description} homepage https://forge.ocamlcore.org/projects/camldbm master_sites https://forge.ocamlcore.org/frs/download.php/728/ distname camldbm-${version} extract.suffix .tgz checksums rmd160 0691f84ac43c97fddaf796c04729baa8bcb280ca \ sha256 19741fa7827c306ae43b18170b01f5547326ec7ea6c2f4bd80c93439b5ff538f depends_lib port:ocaml port:gdbm patchfiles patch-Makefile.diff configure { xinstall -m 644 ${filespath}/Makefile.config ${worksrcpath}/Makefile.config reinplace "s|@prefix@|${prefix}|g" ${worksrcpath}/Makefile.config } use_parallel_build no post-destroot { xinstall -m 644 ${filespath}/META ${destroot}${prefix}/lib/ocaml/site-lib/dbm/ } livecheck.type regex livecheck.url https://forge.ocamlcore.org/frs/?group_id=278 livecheck.regex "camldbm-(.*?)${extract.suffix}"