pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/evince Add "dvi" package option. And bump PKGREV...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d200ee7b4c1f
branches: trunk
changeset: 511189:d200ee7b4c1f
user: reed <reed%pkgsrc.org@localhost>
date: Tue Apr 11 06:12:02 2006 +0000
description:
Add "dvi" package option. And bump PKGREVISION.
(This dvi support is not building on DragonFly, but works
fine under NetBSD.)
diffstat:
print/evince/Makefile | 19 ++++++++++++++++++-
print/evince/PLIST | 3 ++-
2 files changed, 20 insertions(+), 2 deletions(-)
diffs (52 lines):
diff -r 650384757cb1 -r d200ee7b4c1f print/evince/Makefile
--- a/print/evince/Makefile Tue Apr 11 05:24:54 2006 +0000
+++ b/print/evince/Makefile Tue Apr 11 06:12:02 2006 +0000
@@ -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 -r 650384757cb1 -r d200ee7b4c1f print/evince/PLIST
--- a/print/evince/PLIST Tue Apr 11 05:24:54 2006 +0000
+++ b/print/evince/PLIST Tue Apr 11 06:12:02 2006 +0000
@@ -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-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
Home |
Main Index |
Thread Index |
Old Index