summaryrefslogtreecommitdiff
path: root/print/evince
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2006-04-11 06:12:02 +0000
committerreed <reed@pkgsrc.org>2006-04-11 06:12:02 +0000
commit929491d8fe292498065db5ba2cfaffb1dac46793 (patch)
tree1b59a343faab5665926859a264b5679628863d18 /print/evince
parentdfd1c9d3158546a5dfa01e8661af45ddf0809b92 (diff)
downloadpkgsrc-929491d8fe292498065db5ba2cfaffb1dac46793.tar.gz
Add "dvi" package option. And bump PKGREVISION.
(This dvi support is not building on DragonFly, but works fine under NetBSD.)
Diffstat (limited to 'print/evince')
-rw-r--r--print/evince/Makefile19
-rw-r--r--print/evince/PLIST3
2 files changed, 20 insertions, 2 deletions
diff --git a/print/evince/Makefile b/print/evince/Makefile
index 61c2714b3b3..114a2b32944 100644
--- a/print/evince/Makefile
+++ b/print/evince/Makefile
@@ -1,13 +1,30 @@
-# $NetBSD: Makefile,v 1.14 2006/04/08 21:02:26 reed Exp $
+# $NetBSD: Makefile,v 1.15 2006/04/11 06:12:02 reed Exp $
#
.include "../../print/evince/Makefile.common"
+PKGREVISION= 1
+
COMMENT= Document viewer for the GNOME Desktop
GCONF2_SCHEMAS= evince.schemas
GCONF2_SCHEMAS+= evince-thumbnailer.schemas
+PKG_OPTIONS_VAR= PKG_OPTIONS.evince
+PKG_SUPPORTED_OPTIONS= dvi
+PKG_SUGGESTED_OPTIONS= # none
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mdvi)
+CONFIGURE_ARGS+= --enable-dvi
+PLIST_SUBST+= DVI= # empty
+GCONF2_SCHEMAS+= evince-thumbnailer-dvi.schemas
+.include "../../mk/tex.buildlink3.mk"
+.else
+PLIST_SUBST+= DVI="@comment "
+.endif
+
.include "../../security/gnome-keyring/buildlink3.mk"
.include "../../sysutils/dbus/buildlink3.mk"
.include "../../sysutils/dbus-glib/buildlink3.mk"
diff --git a/print/evince/PLIST b/print/evince/PLIST
index d60740f10c0..73821547650 100644
--- a/print/evince/PLIST
+++ b/print/evince/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2006/03/30 21:30:42 jmmv Exp $
+@comment $NetBSD: PLIST,v 1.5 2006/04/11 06:12:02 reed Exp $
bin/evince
bin/evince-thumbnailer
share/applications/evince.desktop
@@ -7,6 +7,7 @@ share/evince/evince-properties.glade
share/evince/evince-toolbar.xml
share/evince/evince-ui.xml
share/evince/hand-open.png
+${DVI}share/gconf/schemas/evince-thumbnailer-dvi.schemas
share/gconf/schemas/evince-thumbnailer.schemas
share/gconf/schemas/evince.schemas
share/gnome/help/evince/C/evince.xml