summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2003-03-09 17:20:28 +0000
committerAlastair Tse <liquidx@gentoo.org>2003-03-09 17:20:28 +0000
commitbb872df6aa18fd2bc06115f01ed0f9b26b7fb930 (patch)
tree79b97c99460dc7c4cf89e9931f8204c84772f49b /net-misc/d4x/d4x-2.4.1.ebuild
parentupdate ac-wrapper.pl to work with AC_PREREQ in [] (diff)
downloadgentoo-2-bb872df6aa18fd2bc06115f01ed0f9b26b7fb930.tar.gz
gentoo-2-bb872df6aa18fd2bc06115f01ed0f9b26b7fb930.tar.bz2
gentoo-2-bb872df6aa18fd2bc06115f01ed0f9b26b7fb930.zip
gnome2 desktop entry compliant
Diffstat (limited to 'net-misc/d4x/d4x-2.4.1.ebuild')
-rw-r--r--net-misc/d4x/d4x-2.4.1.ebuild15
1 files changed, 8 insertions, 7 deletions
diff --git a/net-misc/d4x/d4x-2.4.1.ebuild b/net-misc/d4x/d4x-2.4.1.ebuild
index 9ee662e08dd2..1d3fa14b7675 100644
--- a/net-misc/d4x/d4x-2.4.1.ebuild
+++ b/net-misc/d4x/d4x-2.4.1.ebuild
@@ -1,6 +1,6 @@
# 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.2 2003/03/09 16:25:30 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/d4x/d4x-2.4.1.ebuild,v 1.3 2003/03/09 17:20:28 liquidx Exp $
IUSE="nls esd gnome oss kde"
@@ -61,18 +61,19 @@ src_install () {
insinto /usr/share/pixmaps
doins share/*.png share/*.xpm
- if [ -n "`use gnome`" ]
- then
- insinto /usr/share/gnome/apps/Internet
- newins share/nt.desktop d4x.desktop
- fi
-
if [ -n "`use kde`" ]
then
insinto /usr/share/applnk/Internet
newins share/nt.desktop d4x.desktop
fi
+ if [ -n "`use gnome`" ]
+ then
+ echo "Categories=Application;Network;" >> ${S}/share/nt.desktop
+ insinto /usr/share/applications
+ 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}