/[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.13 - (hide annotations) (download)
Sun May 15 18:48:11 2005 UTC (15 years, 3 months ago) by usata
Branch: MAIN
Changes since 1.12: +3 -3 lines
use toolchain-funcs.eclass instead of gcc.eclass
(Portage version: 2.0.51.19)

1 eradicator 1.11 # Copyright 1999-2005 Gentoo Foundation
2 nakano 1.1 # Distributed under the terms of the GNU General Public License v2
3 usata 1.13 # $Header: /var/cvsroot/gentoo-x86/app-i18n/nkf/nkf-2.0.4.ebuild,v 1.12 2005/03/21 07:00:59 mr_bones_ Exp $
4 nakano 1.1
5 usata 1.13 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 vapier 1.6 HOMEPAGE="http://sourceforge.jp/projects/nkf/"
10 nakano 1.1 SRC_URI="http://www01.tcp-ip.or.jp/~furukawa/nkf_utf8/${MY_P}.tar.gz"
11 vapier 1.6
12     LICENSE="as-is"
13     SLOT="0"
14 hattya 1.10 KEYWORDS="x86 ppc sparc alpha amd64 ppc64 ia64"
15 nakano 1.1 IUSE="perl cjk"
16 vapier 1.6
17     DEPEND="virtual/libc"
18    
19 nakano 1.1 S=${WORKDIR}/${MY_P}
20    
21     src_compile() {
22 usata 1.13 emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" nkf || die
23 agriffis 1.4 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 vapier 1.6 src_install() {
31     dobin nkf || die
32 nakano 1.1 doman nkf.1
33 agriffis 1.4 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 agriffis 1.4 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