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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.3 Revision 1.4
1# Copyright 1999-2004 Gentoo Technologies, Inc. 1# Copyright 1999-2004 Gentoo Technologies, Inc.
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/app-i18n/nkf/Attic/nkf-2.0.4.ebuild,v 1.3 2004/03/05 17:28:58 nakano Exp $ 3# $Header: /var/cvsroot/gentoo-x86/app-i18n/nkf/Attic/nkf-2.0.4.ebuild,v 1.4 2004/06/02 02:02:33 agriffis Exp $
4 4
5use perl && inherit perl-module 5use perl && inherit perl-module
6 6
7MY_P="${PN}${PV//./}" 7MY_P="${PN}${PV//./}"
8DESCRIPTION="Network Kanji code conversion Filter with UTF-8/16 support" 8DESCRIPTION="Network Kanji code conversion Filter with UTF-8/16 support"
16SLOT="0" 16SLOT="0"
17S=${WORKDIR}/${MY_P} 17S=${WORKDIR}/${MY_P}
18 18
19src_compile() { 19src_compile() {
20 emake CC=gcc CFLAGS="${CFLAGS}" nkf || die 20 emake CC=gcc CFLAGS="${CFLAGS}" nkf || die
21 if [ `use perl` ]; then 21 if use perl; then
22 cd ${S}/NKF.mod 22 cd ${S}/NKF.mod
23 perl-module_src_compile 23 perl-module_src_compile
24 perl-module_src_test 24 perl-module_src_test
25 fi 25 fi
26} 26}
27 27
28src_install () { 28src_install () {
29 into /usr 29 into /usr
30 dobin nkf 30 dobin nkf
31 doman nkf.1 31 doman nkf.1
32 if [ `use cjk` ]; then 32 if use cjk; then
33 dodir /usr/share/man/ja/man1 33 dodir /usr/share/man/ja/man1
34 insinto /usr/share/man/ja/man1 34 insinto /usr/share/man/ja/man1
35 ./nkf -e nkf.1j > nkf.1 35 ./nkf -e nkf.1j > nkf.1
36 doins nkf.1 36 doins nkf.1
37 fi 37 fi
38 dodoc INSTALL* nkf.doc 38 dodoc INSTALL* nkf.doc
39 if [ `use perl` ]; then 39 if use perl; then
40 cd ${S}/NKF.mod 40 cd ${S}/NKF.mod
41 perl-module_src_install 41 perl-module_src_install
42 fi 42 fi
43} 43}

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20