blob: 801a0ce3772f1a0ece6a302d54d8dbb51b2d258f (
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
40
41
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/efte/efte-0.96.ebuild,v 1.2 2008/05/28 13:55:33 hanno Exp $
DESCRIPTION="A fast text editor supporting folding, syntax highlighting, etc."
HOMEPAGE="http://efte.sourceforge.net"
SRC_URI="http://downloads.sourceforge.net/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="gpm X"
RDEPEND="sys-libs/ncurses
gpm? ( sys-libs/gpm )
X? (
x11-libs/libXpm
x11-libs/libXdmcp
x11-libs/libXau
)"
DEPEND="${RDEPEND}
dev-util/cmake"
src_compile() {
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_GPM=$(use gpm && echo ON || echo OFF) \
-DBUILD_X=$(use X && echo ON || echo OFF) \
./
emake || die "emake failed"
# Compile a default configuration file.
src/cefte config/mymain.fte system.fterc
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
insinto /usr/share/efte
doins system.fterc
}
|