# $NetBSD: options.mk,v 1.3 2008/04/12 22:43:01 jlam Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.graphviz PKG_SUPPORTED_OPTIONS= guile lua ocaml swig tcl gtk PKG_SUGGESTED_OPTIONS= lua swig tcl .include "../../mk/bsd.options.mk" PLIST_VARS+= guile gtk lua tcl .if !empty(PKG_OPTIONS:Mguile) .include "../../lang/guile/buildlink3.mk" CONFIGURE_ARGS+= --enable-guile PLIST.guile= yes .else CONFIGURE_ARGS+= --disable-guile .endif .if !empty(PKG_OPTIONS:Mlua) .include "../../lang/lua/buildlink3.mk" PLIST.lua= yes .else CONFIGURE_ARGS+= --disable-lua .endif .if !empty(PKG_OPTIONS:Mocaml) .include "../../lang/ocaml/buildlink3.mk" .else CONFIGURE_ARGS+= --disable-ocaml .endif .if !empty(PKG_OPTIONS:Mswig) .include "../../devel/swig/buildlink3.mk" .else CONFIGURE_ARGS+= --disable-swig .endif .if !empty(PKG_OPTIONS:Mtcl) .include "../../x11/tk/buildlink3.mk" CONFIGURE_ENV+= TCLCONFIG=${TCLCONFIG_SH:Q} CONFIGURE_ENV+= TKCONFIG=${TKCONFIG_SH:Q} PLIST.tcl= yes .else CONFIGURE_ARGS+= --disable-tcl .endif .if !empty(PKG_OPTIONS:Mgtk) .include "../../x11/gtk2/buildlink3.mk" PLIST.gtk= yes .else CONFIGURE_ARGS+= --without-gdk-pixbuf CONFIGURE_ARGS+= --without-gtk .endif