summaryrefslogtreecommitdiff
path: root/graphics/evince
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2010-05-31 21:25:33 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2010-05-31 21:25:33 +0000
commit91ca113d46d2e25a743eb794771d555a37bb8414 (patch)
tree6995e5de2bcf97b99365956f4d3e69e7b7794e8f /graphics/evince
parentMaybe I should just go back to bed today. (diff)
Make gnome-keyring and optional dependency when building without Nautilus.
Also, remove the libglade2 dependency which is no longer needed. PR: 147246 Submitted by: Pavel Gubin <pg@2lazy.ru>
Notes
Notes: svn path=/head/; revision=255414
Diffstat (limited to 'graphics/evince')
-rw-r--r--graphics/evince/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/evince/Makefile b/graphics/evince/Makefile
index b497b6fa06a9..35da539cf06a 100644
--- a/graphics/evince/Makefile
+++ b/graphics/evince/Makefile
@@ -42,6 +42,7 @@ MAN1= evince.1
OPTIONS= DVI "Enable DVI viewer support" off \
T1LIB "Enable T1LIB for TYPE1 fonts to DVI (Enables DVI)" off \
NAUTILUS "Enable Nautilus plugin" on \
+ KEYRING "Enable Gnome-Keyring without Nautilus" on \
DBUS "Enable D-BUS support" on \
COMICS "Enable comic book archives support" on \
IMPRESS "Enable Impress presentations support" off \
@@ -76,8 +77,11 @@ PLIST_SUB+= NAUTILUS=""
.else
BUILD_DEPENDS+= ${LOCALBASE}/share/icons/gnome/index.theme:${PORTSDIR}/misc/gnome-icon-theme
RUN_DEPENDS+= ${LOCALBASE}/share/icons/gnome/index.theme:${PORTSDIR}/misc/gnome-icon-theme
+.if !defined(WITHOUT_KEYRING)
LIB_DEPENDS+= gnome-keyring.0:${PORTSDIR}/security/gnome-keyring
-USE_GNOME+= libglade2
+.else
+CONFIGURE_ARGS+= --without-keyring
+.endif
CONFIGURE_ARGS+= --disable-nautilus
PLIST_SUB+= NAUTILUS="@comment "
.endif