diff options
Diffstat (limited to 'app-editors/bluefish/bluefish-0.7-r1.ebuild')
-rw-r--r-- | app-editors/bluefish/bluefish-0.7-r1.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/app-editors/bluefish/bluefish-0.7-r1.ebuild b/app-editors/bluefish/bluefish-0.7-r1.ebuild new file mode 100644 index 000000000000..d9929b179978 --- /dev/null +++ b/app-editors/bluefish/bluefish-0.7-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Grant Goodyear <g2boojum@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/app-editors/bluefish/bluefish-0.7-r1.ebuild,v 1.1 2002/03/12 13:39:26 seemant Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="Bluefish is 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/" + +DEPEND=">=x11-libs/gtk+-1.2.10-r4 + >=media-libs/imlib-1.9.10-r1 + perl? ( sys-devel/perl ) + nls? ( sys-devel/gettext )" + +src_compile() { + + local myconf + use perl && myconf="${myconf} --with-perl" + use nls || myconf="${myconf} --disable-nls" + + ./configure --prefix=/usr \ + --host=${CHOST} \ + --with-autocomplet \ + ${myconf} || die + + emake || die + +} + +src_install () { + + makefiles=`find . -name Makefile` + for f in $makefiles; do + mv $f $f.orig + sed -e 's#$(prefix)#$(DESTDIR)$(prefix)#' \ + -e 's#${prefix}#$(DESTDIR)${prefix}#' \ + -e 's#/usr/share/pixmaps#$(DESTDIR)$(prefix)/share/pixmaps#' \ + $f.orig > $f + done + + make DESTDIR=${D} install || die + dodoc ABOUT-NLS AUTHORS BUGS COPYING INSTALL NEWS README TODO + mv manual ${D}usr/share/doc/${PF} +} |