aboutsummaryrefslogtreecommitdiff
path: root/graphics/evince
diff options
context:
space:
mode:
authorAlexander Nedotsukov <bland@FreeBSD.org>2005-04-29 21:29:34 +0000
committerAlexander Nedotsukov <bland@FreeBSD.org>2005-04-29 21:29:34 +0000
commitf21004c8cf29c4d195302494574e07173bb66102 (patch)
tree432986fca00dd1c9c549ab82e2cc8003452056e7 /graphics/evince
parent7a95e4215161969a5ab4e6e5f99320bec462dc2b (diff)
Notes
Diffstat (limited to 'graphics/evince')
-rw-r--r--graphics/evince/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/graphics/evince/Makefile b/graphics/evince/Makefile
index 673a7f4ba4d0..52673e30e1f7 100644
--- a/graphics/evince/Makefile
+++ b/graphics/evince/Makefile
@@ -30,6 +30,24 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
GCONF_SCHEMAS= evince.schemas evince-thumbnailer.schemas
+.if defined(WITH_DJVU)
+LIB_DEPENDS+= djvulibre.14:${PORTSDIR}/graphics/djvulibre
+CONFIGURE_ARGS+= --enable-djvu
+.else
+CONFIGURE_ARGS+= --disable-djvu
+.endif
+
+pre-everything::
+.if !defined(WITH_DJVU)
+ @${ECHO_MSG}
+ @${ECHO_MSG} "If you want DjVu support included, hit Ctrl-C now and use"
+ @${ECHO_MSG} "\"make WITH_DJVU=yes\""
+ @${ECHO_MSG} "NOTE: GNOME/Gtk+ users may want to avoid QT dependency required"
+ @${ECHO_MSG} "by defaut djvulibre installation. They need to use
+ @${ECHO_MSG} "\"make WITHOUT_X11=yes\" when build that library then."
+ @${ECHO_MSG}
+.endif
+
post-install:
@-update-desktop-database