2011-04-29 13:41:07 +02:00
|
|
|
# $NetBSD: options.mk,v 1.4 2011/04/29 11:41:07 obache Exp $
|
2010-02-19 15:09:58 +01:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.gnuplot
|
2011-04-29 13:41:07 +02:00
|
|
|
PKG_SUPPORTED_OPTIONS= gd lua pdf x11
|
2011-03-10 10:44:10 +01:00
|
|
|
PKG_SUGGESTED_OPTIONS= gd x11
|
2010-02-19 15:09:58 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
2011-02-08 14:13:41 +01:00
|
|
|
PLIST_VARS+= x11
|
2010-02-19 15:09:58 +01:00
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mgd)
|
|
|
|
.include "../../graphics/gd/buildlink3.mk"
|
|
|
|
.endif
|
2011-02-08 14:13:41 +01:00
|
|
|
|
2011-04-29 13:41:07 +02:00
|
|
|
.if !empty(PKG_OPTIONS:Mlua)
|
|
|
|
.include "../../lang/lua/buildlink3.mk"
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-lua
|
|
|
|
.endif
|
|
|
|
|
2011-03-10 10:44:10 +01:00
|
|
|
# PDF output is also provided by cairo
|
2011-02-08 14:13:41 +01:00
|
|
|
.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
|