pkgsrc/devel/js_of_ocaml/Makefile
jaapb 23def8700d Updated package to latest version, 2.8.1. Changes include:
* Features/Changes
** Compiler: reduce memory usage for shortvar
** Lib: Add optional `prefix` arg to Jsonp.call
** Ppx: add ppx_driver compatibility

* Bug fixes
** Lib: fix Js.object_keys, Js.export
** Lib: Async, do not ignore unhandled exceptions
2016-08-18 14:49:07 +00:00

38 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.16 2016/08/18 14:49:07 jaapb Exp $
#
GITHUB_PROJECT= js_of_ocaml
DISTNAME= ${GITHUB_PROJECT}-2.8.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=ocsigen/}
MAINTAINER= jaapb@NetBSD.org
HOMEPAGE= http://ocsigen.org/js_of_ocaml/
COMMENT= Compiler of OCaml bytecode to Javascript
LICENSE= gnu-lgpl-v2
DEPENDS+= ocaml-deriving-ocsigen>=0.6:../../devel/ocaml-deriving-ocsigen
DEPENDS+= menhir-[0-9]*:../../devel/menhir
USE_TOOLS= gmake
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
MAKE_ENV= BINDIR=${DESTDIR}/${PREFIX}/bin DESTDIR=${DESTDIR} OCAML_SITELIBDIR=${OCAML_SITELIBDIR}
MAKE_JOBS_SAFE= no
OCAML_USE_FINDLIB= yes
.include "options.mk"
.include "../../devel/ocaml-base64/buildlink3.mk"
.include "../../devel/ocaml-cmdliner/buildlink3.mk"
.include "../../devel/ocaml-cppo/buildlink3.mk"
.include "../../devel/ocaml-lwt/buildlink3.mk"
.include "../../devel/ocaml-optcomp/buildlink3.mk"
BUILDLINK_API_DEPENDS.ocaml-optcomp+= ocaml-optcomp>=1.6
.include "../../devel/ocaml-ppx_deriving/buildlink3.mk"
.include "../../devel/ocaml-ppx_driver/buildlink3.mk"
.include "../../devel/ocaml-ppx_tools/buildlink3.mk"
.include "../../devel/ocamlbuild/buildlink3.mk"
.include "../../lang/camlp4/buildlink3.mk"
.include "../../mk/ocaml.mk"
.include "../../mk/bsd.pkg.mk"