pkgsrc/devel/js_of_ocaml/options.mk
jaapb a7340fb4cf Updated devel/js_of_ocaml to 3.3.0.
Changes include:
- version works with tyxml 4.3.0
- remove support for camlp4
and other improvements and bugfixes.
2019-01-29 12:43:53 +00:00

23 lines
543 B
Makefile

# $NetBSD: options.mk,v 1.7 2019/01/29 12:43:53 jaapb Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.js_of_ocaml
PKG_SUPPORTED_OPTIONS= ocaml-tyxml
PKG_SUGGESTED_OPTIONS= ocaml-tyxml
.include "../../mk/bsd.prefs.mk"
.include "../../mk/bsd.options.mk"
PLIST_VARS+= tyxml
###
### TyXML support
###
.if !empty(PKG_OPTIONS:Mocaml-tyxml)
.include "../../textproc/ocaml-tyxml/buildlink3.mk"
.include "../../devel/ocaml-reactiveData/buildlink3.mk"
PLIST.tyxml= yes
DUNE_BUILD_PACKAGES+= js_of_ocaml-tyxml
OPAM_INSTALL_FILES+= js_of_ocaml-tyxml
.else
.endif