diff options
author | 2005-01-29 20:15:10 +0000 | |
---|---|---|
committer | 2005-01-29 20:15:10 +0000 | |
commit | 9951e8940af3989a086a40d2c05e0126075e9ffc (patch) | |
tree | 482b22545987fc477573348a9c37cb6cf25b16a8 /app-i18n/poedit/poedit-1.3.2.ebuild | |
parent | Xfce 4.2 stable on ppc. (diff) | |
download | gentoo-2-9951e8940af3989a086a40d2c05e0126075e9ffc.tar.gz gentoo-2-9951e8940af3989a086a40d2c05e0126075e9ffc.tar.bz2 gentoo-2-9951e8940af3989a086a40d2c05e0126075e9ffc.zip |
Version bump.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'app-i18n/poedit/poedit-1.3.2.ebuild')
-rw-r--r-- | app-i18n/poedit/poedit-1.3.2.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/app-i18n/poedit/poedit-1.3.2.ebuild b/app-i18n/poedit/poedit-1.3.2.ebuild new file mode 100644 index 000000000000..b3b722ce8482 --- /dev/null +++ b/app-i18n/poedit/poedit-1.3.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/poedit/poedit-1.3.2.ebuild,v 1.1 2005/01/29 20:15:10 pythonhead Exp $ + +inherit eutils kde wxwidgets + +DESCRIPTION="Cross-platform gettext catalogs (.po files) editor." +SRC_URI="mirror://sourceforge/poedit/${P}.tar.gz" +HOMEPAGE="http://poedit.sourceforge.net/" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~x86 ~sparc ~ppc" +IUSE="spell gtk2 unicode" + +DEPEND="<x11-libs/wxGTK-2.5 + app-arch/zip + >=sys-libs/db-3 + spell? ( >=app-text/gtkspell-2.0.0 )" + +pkg_setup() { + if use unicode && ! use gtk2; then + die "You must put gtk2 in your USE if you want unicode." + fi + if use spell && ! use gtk2; then + die "You must put gtk2 in your USE if you want spellchecking." + fi +} + +src_compile() { + local myconf + use spell || myconf="${myconf} --disable-spellchecking" + + if use unicode ; then + need-wxwidgets unicode || die "You need to emerge wxGTK with unicode in your USE" + elif ! use gtk2 ; then + need-wxwidgets gtk || die "You need to emerge wxGTK with gtk in your USE" + else + need-wxwidgets gtk2 || die "You need to emerge wxGTK with gtk2 in your USE" + fi + econf ${myconf} || die + emake || die +} + +src_install () { + make DESTDIR=${D} install \ + datadir=/usr/share \ + GNOME_DATA_DIR=/usr/share \ + KDE_DATA_DIR=/usr/share || die + + dodoc AUTHORS LICENSE NEWS README TODO +} |