summaryrefslogtreecommitdiff
blob: 730dfe640309da0607a41d6751974661d1357cf7 (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/kcc/kcc-1.0.ebuild,v 1.5 2003/07/01 22:12:04 aliz Exp $

KEYWORDS="x86"
S="${WORKDIR}/${PN}"
DESCRIPTION="A Kanji code converter"
SRC_URI="ftp://ftp.jp.freebsd.org/pub/FreeBSD/ports/distfiles/${PN}.tar.gz"
HOMEPAGE=""  	#There doesn't seem to be a home page for this package!
LICENSE="GPL-2"

DEPEND="virtual/glibc"

SLOT=0

src_unpack() {

	# unpack the archive
	unpack ${A}

	cd ${S}
	patch -p0 < ${FILESDIR}/${P}/gentoo.diff || die
}

src_compile() {
	make
}

src_install () {

	# install libs, executables, dictionaries
	make DESTDIR=${D} install     || die "installation failed"

	# install docs
	dodoc README
}