# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/app-editors/bluefish/bluefish-2002.11.17.ebuild,v 1.4 2002/12/09 09:30:15 seemant Exp $ S=${WORKDIR}/${PN}-gtk2-${PV} DESCRIPTION="Bluefish is a GTK HTML editor for the experienced web designer or programmer." SRC_URI="http://pkedu.fbt.eitn.wau.nl/~olivier/downloads/${PN}-gtk2-${PV}.tar.gz" HOMEPAGE="http://bluefish.openoffice.nl/" LICENSE="GPL-2" KEYWORDS="~x86 ~ppc ~sparc " SLOT="0" IUSE="nls perl" DEPEND=">=x11-libs/gtk+-2.0.5 >=media-libs/freetype-2.0.9 >=media-libs/gdk-pixbuf-0.18 perl? ( sys-devel/perl ) nls? ( sys-devel/gettext )" src_compile() { local myconf="--with-autocomplet" use perl && myconf="${myconf} --with-perl" use nls || myconf="${myconf} --disable-nls" econf ${myconf} emake || die } src_install() { einstall \ datadir=${D}/usr/share \ pkgdatadir=${D}/usr/share/bluefish }