/[gentoo-x86]/app-i18n/jless-iso254/jless-iso254-358.ebuild
Gentoo

Contents of /app-i18n/jless-iso254/jless-iso254-358.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.17 - (show annotations) (download)
Sat Jun 17 14:12:25 2006 UTC (13 years, 7 months ago) by usata
Branch: MAIN
CVS Tags: HEAD
Changes since 1.16: +1 -1 lines
FILE REMOVED
Renamed to jless

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/jless-iso254/jless-iso254-358.ebuild,v 1.16 2005/11/29 04:29:10 jer Exp $
4
5 inherit eutils
6
7 LESS_P="less-${PV}"
8
9 DESCRIPTION="Jam less is an enhancement of less which supports multibyte character"
10 HOMEPAGE="http://www.flash.net/~marknu/less/ http://www.io.com/~kazushi/less/"
11 SRC_URI="mirror://gnu/less/${LESS_P}.tar.gz
12 http://www.io.com/~kazushi/less/${LESS_P}-iso254.patch.gz"
13
14 LICENSE="BSD"
15 SLOT="0"
16 KEYWORDS="alpha ~hppa ppc ppc64 sparc x86"
17 IUSE=""
18
19 DEPEND="virtual/libc
20 >=sys-libs/ncurses-5.2"
21
22 S=${WORKDIR}/${LESS_P}
23
24 src_unpack() {
25 unpack ${LESS_P}.tar.gz
26 cd ${S}
27 epatch ${DISTDIR}/${LESS_P}-iso254.patch.gz
28 }
29
30 src_compile() {
31 econf \
32 --without-cs-regex \
33 --with-regex=auto \
34 --enable-msb \
35 --enable-jisx0213 \
36 --with-editor=${EDITOR} \
37 || die
38
39 emake || die
40 }
41
42 src_install() {
43 einstall binprefix=j manprefix=j || die
44
45 newbin ${FILESDIR}/lesspipe.sh-r1 jlesspipe.sh
46 if [ ! -f ${ROOT}/usr/bin/lesspipe.sh ] ; then
47 dosym /usr/bin/jlesspipe.sh /usr/bin/lesspipe.sh
48 fi
49
50 insinto /etc/env.d
51 doins ${FILESDIR}/70jless
52
53 dodoc NEWS README*
54 }
55
56 pkg_postinst() {
57 # for backward compatibility
58 if [ ! -f ${ROOT}/usr/bin/lesspipe.sh ] ; then
59 ln -s /usr/bin/jlesspipe.sh ${ROOT}/usr/bin/lesspipe.sh
60 fi
61 }

  ViewVC Help
Powered by ViewVC 1.1.20