/[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.5 - (hide annotations) (download)
Thu Jun 24 21:52:32 2004 UTC (16 years, 1 month ago) by agriffis
Branch: MAIN
Changes since 1.4: +2 -2 lines
update copyright line: Gentoo Technologies => Gentoo Foundation

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

  ViewVC Help
Powered by ViewVC 1.1.20