blob: 969edd3fef66eabdf84a90eb529e66c7bd51911b (
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
|
# $NetBSD: options.mk,v 1.3 2013/05/15 14:57:35 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.evince
PKG_SUPPORTED_OPTIONS= dbus djvu dvi gnome-keyring xps
PKG_SUGGESTED_OPTIONS= dbus gnome-keyring
.include "../../mk/bsd.options.mk"
PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS}
.if !empty(PKG_OPTIONS:Mdbus)
PLIST.dbus= yes
.include "../../sysutils/dbus/buildlink3.mk"
BUILDLINK_API_DEPENDS.dbus-glib+= dbus-glib>=0.70
.include "../../sysutils/dbus-glib/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-dbus
.endif
.if !empty(PKG_OPTIONS:Mgnome-keyring)
.include "../../security/libgnome-keyring/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-keyring
.endif
.if !empty(PKG_OPTIONS:Mdvi)
PLIST.dvi= yes
.include "../../print/kpathsea/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-dvi
.endif
.if !empty(PKG_OPTIONS:Mdjvu)
PLIST.djvu= yes
.include "../../graphics/djvulibre-lib/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-djvu
.endif
.if !empty(PKG_OPTIONS:Mxps)
PLIST.xps= yes
.include "../../print/libgxps/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-xps
.endif
|