blob: 4945fd460d759249c76654d5a85056a521a0a7a9 (
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-2004 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.7 2004/04/06 03:56:22 vapier Exp $
inherit gcc eutils
DESCRIPTION="A Kanji code converter"
HOMEPAGE="" #There doesn't seem to be a home page for this package!
SRC_URI="ftp://ftp.jp.freebsd.org/pub/FreeBSD/ports/distfiles/${PN}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
DEPEND="virtual/glibc"
S="${WORKDIR}/${PN}"
src_unpack() {
unpack ${A}
cd ${S}
if [ "`gcc-major-version`" -ge "3" -a "`gcc-minor-version`" -ge "3" ]
then
epatch ${FILESDIR}/${PN}-gcc3-gentoo.diff
fi
}
src_compile() {
emake || die
}
src_install() {
dobin kcc || die
dodoc README
insinto /usr/share/man/ja/man1
newins kcc.jman kcc.1 || die
}
|