diff options
Diffstat (limited to 'print/evince3/options.mk')
-rw-r--r-- | print/evince3/options.mk | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/print/evince3/options.mk b/print/evince3/options.mk new file mode 100644 index 00000000000..b5252370ae0 --- /dev/null +++ b/print/evince3/options.mk @@ -0,0 +1,29 @@ +# $NetBSD: options.mk,v 1.1.1.1 2012/03/21 17:40:20 drochner Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.evince +PKG_SUPPORTED_OPTIONS= dvi djvu xps + +.include "../../mk/bsd.options.mk" + +PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS} + +.if !empty(PKG_OPTIONS:Mdvi) +PLIST.dvi= yes +.include "../../print/kpathsea/buildlink3.mk" +.else +CONFIGURE_ARGS+= --disable-dvi +.endif + +.if !empty(PKG_OPTIONS:Mdjvu) +PLIST.djvu= yes +.include "../../graphics/djvulibre-lib/buildlink3.mk" +.else +CONFIGURE_ARGS+= --disable-djvu +.endif + +.if !empty(PKG_OPTIONS:Mxps) +PLIST.xps= yes +.include "../../print/libgxps/buildlink3.mk" +.else +CONFIGURE_ARGS+= --disable-xps +.endif |