pkgsrc/devel/js_of_ocaml/options.mk

24 lines
543 B
Makefile
Raw Normal View History

# $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