--- anjuta-1.2.2-r1.ebuild.orig 2004-08-23 01:22:18.000000000 -0400 +++ anjuta-1.2.2-r1.ebuild 2004-08-23 05:24:28.104996664 -0400 @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/anjuta/anjuta-1.2.2-r1.ebuild,v 1.2 2004/08/21 16:05:46 foser Exp $ +# $Header: $ inherit eutils gnome2 @@ -12,7 +12,7 @@ SLOT="0" LICENSE="GPL-2" # Future versions will work with 64-bit archs, but 1.2.0 doesn't -KEYWORDS="x86 ~ppc sparc ~amd64" +KEYWORDS="~x86" RDEPEND=">=dev-libs/glib-2.0.6 >=x11-libs/gtk+-2.0.8 @@ -34,8 +34,6 @@ DEPEND="${RDEPEND} dev-util/pkgconfig" -DOCS="AUTHORS COPYING ChangeLog FUTURE NEWS README THANKS TODO" - MAKEOPTS="${MAKEOPTS} -j1" src_unpack() { @@ -48,6 +46,14 @@ epatch ${FILESDIR}/${P}-64bit.patch } +src_install() { + # install docs properly + sed -i "s:share/doc/${PN}:share/doc/${PF}:g" Makefile + sed -i "s:share/doc/${PN}:share/doc/${PF}/html:g" doc/Makefile + gnome2_src_install + prepalldocs.new || prepalldocs +} + pkg_postinst() { gnome2_pkg_postinst