summaryrefslogtreecommitdiff
blob: 3f12e39649b827010a5d3b59a82ac396fca192c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/bluefish/bluefish-0.9.ebuild,v 1.10 2003/10/02 18:30:47 mr_bones_ Exp $

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/"

LICENSE="GPL-2"
KEYWORDS="x86 ppc sparc"
SLOT="0"
IUSE=""

DEPEND=">=x11-libs/gtk+-2
	dev-libs/libpcre"

RDEPEND="${DEPEND}
	sys-devel/gettext"

src_compile() {
	local myconf

	econf ${myconf} || die
	emake || die
}

src_install() {
	cd ${S}
	sed -i -e "s:"/usr/share/pixmaps/b":"${D}/usr/share/pixmaps/b":g" Makefile
	cd data
	sed -i -e "s:"/usr/share":"${D}/usr/share":g" Makefile
	dodir /usr/bin
	dodir /usr/share/pixmaps
	dodir /usr/share/applications
	cd ${S}
	einstall datadir=${D}/usr/share \
		pkgdatadir=${D}/usr/share/bluefish
#		pixmapsdir=${D}/usr/share/pixmap \
}