summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2002-06-27 19:39:18 +0000
committerDan Armak <danarmak@gentoo.org>2002-06-27 19:39:18 +0000
commitccdb38ccada64a82261eb315da27638106fa387e (patch)
treee84d1795b399b8c462b0f4e11f3abd75ac695901 /dev-util/kdevelop/kdevelop-2.1.2.ebuild
parent*** empty log message *** (diff)
downloadhistorical-ccdb38ccada64a82261eb315da27638106fa387e.tar.gz
historical-ccdb38ccada64a82261eb315da27638106fa387e.tar.bz2
historical-ccdb38ccada64a82261eb315da27638106fa387e.zip
more kde 3.0.2 pieces
Diffstat (limited to 'dev-util/kdevelop/kdevelop-2.1.2.ebuild')
-rw-r--r--dev-util/kdevelop/kdevelop-2.1.2.ebuild78
1 files changed, 78 insertions, 0 deletions
diff --git a/dev-util/kdevelop/kdevelop-2.1.2.ebuild b/dev-util/kdevelop/kdevelop-2.1.2.ebuild
new file mode 100644
index 000000000000..dff26e878777
--- /dev/null
+++ b/dev-util/kdevelop/kdevelop-2.1.2.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2001 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Bart Verwilst <verwilst@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/dev-util/kdevelop/kdevelop-2.1.2.ebuild,v 1.1 2002/06/27 19:39:18 danarmak Exp $
+
+inherit kde-base
+
+need-kde 3
+
+S=${WORKDIR}/${P}_for_KDE_3.0
+
+DESCRIPTION="KDevelop ${PV}"
+HOMEPAGE="www.kdevelop.org"
+
+SRC_PATH="kde/stable/3.0.1/src/${P}_for_KDE_3.0.tar.bz2"
+SRC_URI="ftp://ftp.kde.org/pub/$SRC_PATH
+ ftp://ftp.fh-heilbronn.de/pub/mirrors/$SRC_PATH
+ ftp://ftp.sourceforge.net/pub/mirrors/$SRC_PATH
+ mirror://gentoo/c_cpp_reference-1.0.tar.gz
+ mirror://gentoo/kdelibs-kdevelop-docs-3.0.1.tar.bz2"
+
+DEPEND="$DEPEND
+ sys-devel/flex
+ sys-devel/perl"
+
+newdepend ">=kde-base/kdebase-3
+ >=dev-util/kdoc-2.0_alpha24
+ >=dev-util/kdbg-1.2.5.3
+ >=net-www/htdig-3.1.6
+ >=app-text/enscript-1.6.1
+ >=app-text/a2ps-4.13b
+ >=dev-util/ctags-5.0.1
+ >=app-text/sgmltools-lite-3.0.3
+ >=app-doc/qt-docs-${QTVER}"
+
+src_unpack() {
+
+ base_src_unpack
+
+ cd ${S}/kdevelop
+ for x in *.desktop; do
+ mv $x $x.2
+ sed -e 's:Exec=kdevelop:Exec=env WANT_AUTOMAKE_1_4=1 WANT_AUTOCONF_2_5=1 kdevelop:g' $x.2 > $x
+ rm $x.2
+ done
+
+}
+
+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
+
+ # kdelibs documentation - pregenerated so we don't need kdelibs sources etc
+ cp -r ${WORKDIR}/KDE-Documentation ${D}/${KDEDIR}/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/
+
+}
+
+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 ""
+einfo "Oh, and if you think of a nice way to automate this from the ebuild, pray tell"
+einfo "(but test first!) :-)"
+
+
+}
+