From 929491d8fe292498065db5ba2cfaffb1dac46793 Mon Sep 17 00:00:00 2001 From: reed Date: Tue, 11 Apr 2006 06:12:02 +0000 Subject: Add "dvi" package option. And bump PKGREVISION. (This dvi support is not building on DragonFly, but works fine under NetBSD.) --- print/evince/Makefile | 19 ++++++++++++++++++- print/evince/PLIST | 3 ++- 2 files changed, 20 insertions(+), 2 deletions(-) (limited to 'print/evince') 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 -- cgit v1.2.3