# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-util/kdevelop/kdevelop-3.0.0_beta1.ebuild,v 1.4 2003/11/17 19:05:16 caleb Exp $ inherit kde-base need-kde 3 IUSE="doc java python" MY_P="kdevelop-3.0.0b1" S="${WORKDIR}/${MY_P}" DESCRIPTION="KDevelop is an easy to use C/C++ IDE for Unix. It supports KDE/Qt, GNOME, plain C and C++ projects." SRC_URI="mirror://kde/unstable/3.1.93/src/${MY_P}.tar.bz2" HOMEPAGE="http://www.kdevelop.org" LICENSE="GPL-2" KEYWORDS="~x86 ~sparc" SLOT=3 # -j2 and greater fails - see bug #6199 export MAKEOPTS="$MAKEOPTS -j1" newdepend "dev-lang/perl sys-devel/flex app-text/sgmltools-lite sys-devel/gdb java? ( virtual/jdk dev-java/ant ) python? ( dev-lang/python ) doc? ( app-doc/doxygen )" myconf="$myconf --with-kdelibsdoxy-dir=${KDEDIR}/share/doc/HTML/en/kdelibs-apidocs" if [ "`use java`" ]; then myconf="$myconf --enable-javasupport --with-java=`java-config --jdk-home`" else myconf="$myconf --disable-javasupport" fi if [ "`use python`" ]; then myconf="$myconf --enable-scripting --with-pythondir=/usr/lib/python2.2" else myconf="$myconf --disable-scripting" fi src_unpack() { kde_src_unpack epatch ${FILESDIR}/${P}-compat.patch } pkg_postinst() { einfo "kdevelop can use a wide range of apps for extra functionality. This is an almost" einfo "complete list. If you want subversion support, you must emerge it and then re-emerge" einfo "kdevelop; all other packages can be emerged after kdevelop." einfo einfo "dev-util/cvs: provide frontend for cvs version control system" einfo "net-misc/x11-ssh-askpass for use with SSH protected CVS systems" einfo "dev-util/subversion ditto for subversion. However much newer version of" einfo " subversion is needed than exists in portage atm" einfo "perforce ditto for perforce system. No ebuild exists atm" einfo ">=dev-util/ctags-5 faster and more powerful code browsing logic" einfo "dev-util/kdoc tools to generate KDE-style documentation for your project" einfo "app-misc/glimpse index and search your project's documentation" einfo "app-doc/doxygen ditto. doxygen has a more free license than glimpse iirc" einfo "net-www/htdig ditto. yet another supoprted indexing/searching backend" einfo "dev-util/kdbg kde frontend to gdb" einfo "dev-java/ant supports projects for this java development environment" einfo "app-arch/rpm supports creating RPMs of your project" einfo "kde-base/kdebase embed konsole kpart in kdevelop ide" einfo "kde-base/kdesdk use kompare widget for showing the output of diff" einfo "dev-util/valgrind integrates valgrind (memory debugger) commands" einfo "app-emulation/ create and run projects for this gameboy" einfo " visualboyadvance /gameboy color/gameboy advance emulator" einfo einfo "Support for GNU-style make, tmake, qmake and probably jam and other systems is included." einfo "There is also php, fortran, ruby, java etc. support - use your favourite package, I suppose." }