blob: 8e3db8192f1040e3d96e5918d07e6d58267f9298 (
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
|
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Taras Glek <taras.glek@home.com>
# $Header: /var/cvsroot/gentoo-x86/app-editors/scite/scite-1.4.1.ebuild,v 1.1 2001/12/06 13:45:10 gbevin Exp $
S=${WORKDIR}/$PN/gtk
MY_PV=141
DESCRIPTION="A very powerful editor for programmers"
SRC_URI="http://www.scintilla.org/${PN}${MY_PV}.tgz"
HOMEPAGE="http://www.scintilla.org"
DEPEND=">=x11-libs/gtk+-1.2.10-r4
gnome? ( gnome-base/gnome-core )"
RDEPEND=">=x11-libs/gtk+-1.2.10-r4"
src_compile() {
make -C ../../scintilla/gtk || die
sed -e 's#usr/local#usr#g' \
-e 's#$(datadir)#${D}$(datadir)#g' \
makefile > Makefile.good || die
rm makefile
mv Makefile.good makefile
emake || die
}
src_install () {
dodir /usr
dodir /usr/bin
dodir /usr/share
use gnome && dodir /usr/share/gnome/apps/Applications
make prefix=${D}/usr install || die
mv ${D}/usr/bin/SciTE ${D}/usr/bin/scite
}
|