# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-text/xiphos/xiphos-3.1.3-r1.ebuild,v 1.1 2010/05/16 00:29:08 beandog Exp $ EAPI=2 GCONF_DEBUG=no inherit gnome2 flag-o-matic DESCRIPTION="GTK+ based Bible study software, formerly gnomesword" HOMEPAGE="http://xiphos.org/" SRC_URI="mirror://sourceforge/gnomesword/${P}.tar.gz" LICENSE="GPL-2 FDL-1.1" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" IUSE="xulrunner" RDEPEND="dev-libs/glib:2 >=x11-libs/gtk+-2.14:2 dev-libs/libxml2 >=gnome-base/libglade-2 >=gnome-extra/gtkhtml-3.23 >=app-text/sword-1.6 dev-libs/dbus-glib gnome-extra/libgsf xulrunner? ( >=net-libs/xulrunner-1.9.1.3:1.9 )" DEPEND="${RDEPEND} dev-util/pkgconfig dev-util/intltool sys-devel/gettext app-text/rarian >=app-text/gnome-doc-utils-0.3.2 dev-libs/nspr" pkg_setup() { G2CONF="--docdir=/usr/share/doc/${PF} --disable-dependency-tracking" if ! use xulrunner; then G2CONF="${G2CONF} --without-gecko" fi append-cppflags -I/usr/include/nspr } src_install() { gnome2_src_install prepalldocs } pkg_postinst() { gnome2_pkg_postinst elog "Xiphos requires modules to be of any use. You may install the" elog "sword modules packages in app-dicts/, or download modules" elog "individually from the sword website: http://crosswire.org/sword/" }