summaryrefslogtreecommitdiff
path: root/print/evince
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2006-08-30 17:07:26 +0000
committerdrochner <drochner@pkgsrc.org>2006-08-30 17:07:26 +0000
commit499ec61047abcc6667ac3ceab29972d97916167c (patch)
tree2bba07325d7e8df10e2baf8b66966e581127185d /print/evince
parent519e5a0a0ebc5d889277c81389f69b17f3fd97a0 (diff)
downloadpkgsrc-499ec61047abcc6667ac3ceab29972d97916167c.tar.gz
add an option to support thr "djvu" file format
(no change to default configuration)
Diffstat (limited to 'print/evince')
-rw-r--r--print/evince/Makefile13
-rw-r--r--print/evince/PLIST3
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