Annotation of pkgsrc/graphics/gnuplot/options.mk, revision 1.7

1.7     ! adam        1: # $NetBSD: options.mk,v 1.6 2012/11/12 22:02:43 bad 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)
1.7     ! adam       39: USE_LANGUAGES+=                c++
1.5       drochner   40: CONFIGURE_ARGS+=       --enable-qt
1.7     ! adam       41: PLIST.qt4=             yes
1.5       drochner   42: .include "../../x11/qt4-libs/buildlink3.mk"
                     43: .else
1.7     ! adam       44: CONFIGURE_ARGS+=       --disable-qt
1.5       drochner   45: .endif
                     46: 
                     47: .if !empty(PKG_OPTIONS:Mwxwidgets)
1.7     ! adam       48: USE_LANGUAGES+=                c++
        !            49: CONFIGURE_ARGS+=       --enable-wxwidgets
1.5       drochner   50: .include "../../x11/wxGTK28/buildlink3.mk"
                     51: .else
1.7     ! adam       52: CONFIGURE_ARGS+=       --disable-wxwidgets
1.5       drochner   53: .endif

CVSweb <webmaster@jp.NetBSD.org>