pkgsrc/graphics/gnuplot/options.mk
adam 068a984f97 Changes 4.6.3:
* NEW space raises console for console mode gnuplot on Windows
* CHANGE -persist mode does not open text window of wgnuplot
* FIX -persist mode broken on Windows
* FIX -persist mode results in zombie process if using wxt terminal on Windows
* FIX suppression of color in linetypes after "set term ... mono"
* FIX synchronization of graphics and text color in latex terminals
2013-05-16 14:17:04 +00:00

53 lines
1.2 KiB
Makefile

# $NetBSD: options.mk,v 1.7 2013/05/16 14:17:04 adam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gnuplot
PKG_SUPPORTED_OPTIONS= gd lua pdf x11 qt4
.if ${OPSYS} != "NetBSD"
# wxterminal is broken on NetBSD c.f. pkg/47177
PKG_SUPPORTED_OPTIONS+= wxwidgets
.endif
PKG_SUGGESTED_OPTIONS= gd x11
.include "../../mk/bsd.options.mk"
PLIST_VARS+= x11 qt4
.if !empty(PKG_OPTIONS:Mgd)
.include "../../graphics/gd/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mlua)
.include "../../lang/lua/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-lua
.endif
# PDF output is also provided by cairo
.if !empty(PKG_OPTIONS:Mpdf)
CONFIGURE_ARGS+= --with-pdf
.include "../../print/pdflib-lite/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mx11)
PLIST.x11= yes
.include "../../x11/libXaw/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-x
.endif
.if !empty(PKG_OPTIONS:Mqt4)
USE_LANGUAGES+= c++
CONFIGURE_ARGS+= --enable-qt
PLIST.qt4= yes
.include "../../x11/qt4-libs/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-qt
.endif
.if !empty(PKG_OPTIONS:Mwxwidgets)
USE_LANGUAGES+= c++
CONFIGURE_ARGS+= --enable-wxwidgets
.include "../../x11/wxGTK28/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-wxwidgets
.endif