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

Contents of /app-i18n/nkf/nkf-2.0.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Tue Jul 1 19:13:45 2003 UTC (17 years, 1 month ago) by nakano
Branch: MAIN
Modified character code of man/ja/man1/nkf.1

1 nakano 1.1 # Copyright 2003 Gentoo Technologies, Inc.
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /home/cvsroot/gentoo-x86/app-i18n/nkf/nkf-2.0.2.ebuild,v 1.3 2003/05/18 01:43:18 yakina Exp $
4    
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     RDEPEND="$DEPEND"
14     KEYWORDS="~x86 ~ppc ~sparc ~alpha"
15     IUSE="perl cjk"
16     LICENSE="public-domain"
17     SLOT="0"
18     S=${WORKDIR}/${MY_P}
19    
20     src_compile() {
21     emake CC=gcc CFLAGS="${CFLAGS}" nkf || die
22     if [ `use perl` ]; then
23     cd ${S}/NKF.mod
24     perl-module_src_compile
25     perl-module_src_test
26     fi
27     }
28    
29     src_install () {
30     into /usr
31     dobin nkf
32     doman nkf.1
33     if [ `use cjk` ]; then
34     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     if [ `use perl` ]; then
41     cd ${S}/NKF.mod
42     perl-module_src_install
43     fi
44     }

  ViewVC Help
Powered by ViewVC 1.1.20