GARNAME = yelp
GARVERSION = 2.15.4
CATEGORIES = desktop
DISTFILES = $(GARNAME)-$(GARVERSION).tar.bz2

LIBDEPS = platform/libgnomeui platform/gnome-vfs platform/gtk-doc desktop/libgtkhtml desktop/gnome-doc-utils
LIBDEPS += $(shell if test ! "`ls $(shell echo $(PKG_CONFIG_PATH) | sed -e "s/:/ /g") 2>&1 /dev/null | grep mozilla-gtkmozembed.pc || ls $(shell echo $(PKG_CONFIG_PATH) | sed -e "s/:/ /g") 2>&1 /dev/null | grep firefox-gtkmozembed.pc`" ; then echo bootstrap/firefox ; fi )

DESCRIPTION = yelp
define BLURB
Yelp is the default help browser for the GNOME desktop.  Yelp provides
a simple graphical interface for viewing DocBook, HTML, man, and info
formatted documentation.  The name Yelp was suggested by Daniel Lundin.
Yelp is pronounced the same as the swedish word for 'help'.
endef

CONFIGURE_SCRIPTS = $(WORKSRC)/configure
BUILD_SCRIPTS = $(WORKSRC)/Makefile
INSTALL_SCRIPTS = $(WORKSRC)/Makefile

CONFIGURE_ARGS = $(DIRPATHS)
#
# enable beagle support only, if the GARNOME stack is used
CONFIGURE_ARGS += $(shell if test ! -e $(libdir)/pkgconfig/libbeagle-*.pc; \
  then echo " --with-search=basic"; fi )

include ../category.mk
