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

Contents of /app-i18n/nkf/nkf-2.0.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Mon Apr 11 22:43:30 2005 UTC (15 years, 4 months ago) by matsuu
Branch: MAIN
Version bumped.
(Portage version: 2.0.51.19)

1 matsuu 1.1 # Copyright 1999-2005 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.4.ebuild,v 1.12 2005/03/21 07:00:59 mr_bones_ Exp $
4    
5     inherit gcc perl-module
6    
7     MY_P="${PN}${PV//./}"
8     DESCRIPTION="Network Kanji code conversion Filter with UTF-8/16 support"
9     HOMEPAGE="http://sourceforge.jp/projects/nkf/"
10     SRC_URI="http://www01.tcp-ip.or.jp/~furukawa/nkf_utf8/${MY_P}.tar.gz"
11    
12     LICENSE="as-is"
13     SLOT="0"
14     KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64 ~ppc64 ~ia64"
15     IUSE="perl cjk"
16    
17     DEPEND="virtual/libc"
18    
19     S=${WORKDIR}/${MY_P}
20    
21     src_compile() {
22     emake CC="$(gcc-getCC)" CFLAGS="${CFLAGS}" nkf || die
23     if use perl; then
24     cd ${S}/NKF.mod
25     perl-module_src_compile
26     perl-module_src_test
27     fi
28     }
29    
30     src_install() {
31     dobin nkf || die
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