diff options
Diffstat (limited to 'print/gutenprint-lib/options.mk')
-rw-r--r-- | print/gutenprint-lib/options.mk | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/print/gutenprint-lib/options.mk b/print/gutenprint-lib/options.mk new file mode 100644 index 00000000000..f4d38493241 --- /dev/null +++ b/print/gutenprint-lib/options.mk @@ -0,0 +1,22 @@ +# $NetBSD: options.mk,v 1.1 2020/10/26 10:57:15 triaxx Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.gutenprint +PKG_SUPPORTED_OPTIONS= gimp +PKG_SUGGESTED_OPTIONS= gimp + +.include "../../mk/bsd.options.mk" + +PLIST_VARS+= gimp + +### +### Gimp support +### +.if !empty(PKG_OPTIONS:Mgimp) +CONFIGURE_ARGS+= --with-gimp2 +CONFIGURE_ARGS+= --with-gimp2-as-gutenprint +PLIST.gimp= yes +. include "../../graphics/gimp/buildlink3.mk" +. include "../../x11/gtk2/buildlink3.mk" +.else +CONFIGURE_ARGS+= --without-gimp2 +.endif |