2019-01-29 13:43:53 +01:00
|
|
|
# $NetBSD: options.mk,v 1.7 2019/01/29 12:43:53 jaapb Exp $
|
2015-01-20 17:09:15 +01:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.js_of_ocaml
|
2019-01-29 13:43:53 +01:00
|
|
|
PKG_SUPPORTED_OPTIONS= ocaml-tyxml
|
2015-01-20 17:09:15 +01:00
|
|
|
PKG_SUGGESTED_OPTIONS= ocaml-tyxml
|
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
2019-01-29 13:43:53 +01:00
|
|
|
PLIST_VARS+= tyxml
|
2017-09-08 15:19:34 +02:00
|
|
|
|
2015-01-20 17:09:15 +01:00
|
|
|
###
|
|
|
|
### TyXML support
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Mocaml-tyxml)
|
|
|
|
.include "../../textproc/ocaml-tyxml/buildlink3.mk"
|
|
|
|
.include "../../devel/ocaml-reactiveData/buildlink3.mk"
|
|
|
|
PLIST.tyxml= yes
|
2018-11-29 12:59:21 +01:00
|
|
|
DUNE_BUILD_PACKAGES+= js_of_ocaml-tyxml
|
2017-09-08 15:19:34 +02:00
|
|
|
OPAM_INSTALL_FILES+= js_of_ocaml-tyxml
|
|
|
|
.else
|
|
|
|
.endif
|