summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2003-03-09 16:25:30 +0000
committerAlastair Tse <liquidx@gentoo.org>2003-03-09 16:25:30 +0000
commite3fb50577859313f19d3a09a289cccb7d85d974e (patch)
treec4153ecebabcd8b37160a1b2120569e4fa993640 /net-misc/d4x/d4x-2.4.1.ebuild
parentoutdated (diff)
downloadgentoo-2-e3fb50577859313f19d3a09a289cccb7d85d974e.tar.gz
gentoo-2-e3fb50577859313f19d3a09a289cccb7d85d974e.tar.bz2
gentoo-2-e3fb50577859313f19d3a09a289cccb7d85d974e.zip
touchups to d4x
Diffstat (limited to 'net-misc/d4x/d4x-2.4.1.ebuild')
-rw-r--r--net-misc/d4x/d4x-2.4.1.ebuild12
1 files changed, 9 insertions, 3 deletions
diff --git a/net-misc/d4x/d4x-2.4.1.ebuild b/net-misc/d4x/d4x-2.4.1.ebuild
index bb9032165d97..9ee662e08dd2 100644
--- a/net-misc/d4x/d4x-2.4.1.ebuild
+++ b/net-misc/d4x/d4x-2.4.1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/d4x/d4x-2.4.1.ebuild,v 1.1 2003/03/08 20:28:12 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/d4x/d4x-2.4.1.ebuild,v 1.2 2003/03/09 16:25:30 liquidx Exp $
-IUSE="nls esd gnome oss"
+IUSE="nls esd gnome oss kde"
S="${WORKDIR}/${P/_}"
DESCRIPTION="GTK based download manager for X."
@@ -15,9 +15,9 @@ LICENSE="Artistic"
DEPEND=">=x11-libs/gtk+-2.0.6
>=dev-libs/glib-2.0.6
+ >=sys-devel/gettext-0.11.2
esd? ( >=media-sound/esound-0.2.7 )"
-
src_unpack() {
unpack ${A}
@@ -67,6 +67,12 @@ src_install () {
newins share/nt.desktop d4x.desktop
fi
+ if [ -n "`use kde`" ]
+ then
+ insinto /usr/share/applnk/Internet
+ newins share/nt.desktop d4x.desktop
+ fi
+
rm -rf ${D}/usr/share/d4x/{FAQ*,INSTALL*,README*,LICENSE,NAMES,TROUBLES}
dodoc AUTHORS COPYING ChangeLog* NEWS PLANS TODO \
DOC/{FAQ*,LICENSE,NAMES,README*,TROUBLES,THANKS}