diff options
author | Gregorio Guidi <greg_g@gentoo.org> | 2005-01-29 13:55:01 +0000 |
---|---|---|
committer | Gregorio Guidi <greg_g@gentoo.org> | 2005-01-29 13:55:01 +0000 |
commit | f54d7ff4f39afe54018533dcd54f383a4e693ff1 (patch) | |
tree | 75644fba43cb14cf397508dbade92b5de8ce5e3f /app-text/kbedic | |
parent | version bump. fixes #74542 (diff) | |
download | gentoo-2-f54d7ff4f39afe54018533dcd54f383a4e693ff1.tar.gz gentoo-2-f54d7ff4f39afe54018533dcd54f383a4e693ff1.tar.bz2 gentoo-2-f54d7ff4f39afe54018533dcd54f383a4e693ff1.zip |
Proper usage of kde eclasses, to make sure KDEDIR is defined (#33079).
(Portage version: 2.0.51-r15)
Diffstat (limited to 'app-text/kbedic')
-rw-r--r-- | app-text/kbedic/ChangeLog | 5 | ||||
-rw-r--r-- | app-text/kbedic/kbedic-4.0.ebuild | 14 |
2 files changed, 14 insertions, 5 deletions
diff --git a/app-text/kbedic/ChangeLog b/app-text/kbedic/ChangeLog index 2bac1f0885b1..7924290e1606 100644 --- a/app-text/kbedic/ChangeLog +++ b/app-text/kbedic/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-text/kbedic # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/kbedic/ChangeLog,v 1.14 2005/01/01 16:23:54 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/kbedic/ChangeLog,v 1.15 2005/01/29 13:55:01 greg_g Exp $ + + 29 Jan 2005; Gregorio Guidi <greg_g@gentoo.org> kbedic-4.0.ebuild: + Proper usage of kde eclasses, to make sure KDEDIR is defined (#33079). 29 Jun 2004; Carsten Lohrke <carlo@gentoo.org> kbedic-4.0.ebuild: QA: IUSE before inherit diff --git a/app-text/kbedic/kbedic-4.0.ebuild b/app-text/kbedic/kbedic-4.0.ebuild index f5a7e37d3679..3b5565e3c504 100644 --- a/app-text/kbedic/kbedic-4.0.ebuild +++ b/app-text/kbedic/kbedic-4.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/kbedic/kbedic-4.0.ebuild,v 1.6 2005/01/01 16:23:54 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/kbedic/kbedic-4.0.ebuild,v 1.7 2005/01/29 13:55:01 greg_g Exp $ inherit kde @@ -17,13 +17,19 @@ DEPEND=">=x11-libs/qt-3 kde? ( >=kde-base/kdelibs-3 )" src_compile() { - use kde && myconf="$myconf --with-kde" || myconf="$myconf --prefix=/usr" + set-qtdir 3 + set-kdedir 3 + + myconf="--prefix=/usr" + use kde && myconf="$myconf --with-kde" use kde && kde_src_compile myconf kde_src_compile configure make } src_install() { kde_src_install - use kde && install -m 644 -D ${FILESDIR}/kbedic.desktop ${D}/usr/share/applnk/Utilities/kbedic.desktop + if use kde; then + insinto /usr/share/applnk/Utilities/kbedic.desktop + doins ${FILESDIR}/kbedic.desktop + fi } - |