summaryrefslogtreecommitdiff
blob: df3bf0824fac439b759f5c7189aee4c8b823d51a (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-dicts/kannadic/kannadic-1.1.1.ebuild,v 1.2 2003/12/04 07:04:29 usata Exp $

IUSE="debug xinerama"

DESCRIPTION="Graphical Canna style dictionary editor written for KDE"
HOMEPAGE="http://linux-life.net/program/cc/kde/app/kannadic/"
SRC_URI="http://linux-life.net/program/cc/kde/app/kannadic/download/${P}.tar.gz"

LICENSE="GPL-2 QPL-1.0"
KEYWORDS="x86"
SLOT="0"

S="${WORKDIR}/${PN}"

DEPEND="virtual/glibc
	virtual/x11
	kde-base/kde
	x11-libs/qt
	app-i18n/canna"

src_compile() {

	econf `use_enable debug` \
		`use_with xinerama` || die
	emake || die
}

src_install() {

	einstall || die
}

pkg_postinst() {

	einfo
	einfo "Currently KannaDic doesn't create a dictionary for you,"
	einfo "so you need to create one manually."
	einfo "e.g) If you are going to add user dictionary named \"personal\", run"
	einfo
	einfo "\t% mkdic user"
	einfo
	einfo "and add :user \"personal\" to (use-dictionary ...) in your ~/.canna"
	einfo "You may need to restart canna server in order to use your dictionary."
	einfo
}