Annotation of pkgsrc/graphics/gnuplot/options.mk, revision 1.6
1.6 ! bad 1: # $NetBSD: options.mk,v 1.5 2012/08/10 15:14:54 drochner Exp $
1.1 asau 2:
3: PKG_OPTIONS_VAR= PKG_OPTIONS.gnuplot
1.6 ! bad 4: PKG_SUPPORTED_OPTIONS= gd lua pdf x11 qt4
! 5: .if ${OPSYS} != "NetBSD"
! 6: # wxterminal is broken on NetBSD c.f. pkg/47177
! 7: PKG_SUPPORTED_OPTIONS+= wxwidgets
! 8: .endif
1.3 drochner 9: PKG_SUGGESTED_OPTIONS= gd x11
1.1 asau 10:
11: .include "../../mk/bsd.options.mk"
12:
1.5 drochner 13: PLIST_VARS+= x11 qt4
1.2 adam 14:
15: .if !empty(PKG_OPTIONS:Mgd)
16: .include "../../graphics/gd/buildlink3.mk"
17: .endif
18:
1.4 obache 19: .if !empty(PKG_OPTIONS:Mlua)
20: .include "../../lang/lua/buildlink3.mk"
21: .else
22: CONFIGURE_ARGS+= --without-lua
23: .endif
24:
1.3 drochner 25: # PDF output is also provided by cairo
1.1 asau 26: .if !empty(PKG_OPTIONS:Mpdf)
1.2 adam 27: CONFIGURE_ARGS+= --with-pdf
28: .include "../../print/pdflib-lite/buildlink3.mk"
1.1 asau 29: .endif
30:
1.2 adam 31: .if !empty(PKG_OPTIONS:Mx11)
32: PLIST.x11= yes
33: .include "../../x11/libXaw/buildlink3.mk"
34: .else
35: CONFIGURE_ARGS+= --without-x
1.1 asau 36: .endif
1.5 drochner 37:
38: .if !empty(PKG_OPTIONS:Mqt4)
39: USE_LANGUAGES+= c++
40: CONFIGURE_ARGS+= --enable-qt
41: PLIST.qt4= yes
42: .include "../../x11/qt4-libs/buildlink3.mk"
43: .else
44: CONFIGURE_ARGS+= --disable-qt
45: .endif
46:
47: .if !empty(PKG_OPTIONS:Mwxwidgets)
48: USE_LANGUAGES+= c++
49: CONFIGURE_ARGS+= --enable-wxwidgets
50: .include "../../x11/wxGTK28/buildlink3.mk"
51: .else
52: CONFIGURE_ARGS+= --disable-wxwidgets
53: .endif
CVSweb <webmaster@jp.NetBSD.org>