# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/app-editors/bluefish/bluefish-0.12.ebuild,v 1.6 2004/03/19 17:45:01 agriffis Exp $ inherit eutils IUSE="nls spell" DESCRIPTION="A GTK HTML editor for the experienced web designer or programmer." SRC_URI="http://pkedu.fbt.eitn.wau.nl/~olivier/downloads/${P}.tar.bz2" HOMEPAGE="http://bluefish.openoffice.nl/" LICENSE="GPL-2" KEYWORDS="x86 ~ppc sparc ~amd64 alpha ia64" SLOT="0" RDEPEND=">=x11-libs/gtk+-2 dev-libs/libpcre spell? ( app-text/aspell )" DEPEND="${RDEPEND} dev-util/pkgconfig nls? ( sys-devel/gettext )" src_compile() { epatch ${FILESDIR}/bluefish-make-destdir.patch || die "error patching file" local myconf myconf="" # --enable-auto-optimization let bluefish determine optimization # --disable-splash-screen disables the splash screen use nls || myconf="${myconf} --disable-nls" econf ${myconf} || die "configure failed" emake || die "make failed" } src_install() { make install DESTDIR=${D} \ || die "make install failed" }