/[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.1.1.1 - (hide annotations) (download) (vendor branch)
Wed Nov 30 09:40:03 2005 UTC (14 years, 8 months ago) by chriswhite
Changes since 1.1: +16 -15 lines
*** empty log message ***

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

  ViewVC Help
Powered by ViewVC 1.1.20