diff options
Diffstat (limited to 'math/sc-im/options.mk')
-rw-r--r-- | math/sc-im/options.mk | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/math/sc-im/options.mk b/math/sc-im/options.mk new file mode 100644 index 00000000000..80a0e4b013a --- /dev/null +++ b/math/sc-im/options.mk @@ -0,0 +1,23 @@ +# $NetBSD: options.mk,v 1.1 2019/01/30 12:58:24 leot Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.sc-im +PKG_SUPPORTED_OPTIONS+= color xlsx lua +PKG_SUGGESTED_OPTIONS+= color xlsx lua + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mcolor) +CFLAGS+= -DUSECOLORS +.endif + +.if !empty(PKG_OPTIONS:Mxlsx) +CFLAGS+= -DXLSX -DXLSX_EXPORT +LDFLAGS+= -lxlsxwriter +.include "../../archivers/libzip/buildlink3.mk" +.include "../../textproc/libxml2/buildlink3.mk" +.include "../../textproc/libxlsxwriter/buildlink3.mk" +.endif + +.if !empty(PKG_OPTIONS:Mlua) +.include "../../lang/lua51/buildlink3.mk" +.endif |