summaryrefslogtreecommitdiff
blob: d385127c43063dc6392dca7ce0c00710a4db8b89 (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
# 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.6 2006/06/03 05:15:44 antarus Exp $

IUSE="unicode"
DESCRIPTION="biblestudy software based on the sword library"
HOMEPAGE="http://www.whensdinner.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
	>=app-text/sword-modules-20040503
	=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
}