blob: 6a80c5654b76e554fdb9536220fd99f565465e5b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# $NetBSD: Makefile,v 1.39 2008/03/06 14:53:53 wiz Exp $
#
.include "../../print/evince/Makefile.common"
PKGREVISION= 3
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"
.if !empty(PKG_OPTIONS:Mdvi)
CONFIGURE_ARGS+= --enable-dvi
PLIST_SUBST+= DVI= # empty
GCONF_SCHEMAS+= evince-thumbnailer-dvi.schemas
.include "../../mk/tex.buildlink3.mk"
.else
PLIST_SUBST+= DVI="@comment "
.endif
.if !empty(PKG_OPTIONS:Mdjvu)
CONFIGURE_ARGS+= --enable-djvu
PLIST_SUBST+= DJVU= #empty
GCONF_SCHEMAS+= evince-thumbnailer-djvu.schemas
.include "../../graphics/djvulibre-lib/buildlink3.mk"
.else
PLIST_SUBST+= DJVU="@comment "
.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"
|