# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-util/monodoc/monodoc-1.0.2.ebuild,v 1.1 2004/09/22 14:40:57 latexer Exp $ inherit mono DESCRIPTION="Documentation for mono's .Net class library" HOMEPAGE="http://www.go-mono.com" SRC_URI="http://www.go-mono.com/archive/${PV}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~ppc" IUSE="" DEPEND=">=dev-dotnet/mono-1.0.2 >=x11-libs/gtk-sharp-1.0.2" src_unpack() { if [ ! -f ${ROOT}/usr/lib/mono/gtk-sharp/gtkhtml-sharp.dll ] then echo eerror "Support for gtkhtml missing from gtk-sharp!" eerror "Please re-emerge gtk-sharp with 'gtkhtml' in USE," eerror "then emerge monodoc." die "gtkhtml support missing from gtk-sharp" fi unpack ${A} } src_compile() { econf || die MAKEOPTS="${MAKEOPTS} -j1" emake || die "make failed" } src_install() { make DESTDIR=${D} install || die }