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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.20