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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (hide annotations) (download)
Sun Jan 4 16:56:11 2004 UTC (16 years, 7 months ago) by nakano
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
Version bump. And clean up old versions.

1 vapier 1.5 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 nakano 1.2 # Distributed under the terms of the GNU General Public License v2
3 nakano 1.8 # $Header: /home/cvsroot/gentoo-x86/app-i18n/nkf/nkf-1.92.ebuild,v 1.7 2003/11/14 23:11:54 seemant Exp $
4 stubear 1.1
5     use perl && inherit perl-module
6    
7     IUSE="perl"
8     DESCRIPTION="Network Kanji code conversion Filter"
9     SRC_URI="ftp://ftp.ie.u-ryukyu.ac.jp/pub/software/kono/${PN}${PV/./}.shar"
10     HOMEPAGE="http://bw-www.ie.u-ryukyu.ac.jp/~kono/software.html"
11 seemant 1.7 DEPEND=">=app-arch/sharutils-4.2.1-r5"
12 usata 1.6 KEYWORDS="x86 ppc sparc alpha"
13 stubear 1.1 LICENSE="public-domain"
14     SLOT="0"
15     S=${WORKDIR}/${P}
16    
17     src_unpack() {
18     mkdir -p ${S}
19     cd ${S}
20     mkdir NKF
21     unshar -c ${DISTDIR}/${A}
22     patch -s -p1 < ${FILESDIR}/${P}-msg00025.patch || die
23     }
24    
25     src_compile() {
26     make CC=gcc CFLAGS="${CFLAGS}" PERL=perl nkf test || die
27     use perl && (
28     cd ${S}/NKF
29     perl-module_src_compile
30     perl-module_src_test
31     )
32     }
33    
34     src_install() {
35     exeinto /usr/bin
36     doexe nkf
37     doman nkf.1
38     dodoc nkf.doc
39     use perl && (
40     cd ${S}/NKF
41     perl-module_src_install
42     )
43     }

  ViewVC Help
Powered by ViewVC 1.1.20