/[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.8 - (show annotations) (download)
Mon Jun 28 01:57:16 2004 UTC (16 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.7: +12 -10 lines
touch the libc

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-i18n/nkf/nkf-2.0.2-r1.ebuild,v 1.7 2004/06/24 21:52:32 agriffis Exp $
4
5 inherit gcc
6 use perl && inherit perl-module
7
8 MY_P="${PN}${PV//./}"
9 DESCRIPTION="Network Kanji code conversion Filter with UTF-8/16 support"
10 HOMEPAGE="http://sourceforge.jp/projects/nkf/"
11 SRC_URI="http://www01.tcp-ip.or.jp/~furukawa/nkf_utf8/${MY_P}.tar.gz"
12
13 LICENSE="public-domain"
14 SLOT="0"
15 KEYWORDS="x86 ppc sparc alpha"
16 IUSE="perl cjk"
17
18 DEPEND="virtual/libc"
19
20 S=${WORKDIR}/${MY_P}
21
22 src_compile() {
23 emake CC="$(gcc-getCC)" CFLAGS="${CFLAGS}" nkf || die
24 if use perl; then
25 cd ${S}/NKF.mod
26 perl-module_src_compile
27 perl-module_src_test
28 fi
29 }
30
31 src_install() {
32 dobin nkf || die
33 doman nkf.1
34 if use cjk; then
35 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 if use perl; then
42 cd ${S}/NKF.mod
43 perl-module_src_install
44 fi
45 }

  ViewVC Help
Powered by ViewVC 1.1.20