diff options
Diffstat (limited to 'print/evince')
-rw-r--r-- | print/evince/Makefile | 13 | ||||
-rw-r--r-- | print/evince/PLIST | 3 |
2 files changed, 13 insertions, 3 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" diff --git a/print/evince/PLIST b/print/evince/PLIST index e465b2251d4..973c7147fb5 100644 --- a/print/evince/PLIST +++ b/print/evince/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.9 2006/08/16 20:24:54 wiz Exp $ +@comment $NetBSD: PLIST,v 1.10 2006/08/30 17:07:26 drochner Exp $ bin/evince bin/evince-thumbnailer share/applications/evince.desktop @@ -8,6 +8,7 @@ share/evince/evince-toolbar.xml share/evince/evince-ui.xml share/evince/hand-open.png share/gconf/schemas/evince-thumbnailer.schemas +${DJVU}share/gconf/schemas/evince-thumbnailer-djvu.schemas ${DVI}share/gconf/schemas/evince-thumbnailer-dvi.schemas share/gconf/schemas/evince.schemas share/gnome/help/evince/C/evince.xml |