diff options
author | Alexander Nedotsukov <bland@FreeBSD.org> | 2005-04-29 21:29:34 +0000 |
---|---|---|
committer | Alexander Nedotsukov <bland@FreeBSD.org> | 2005-04-29 21:29:34 +0000 |
commit | f21004c8cf29c4d195302494574e07173bb66102 (patch) | |
tree | 432986fca00dd1c9c549ab82e2cc8003452056e7 /graphics/evince | |
parent | 7a95e4215161969a5ab4e6e5f99320bec462dc2b (diff) |
Notes
Diffstat (limited to 'graphics/evince')
-rw-r--r-- | graphics/evince/Makefile | 18 |
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 |