summaryrefslogtreecommitdiff
blob: 1340410c72bf4803d0f2d26410de1e9f45e9054a (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/poedit/poedit-1.2.1.ebuild,v 1.3 2003/03/25 02:14:23 liquidx Exp $

inherit eutils kde

DESCRIPTION="Cross-platform gettext catalogs (.po files) editor."
SRC_URI="mirror://sourceforge/poedit/${P}.tar.bz2"
HOMEPAGE="http://poedit.sourceforge.net/"

SLOT="0"
LICENSE="as-is"
KEYWORDS="x86 ~sparc"

DEPEND=">=x11-libs/wxGTK-2.3.4
	>=sys-libs/db-3"

src_unpack() {
	unpack ${A}

	cd ${S}
	epatch ${FILESDIR}/${P}-gentoo_make_paths.patch
}

src_compile() {
	autoconf
	automake

	econf || die
	emake || die
}

src_install () {
	einstall \
		datadir=${D}/usr/share \
		GNOME_DATA_DIR=${D}/usr/share || die
        KDE_DATA_DIR=${D}/${KDEDIR}/share || die

	dodoc AUTHORS LICENSE NEWS README TODO
}