# $NetBSD: options.mk,v 1.2 2012/07/11 10:40:47 wiz Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.ocsigen PKG_SUPPORTED_OPTIONS= sqlite camlzip PKG_SUGGESTED_OPTIONS= camlzip .include "../../mk/bsd.options.mk" .if !empty(PKG_OPTIONS:Msqlite) DEPENDS+= ocaml-sqlite3>=0.23.0:../../databases/ocaml-sqlite3 CONFIGURE_ARGS+= --with-sqlite PLIST_SRC+= PLIST.sqlite .else CONFIGURE_ARGS+= --without-sqlite .endif .if !empty(PKG_OPTIONS:Mcamlzip) DEPENDS+= ocaml-zip-[0-9]*:../../archivers/ocaml-zip CONFIGURE_ARGS+= --with-camlzip PLIST_SRC+= PLIST.camlzip .else CONFIGURE_ARGS+= --without-camlzip .endif PLIST_SRC+= PLIST