summaryrefslogtreecommitdiff
blob: 95ca518d4ce41c5b71d0b8d6d531f4a37f85da8e (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v3
# $Header: /var/cvsroot/gentoo-x86/app-i18n/jfbterm/jfbterm-0.3.12.ebuild,v 1.2 2003/06/03 15:21:01 nakano Exp $

inherit flag-o-matic
replace-flags "-march=pentium3" "-mcpu=pentium3"

IUSE=""

DESCRIPTION="A Japanized framebuffer terminal with Multilingual Enhancement"
SRC_URI="http://downloads.sourceforge.jp/${PN}/1637/${P}.tar.gz"
HOMEPAGE="http://sourceforge.jp/projects/${PN}"

S=${WORKDIR}/${P}
SLOT="0"
LICENSE="as-is"
KEYWORDS="x86 ppc sparc"

DEPEND="sys-apps/sed
	sys-devel/autoconf
	sys-devel/automake
	sys-libs/ncurses"
RDEPEND="virtual/glibc"

src_compile() {
	econf
	# jfbterm peculiarly needs to be compiled twice.
	emake || die "make failed"
	emake || die "make failed"
	sed -i 's/a18/8x16/' jfbterm.conf.sample
	sed -i '/^encoding/s/,,/,/' jfbterm.conf.sample
}

src_install () {
	dodir /etc
	einstall

	dodir /usr/share/terminfo
	tic terminfo.jfbterm -o${D}/usr/share/terminfo || die

	mv ${D}/etc/jfbterm.conf{.sample,}

	dodoc AUTHORS ChangeLog INSTALL NEWS README jfbterm.conf.sample
	dodoc ${FILESDIR}/jfbterm.conf.*
}