pkgsrc/databases/pgocaml/Makefile
jaapb 9e4bada970 Fixed dependencies for databases/pgocaml. Revbump.
devel/ocaml-rresult is not just a build dependency, and is in fact needed
by packages that depend on pgocaml.
2022-06-03 13:17:35 +00:00

37 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.21 2022/06/03 13:17:35 jaapb Exp $
DISTNAME= ${GITHUB_PROJECT}-4.3.0
PKGREVISION= 1
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_GITHUB:=darioteixeira/}
GITHUB_PROJECT= pgocaml
MAINTAINER= jaapb@NetBSD.org
HOMEPAGE= http://pgocaml.forge.ocamlcore.org/
COMMENT= Native PostgreSQL binding for OCaml
LICENSE= gnu-lgpl-v2
USE_LANGUAGES= c
USE_TOOLS+= bash
REPLACE_BASH= src/genconfig.sh
OCAML_USE_DUNE= yes
DUNE_BUILD_PACKAGES= pgocaml pgocaml_ppx
OPAM_INSTALL_FILES= ${DUNE_BUILD_PACKAGES}
.include "../../lang/ocaml/ocaml.mk"
.include "../../devel/ocamlbuild/buildlink3.mk"
.include "../../devel/ocaml-hex/buildlink3.mk"
.include "../../devel/ocaml-migrate-parsetree/buildlink3.mk"
.include "../../devel/ocaml-ppx_deriving/buildlink3.mk"
.include "../../devel/ocaml-ppx_optcomp/buildlink3.mk"
.include "../../devel/ocaml-ppx_sexp_conv/buildlink3.mk"
BUILDLINK_DEPMETHOD.ocaml-ppx_tools= build
.include "../../devel/ocaml-ppx_tools/buildlink3.mk"
.include "../../devel/ocaml-ppxlib/buildlink3.mk"
.include "../../devel/ocaml-re/buildlink3.mk"
.include "../../devel/ocaml-rresult/buildlink3.mk"
.include "../../devel/ocaml-sexplib/buildlink3.mk"
.include "../../textproc/ocaml-csv/buildlink3.mk"
.include "../../time/ocaml-calendar/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"