# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-util/monodevelop/monodevelop-0.5.1-r4.ebuild,v 1.3 2005/03/23 01:36:52 latexer Exp $ inherit mono eutils DESCRIPTION="MonoDevelop is a project to port SharpDevelop to Gtk#" SRC_URI="http://www.go-mono.com/archive/1.0.2/${P}.tar.gz mirror://gentoo/${P}-mono-1.1.x-compat.diff.bz2" HOMEPAGE="http://monodevelop.com/" LICENSE="GPL-2" IUSE="" DEPEND=">=dev-libs/icu-2.6 >=dev-lang/mono-1.0 >=dev-util/monodoc-1.0 =dev-dotnet/gtk-sharp-1.0* =dev-dotnet/glade-sharp-1.0* =dev-dotnet/gnome-sharp-1.0* =dev-dotnet/gconf-sharp-1.0* =dev-dotnet/gtkhtml-sharp-1.0* >=dev-dotnet/gtksourceview-sharp-0.5 >=dev-dotnet/gecko-sharp-0.5-r2 >=sys-devel/automake-1.8" KEYWORDS="~x86 ~ppc" SLOT="0" src_unpack() { unpack ${A} cd ${S} epatch ${WORKDIR}/${P}-mono-1.1.x-compat.diff || die epatch ${FILESDIR}/${P}-nemerle-gtk-sharp.diff || die epatch ${FILESDIR}/${P}-iconloader.diff || die export WANT_AUTOMAKE=1.8 aclocal || die automake || die } src_compile() { econf || die MAKEOPTS="-j1" make || die } src_install () { # Needed if update-mime-info is run addwrite ${ROOT}/usr/share/mime make DESTDIR=${D} install || die # Install documentation. dodoc ChangeLog README } pkg_postinst() { echo ewarn "If you experience problems with syntax highlighting," ewarn "Re-emerge gtksourceview. Previous versions of monodevelop" ewarn "installed a .lang file that gtksourceview now handles." echo }