# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Maintainer: Tim Rädisch # $Header:$ S="${WORKDIR}/${P}" DESCRIPTION="MonoDevelop is a project to port SharpDevelop to Gtk#" SRC_URI="http://go-mono.com/archive/${P}.tar.gz" HOMEPAGE="http://monodevelop.com/" LICENSE="GPL-2" DEPEND=">=dev-libs/icu-2.8 >=gnome-base/ORBit2-2.8.3 || ( net-www/mozilla-firefox net-www/mozilla-firefox-bin net-www/mozilla ) >=x11-libs/gtksourceview-0.7 dev-dotnet/gtksourceview-sharp-cvs >=dev-dotnet/mono-0.30.1 >=x11-libs/gtk-sharp-0.17" KEYWORDS="x86" src_compile() { econf || die emake || die } src_install () { make DESTDIR=${D} install || die # Install documentation. dodoc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO } pkg_postinst () { if [ -a /usr/bin/mozilla ]; then einfo "Mozilla is installed; no symlink needed" else einfo "Mozilla is not installed; creating symlink" ln -sf /usr/bin/firefox /usr/bin/mozilla fi }