/[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.15 - (show annotations) (download)
Mon Sep 17 14:36:57 2007 UTC (12 years, 5 months ago) by hattya
Branch: MAIN
CVS Tags: HEAD
Changes since 1.14: +1 -1 lines
FILE REMOVED
cleaned out old ebuilds.
(Portage version: 2.1.3.9)

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.14 2005/11/28 12:08:04 mcummings Exp $
4
5 inherit toolchain-funcs perl-app
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="$(tc-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