summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2002-08-13 11:57:45 +0000
committerDan Armak <danarmak@gentoo.org>2002-08-13 11:57:45 +0000
commit5afb6bd57888fa942315b982dafc7086c706a403 (patch)
tree0f9368df15edb74847d3d947b435bf10dcad9c79 /dev-util
parentchange SLOT from 3 to 3.0 to be the same as all the other ebuilds (diff)
downloadgentoo-2-5afb6bd57888fa942315b982dafc7086c706a403.tar.gz
gentoo-2-5afb6bd57888fa942315b982dafc7086c706a403.tar.bz2
gentoo-2-5afb6bd57888fa942315b982dafc7086c706a403.zip
fix for installing outside the kde prefix: should use not /usr/kde/cvs
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/kdevelop/ChangeLog8
-rw-r--r--dev-util/kdevelop/kdevelop-2.1.2.ebuild14
2 files changed, 13 insertions, 9 deletions
diff --git a/dev-util/kdevelop/ChangeLog b/dev-util/kdevelop/ChangeLog
index 3446376e4e3a..96f4380f4339 100644
--- a/dev-util/kdevelop/ChangeLog
+++ b/dev-util/kdevelop/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-util/kdevelop
-# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/dev-util/kdevelop/ChangeLog,v 1.8 2002/07/03 07:56:16 danarmak Exp $
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/kdevelop/ChangeLog,v 1.9 2002/08/13 11:57:45 danarmak Exp $
+
+ 13 Aug 2002; Dan Armak <danarmak@gentoo.org> ChangeLog :
+
+ Fix for installing outside the kde prefix: should use $PREFIX not $KDEDIR.
*kdevelop-2.1.2 (03 Jul 2002)
diff --git a/dev-util/kdevelop/kdevelop-2.1.2.ebuild b/dev-util/kdevelop/kdevelop-2.1.2.ebuild
index 4a88302c996e..417884fac78a 100644
--- a/dev-util/kdevelop/kdevelop-2.1.2.ebuild
+++ b/dev-util/kdevelop/kdevelop-2.1.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/kdevelop/kdevelop-2.1.2.ebuild,v 1.7 2002/07/27 10:44:31 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/kdevelop/kdevelop-2.1.2.ebuild,v 1.8 2002/08/13 11:57:45 danarmak Exp $
inherit kde-base
need-kde 3
@@ -50,15 +50,15 @@ src_install() {
kde_src_install
# setup htdig for use with kdevelop out-of-the-box (sort of)
- sed -e "s:_KDEDIR_:${KDEDIR}:g" ${FILESDIR}/htdig.conf > ${D}/${KDEDIR}/share/apps/kdevelop/tools/htdig.conf
- dodir ${KDEDIR}/share/apps/kdevelop/htdig/db
+ sed -e "s:_KDEDIR_:${PREFIX}:g" ${FILESDIR}/htdig.conf > ${D}/${PREFIX}/share/apps/kdevelop/tools/htdig.conf
+ dodir ${PREFIX}/share/apps/kdevelop/htdig/db
# kdelibs documentation - pregenerated so we don't need kdelibs sources etc
- cp -r ${WORKDIR}/KDE-Documentation ${D}/${KDEDIR}/share/apps/kdevelop/
+ cp -r ${WORKDIR}/KDE-Documentation ${D}/${PREFIX}/share/apps/kdevelop/
# c/cpp reference package
- dodir ${KDEDIR}/share/doc/HTML/en/kdevelop/reference
- cp -r ${WORKDIR}/c_cpp_reference-1.0/reference/{C,CPLUSPLUS,GRAPHICS} ${D}/${KDEDIR}/share/doc/HTML/en/kdevelop/reference/
+ dodir ${PREFIX}/share/doc/HTML/en/kdevelop/reference
+ cp -r ${WORKDIR}/c_cpp_reference-1.0/reference/{C,CPLUSPLUS,GRAPHICS} ${D}/${PREFIX}/share/doc/HTML/en/kdevelop/reference/
}
@@ -67,7 +67,7 @@ pkg_postinst() {
einfo "Don't run the kdevelop setup! It will try to generate the kdelibs documentation,"
einfo "but a pregenerated package of it has been installed with this ebuild."
einfo "Instead, run kdevelop, go to Options->Kdevelop Setup, Documentation tab, and change"
-einfo "the value of KDE-Libraries-Doc to $KDEDIR/share/apps/kdevelop/KDE-Documentation/ ."
+einfo "the value of KDE-Libraries-Doc to $PREFIX/share/apps/kdevelop/KDE-Documentation/ ."
einfo ""
einfo "Oh, and if you think of a nice way to automate this from the ebuild, pray tell"
einfo "(but test first!) :-)"