diff options
Diffstat (limited to 'print/evince/Makefile')
-rw-r--r-- | print/evince/Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/print/evince/Makefile b/print/evince/Makefile index f6ffcbc57ad..0eb7ed66268 100644 --- a/print/evince/Makefile +++ b/print/evince/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2006/08/23 09:49:36 jmmv Exp $ +# $NetBSD: Makefile,v 1.22 2006/08/30 17:07:26 drochner Exp $ # .include "../../print/evince/Makefile.common" @@ -11,7 +11,7 @@ GCONF2_SCHEMAS= evince.schemas GCONF2_SCHEMAS+= evince-thumbnailer.schemas PKG_OPTIONS_VAR= PKG_OPTIONS.evince -PKG_SUPPORTED_OPTIONS= dvi +PKG_SUPPORTED_OPTIONS= dvi djvu PKG_SUGGESTED_OPTIONS= # none .include "../../mk/bsd.options.mk" @@ -25,6 +25,15 @@ GCONF2_SCHEMAS+= evince-thumbnailer-dvi.schemas PLIST_SUBST+= DVI="@comment " .endif +.if !empty(PKG_OPTIONS:Mdjvu) +CONFIGURE_ARGS+= --enable-djvu +PLIST_SUBST+= DJVU= #empty +GCONF2_SCHEMAS+= evince-thumbnailer-djvu.schemas +.include "../../graphics/djvulibre-lib/buildlink3.mk" +.else +PLIST_SUBST+= DJVU="@comment " +.endif + .include "../../devel/GConf2/schemas.mk" .include "../../graphics/hicolor-icon-theme/buildlink3.mk" .include "../../security/gnome-keyring/buildlink3.mk" |