pkgsrc/print/evince/Makefile
drochner 4021ec86d8 Treat FITB* references like their counterparts w/o 'B' instead
of just spitting out an "unimplemented" warning. The pdf spec
defines a differing zoom setting for them which is ignored here.
bump PKGREVISION
2008-09-14 14:35:27 +00:00

49 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.43 2008/09/14 14:35:27 drochner Exp $
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../print/evince/Makefile.common"
PKGREVISION= 1
COMMENT= Document viewer for the GNOME Desktop
GCONF_SCHEMAS= evince.schemas
GCONF_SCHEMAS+= evince-thumbnailer.schemas
GCONF_SCHEMAS+= evince-thumbnailer-ps.schemas
PKG_OPTIONS_VAR= PKG_OPTIONS.evince
PKG_SUPPORTED_OPTIONS= dvi djvu
PKG_SUGGESTED_OPTIONS= # none
.include "../../mk/bsd.options.mk"
PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS}
.if !empty(PKG_OPTIONS:Mdvi)
CONFIGURE_ARGS+= --enable-dvi
PLIST.dvi= yes
GCONF_SCHEMAS+= evince-thumbnailer-dvi.schemas
.include "../../mk/tex.buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mdjvu)
CONFIGURE_ARGS+= --enable-djvu
PLIST.djvu= yes
GCONF_SCHEMAS+= evince-thumbnailer-djvu.schemas
.include "../../graphics/djvulibre-lib/buildlink3.mk"
.endif
CONFIGURE_ARGS+= --enable-comics
GCONF_SCHEMAS+= evince-thumbnailer-comics.schemas
BUILDLINK_DEPMETHOD.libXt?= build
.include "../../devel/GConf/schemas.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../security/gnome-keyring/buildlink3.mk"
.include "../../sysutils/dbus/buildlink3.mk"
.include "../../sysutils/dbus-glib/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"