summaryrefslogtreecommitdiff
blob: 07e0c0a8ae2cc96fa73590476551dd47f7e851ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 1999-2006 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.7 2006/09/07 04:09:03 beandog 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"
RESTRICT="nomirror"
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

	einfo "If you are looking for some texts to use with biblestudy,"
	einfo "then you can emerge app-text/sword-modules"
}