summaryrefslogtreecommitdiff
blob: a5df7e50af4ab4884430019c7e38e3e2704cb587 (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/beaver/beaver-0.2.3.ebuild,v 1.8 2003/10/01 11:39:33 aliz Exp $

P=beaver-0.2.3
S=${WORKDIR}/${P}

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

DESCRIPTION="An Early AdVanced EditoR"

SRC_URI="http://eturquin.free.fr/beaver/dloads/${P}.tar.gz"

HOMEPAGE="http://eturquin.free.fr/beaver/index.htm"

DEPEND=">=x11-libs/gtk+-1.2.10-r8"

src_unpack() {
	unpack ${P}.tar.gz

	cd ${S}/src

	sed -i -e "s:DESTDIR = /usr/local:DESTDIR = /usr:" \
	-e "s:OPTI    = -O3 -funroll-loops -fomit-frame-pointer #-mpentium:OPTI    = ${CFLAGS} -funroll-loops -fomit-frame-pointer:" Makefile
}

src_compile() {
	cd ${S}/src
	emake || die
}

src_install() {
	cd src
	make DESTDIR=${D}/usr \
	 MANDIR=/share/man \
	install || die
}