summaryrefslogtreecommitdiff
blob: 79a0e3b0b9548351a8de57be179e9d1dad4f0e18 (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-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"
}