blob: f750bb0bce5b1ce52c5b783ce5d01470af88bf6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/jless/jless-382.262.ebuild,v 1.1 2008/11/02 16:26:01 matsuu Exp $
inherit autotools eutils
LESS_P="less-${PV%%.*}"
DESCRIPTION="Jam less is an enhancement of less which supports multibyte character"
HOMEPAGE="http://www25.big.jp/~jam/less/"
JAM_URI="http://www25.big.jp/~jam/less"
SRC_URI="mirror://gnu/less/${LESS_P}.tar.gz
${JAM_URI}/${LESS_P}-iso258.patch.gz
${JAM_URI}/${LESS_P}-iso258-259.patch.gz
${JAM_URI}/${LESS_P}-iso259-260.patch.gz
${JAM_URI}/${LESS_P}-iso260-261.patch.gz
${JAM_URI}/${LESS_P}-iso261-262.patch.gz"
LICENSE="|| ( GPL-2 less )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
DEPEND=">=sys-libs/ncurses-5.2"
S="${WORKDIR}/${LESS_P}"
src_unpack() {
unpack ${LESS_P}.tar.gz
cd "${S}"
epatch "${DISTDIR}/${LESS_P}-iso258.patch.gz"
epatch "${DISTDIR}/${LESS_P}-iso258-259.patch.gz"
epatch "${DISTDIR}/${LESS_P}-iso259-260.patch.gz"
epatch "${DISTDIR}/${LESS_P}-iso260-261.patch.gz"
epatch "${DISTDIR}/${LESS_P}-iso261-262.patch.gz"
epatch "${FILESDIR}/${P}-gentoo.patch"
eautoreconf
}
src_compile() {
econf --without-cs-regex --with-editor="${EDITOR}" || die
emake || die
}
src_install() {
einstall binprefix=j manprefix=j || die
newbin "${FILESDIR}/lesspipe.sh-r1" jlesspipe.sh || die
doenvd "${FILESDIR}/70jless" || die
dodoc NEWS README*
}
|