summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2002-12-18 15:45:53 +0000
committerMike Frysinger <vapier@gentoo.org>2002-12-18 15:45:53 +0000
commit413c5e74a8f164d7f634673d49275c412ae14935 (patch)
tree59d3bc47014dfb56f192d4863dd9f531337d64de /app-text/gtranslator
parentChanged einstall||die to einstall (diff)
downloadhistorical-413c5e74a8f164d7f634673d49275c412ae14935.tar.gz
historical-413c5e74a8f164d7f634673d49275c412ae14935.tar.bz2
historical-413c5e74a8f164d7f634673d49275c412ae14935.zip
Changed econf||die to econf
Diffstat (limited to 'app-text/gtranslator')
-rw-r--r--app-text/gtranslator/gtranslator-0.42.ebuild17
1 files changed, 4 insertions, 13 deletions
diff --git a/app-text/gtranslator/gtranslator-0.42.ebuild b/app-text/gtranslator/gtranslator-0.42.ebuild
index 5b0feca5f8ff..15d5ca8abda3 100644
--- a/app-text/gtranslator/gtranslator-0.42.ebuild
+++ b/app-text/gtranslator/gtranslator-0.42.ebuild
@@ -1,17 +1,15 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/gtranslator/gtranslator-0.42.ebuild,v 1.6 2002/12/09 04:17:44 manson Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/gtranslator/gtranslator-0.42.ebuild,v 1.7 2002/12/18 15:41:28 vapier Exp $
-IUSE="nls"
-
-S=${WORKDIR}/${P}
DESCRIPTION="A gettext po file editor for GNOME"
SRC_URI="http://www.gtranslator.org/download/releases/${PV}/${P}.tar.gz"
HOMEPAGE="http://www.gtranslator.org/"
SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="x86 sparc "
+KEYWORDS="x86 sparc"
+IUSE="nls"
DEPEND=">=gnome-base/gnome-libs-1.2
=gnome-base/gconf-1.0*
@@ -23,27 +21,20 @@ DEPEND=">=gnome-base/gnome-libs-1.2
>=gnome-base/ORBit-0.5.14
>=gnome-base/gnome-vfs-1*
>=dev-libs/libxml-1.8.17"
-
RDEPEND="nls? ( sys-devel/gettext )"
src_compile() {
- local myconf
-
- use nls || myconf="--disable-nls"
-
- econf ${myconf} || die "./configure failed"
+ econf `use_enable nls`
emake || die
}
src_install() {
cd ${S}/help/C
-
mv Makefile Makefile.orig
sed -e 's:scrollkeeper-update.*::g' Makefile.orig > Makefile
rm Makefile.orig
cd ${S}
-
make DESTDIR=${D} install || die
dodoc ABOUT-NLS AUTHORS Changelog COPYING HACKING INSTALL NEWS README \