blob: 74bb64f912c0ca73745c7423eb5234a191136d07 (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-terms/mlterm/mlterm-2.9.0.ebuild,v 1.1 2004/10/24 16:12:14 usata Exp $
IUSE="truetype gtk imlib bidi nls uim"
#IUSE="${IUSE} m17n-lib iiimf"
DESCRIPTION="A multi-lingual terminal emulator"
HOMEPAGE="http://mlterm.sourceforge.net/"
SRC_URI="mirror://sourceforge/mlterm/${P}.tar.gz"
SLOT="0"
KEYWORDS="~x86 ~amd64 ~ppc"
LICENSE="BSD"
DEPEND="gtk? ( >=x11-libs/gtk+-2 )
!gtk? ( imlib? ( >=media-libs/imlib-1.9.14 ) )
truetype? ( =media-libs/freetype-2* )
bidi? ( >=dev-libs/fribidi-0.10.4 )
nls? ( sys-devel/gettext )
uim? ( >=app-i18n/uim-0.3.4.2 )"
# m17n-lib? ( dev-libs/m17n-lib )
src_compile() {
local myconf imagelib
if use gtk ; then
imagelib="gdk-pixbuf"
elif use imlib ; then
imagelib="imlib"
fi
use gtk || myconf="${myconf} --with-tools=mlclient,mlcc"
# m17n-lib and iiimf aren't stable enough
#myconf="${myconf} $(use_enable m17n-lib m17nlib)"
#myconf="${myconf} $(use_enable iiimf)"
econf --enable-utmp \
$(use_enable truetype anti-alias) \
$(use_enable bidi fribidi) \
$(use_enable nls) \
$(use_enable uim) \
--with-imagelib="${imagelib}" \
${myconf} || die "econf failed"
emake || die "emake failed"
}
src_install () {
einstall || die
dodoc ChangeLog LICENCE README
docinto ja
dodoc doc/ja/*
docinto en
dodoc doc/en/*
}
|