/[gentoo-x86]/app-i18n/nkf/nkf-2.0.4.ebuild
Gentoo

Contents of /app-i18n/nkf/nkf-2.0.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (hide annotations) (download)
Wed Jun 30 02:01:32 2004 UTC (16 years, 1 month ago) by tgall
Branch: MAIN
Changes since 1.6: +2 -2 lines
stable on ppc64, bug #55297

1 agriffis 1.5 # Copyright 1999-2004 Gentoo Foundation
2 nakano 1.1 # Distributed under the terms of the GNU General Public License v2
3 tgall 1.7 # $Header: /var/cvsroot/gentoo-x86/app-i18n/nkf/nkf-2.0.4.ebuild,v 1.6 2004/06/28 01:57:16 vapier Exp $
4 nakano 1.1
5 vapier 1.6 inherit gcc
6 nakano 1.1 use perl && inherit perl-module
7    
8     MY_P="${PN}${PV//./}"
9     DESCRIPTION="Network Kanji code conversion Filter with UTF-8/16 support"
10 vapier 1.6 HOMEPAGE="http://sourceforge.jp/projects/nkf/"
11 nakano 1.1 SRC_URI="http://www01.tcp-ip.or.jp/~furukawa/nkf_utf8/${MY_P}.tar.gz"
12 vapier 1.6
13     LICENSE="as-is"
14     SLOT="0"
15 tgall 1.7 KEYWORDS="x86 ppc sparc alpha amd64 ppc64"
16 nakano 1.1 IUSE="perl cjk"
17 vapier 1.6
18     DEPEND="virtual/libc"
19    
20 nakano 1.1 S=${WORKDIR}/${MY_P}
21    
22     src_compile() {
23 vapier 1.6 emake CC="$(gcc-getCC)" CFLAGS="${CFLAGS}" nkf || die
24 agriffis 1.4 if use perl; then
25 nakano 1.1 cd ${S}/NKF.mod
26     perl-module_src_compile
27     perl-module_src_test
28     fi
29     }
30    
31 vapier 1.6 src_install() {
32     dobin nkf || die
33 nakano 1.1 doman nkf.1
34 agriffis 1.4 if use cjk; then
35 nakano 1.1 dodir /usr/share/man/ja/man1
36     insinto /usr/share/man/ja/man1
37     ./nkf -e nkf.1j > nkf.1
38     doins nkf.1
39     fi
40     dodoc INSTALL* nkf.doc
41 agriffis 1.4 if use perl; then
42 nakano 1.1 cd ${S}/NKF.mod
43     perl-module_src_install
44     fi
45     }

  ViewVC Help
Powered by ViewVC 1.1.20