| @@ -1,38 +1,32 @@ | | | @@ -1,38 +1,32 @@ |
1 | # $NetBSD: options.mk,v 1.3 2013/05/15 14:57:35 wiz Exp $ | | 1 | # $NetBSD: options.mk,v 1.4 2014/01/27 18:49:45 wiz Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.evince | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.evince |
4 | PKG_SUPPORTED_OPTIONS= dbus djvu dvi gnome-keyring xps | | 4 | PKG_SUPPORTED_OPTIONS= dbus djvu dvi xps |
5 | PKG_SUGGESTED_OPTIONS= dbus gnome-keyring | | 5 | PKG_SUGGESTED_OPTIONS= dbus |
6 | | | 6 | |
7 | .include "../../mk/bsd.options.mk" | | 7 | .include "../../mk/bsd.options.mk" |
8 | | | 8 | |
9 | PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS} | | 9 | PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS} |
10 | | | 10 | |
11 | .if !empty(PKG_OPTIONS:Mdbus) | | 11 | .if !empty(PKG_OPTIONS:Mdbus) |
12 | PLIST.dbus= yes | | 12 | PLIST.dbus= yes |
13 | .include "../../sysutils/dbus/buildlink3.mk" | | 13 | .include "../../sysutils/dbus/buildlink3.mk" |
14 | BUILDLINK_API_DEPENDS.dbus-glib+= dbus-glib>=0.70 | | 14 | BUILDLINK_API_DEPENDS.dbus-glib+= dbus-glib>=0.70 |
15 | .include "../../sysutils/dbus-glib/buildlink3.mk" | | 15 | .include "../../sysutils/dbus-glib/buildlink3.mk" |
16 | .else | | 16 | .else |
17 | CONFIGURE_ARGS+= --disable-dbus | | 17 | CONFIGURE_ARGS+= --disable-dbus |
18 | .endif | | 18 | .endif |
19 | | | 19 | |
20 | .if !empty(PKG_OPTIONS:Mgnome-keyring) | | | |
21 | .include "../../security/libgnome-keyring/buildlink3.mk" | | | |
22 | .else | | | |
23 | CONFIGURE_ARGS+= --without-keyring | | | |
24 | .endif | | | |
25 | | | | |
26 | .if !empty(PKG_OPTIONS:Mdvi) | | 20 | .if !empty(PKG_OPTIONS:Mdvi) |
27 | PLIST.dvi= yes | | 21 | PLIST.dvi= yes |
28 | .include "../../print/kpathsea/buildlink3.mk" | | 22 | .include "../../print/kpathsea/buildlink3.mk" |
29 | .else | | 23 | .else |
30 | CONFIGURE_ARGS+= --disable-dvi | | 24 | CONFIGURE_ARGS+= --disable-dvi |
31 | .endif | | 25 | .endif |
32 | | | 26 | |
33 | .if !empty(PKG_OPTIONS:Mdjvu) | | 27 | .if !empty(PKG_OPTIONS:Mdjvu) |
34 | PLIST.djvu= yes | | 28 | PLIST.djvu= yes |
35 | .include "../../graphics/djvulibre-lib/buildlink3.mk" | | 29 | .include "../../graphics/djvulibre-lib/buildlink3.mk" |
36 | .else | | 30 | .else |
37 | CONFIGURE_ARGS+= --disable-djvu | | 31 | CONFIGURE_ARGS+= --disable-djvu |
38 | .endif | | 32 | .endif |