summaryrefslogtreecommitdiff
blob: 77afacb228ca34a13a10d1c2629e0589bf1ed9f4 (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-i18n/jmcce/jmcce-1.4_rc2.ebuild,v 1.2 2003/06/29 22:12:03 aliz Exp $

MY_PV=${PV/_rc/RC}
S=${WORKDIR}/${PN}-${MY_PV}
DESCRIPTION="A Chinese Console supporting BIG5, GB and Japanese input."
HOMEPAGE="http://jmcce.slat.org"
SRC_URI="http://zope.slat.org/Project/Jmcce/DOWNLOAD/${PN}-${MY_PV}.tar.gz"

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

DEPEND=">=media-libs/svgalib-1.4.3
	>=sys-libs/ncurses-4.2"

MAKEOPTS="${MAKEOPTS} -j1"
	
src_compile() {
	cd ${S}
	
	./genconf.sh
	econf --sysconfdir=/etc/jmcce
	emake || die "make failed"
}

src_install() {
	dodir /etc/jmcce
	
	make DESTDIR=${D} install || die "install failed"
	
	dodir /usr/share/doc
	mv ${D}/usr/share/doc/jmcce-1.4RC2 ${D}/usr/share/doc/${PF}
	doman doc/jmcce.1
}