pkgsrc/www/ocaml-cohttp/Makefile
jaapb 90c3678280 Added package www/ocaml-cohttp, an OCaml http library.
Cohttp is an OCaml library for creating HTTP daemons. It has a portable
HTTP parser, and implementations using various asynchronous programming
libraries. It's needed as a dependency for some ocaml-git options.
2019-07-01 15:48:53 +00:00

32 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.1 2019/07/01 15:48:53 jaapb Exp $
GITHUB_PROJECT= ocaml-cohttp
GITHUB_TAG= v${PKGVERSION_NOREV}
DISTNAME= ${GITHUB_PROJECT}-2.1.2
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GITHUB:=mirage/}
MAINTAINER= jaapb@NetBSD.org
HOMEPAGE= https://github.com/mirage/ocaml-cohttp/
COMMENT= OCaml library for HTTP clients and servers
LICENSE= isc
USE_LANGUAGES= # none
OCAML_USE_DUNE= yes
DUNE_BUILD_PACKAGES= cohttp cohttp-top
OPAM_INSTALL_FILES= cohttp cohttp-top
.include "options.mk"
.include "../../devel/ocaml-base64/buildlink3.mk"
.include "../../devel/ocaml-fmt/buildlink3.mk"
.include "../../devel/ocaml-ppx_fields_conv/buildlink3.mk"
.include "../../devel/ocaml-ppx_sexp_conv/buildlink3.mk"
.include "../../devel/ocaml-re/buildlink3.mk"
.include "../../devel/ocaml-sexplib0/buildlink3.mk"
.include "../../devel/ocaml-stringext/buildlink3.mk"
.include "../../net/ocaml-conduit/buildlink3.mk"
.include "../../textproc/ocaml-jsonm/buildlink3.mk"
.include "../../www/ocaml-uri/buildlink3.mk"
.include "../../mk/ocaml.mk"
.include "../../mk/bsd.pkg.mk"