# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-text/biblestudy/biblestudy-1.0.ebuild,v 1.9 2007/01/28 05:38:38 genone Exp $ IUSE="unicode" DESCRIPTION="Bible study software based on the sword library" HOMEPAGE="http://source.emptycrate.com/" SRC_URI="mirror://sourceforge/christiangame/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" DEPEND=">=app-text/sword-1.5.7 =x11-libs/wxGTK-2.4*" src_install() { make DESTDIR="${D}" install || die "install failed" } pkg_postinst() { if ! built_with_use =x11-libs/wxGTK-2.4* unicode; then ewarn ewarn "You do not have unicode support enabled. This means that wxWindows" ewarn "was probably not built with unicode support. This can cause some" ewarn "warnings in biblestudy, though the software is still useable." ewarn fi elog "If you are looking for some texts to use with biblestudy," elog "then you can emerge app-text/sword-modules" }