From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-apps/less: less-438.ebuild ChangeLog |
Date: | Fri, 31 Dec 2010 20:53:30 |
Message-Id: | 20101231205311.6EB8020054@flycatcher.gentoo.org |
1 | vapier 10/12/31 20:53:11 |
2 | |
3 | Modified: ChangeLog |
4 | Added: less-438.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.2.0_alpha10/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.119 sys-apps/less/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/less/ChangeLog?rev=1.119&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/less/ChangeLog?rev=1.119&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/less/ChangeLog?r1=1.118&r2=1.119 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sys-apps/less/ChangeLog,v |
20 | retrieving revision 1.118 |
21 | retrieving revision 1.119 |
22 | diff -u -r1.118 -r1.119 |
23 | --- ChangeLog 24 Aug 2010 01:01:25 -0000 1.118 |
24 | +++ ChangeLog 31 Dec 2010 20:53:11 -0000 1.119 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for sys-apps/less |
27 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sys-apps/less/ChangeLog,v 1.118 2010/08/24 01:01:25 vapier Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/sys-apps/less/ChangeLog,v 1.119 2010/12/31 20:53:11 vapier Exp $ |
30 | + |
31 | +*less-438 (31 Dec 2010) |
32 | + |
33 | + 31 Dec 2010; Mike Frysinger <vapier@g.o> +less-438.ebuild: |
34 | + Version bump. |
35 | |
36 | 24 Aug 2010; Mike Frysinger <vapier@g.o> files/lesspipe.sh: |
37 | Add support for txz archives by Marcin BaczyĆski #334027. |
38 | |
39 | |
40 | |
41 | 1.1 sys-apps/less/less-438.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/less/less-438.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/less/less-438.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: less-438.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2010 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/sys-apps/less/less-438.ebuild,v 1.1 2010/12/31 20:53:11 vapier Exp $ |
51 | |
52 | inherit eutils |
53 | |
54 | DESCRIPTION="Excellent text file viewer" |
55 | HOMEPAGE="http://www.greenwoodsoftware.com/less/" |
56 | SRC_URI="http://www.greenwoodsoftware.com/less/${P}.tar.gz |
57 | http://www-zeuthen.desy.de/~friebel/unix/less/code2color" |
58 | |
59 | LICENSE="|| ( GPL-3 BSD-2 )" |
60 | SLOT="0" |
61 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" |
62 | IUSE="unicode" |
63 | |
64 | DEPEND=">=sys-libs/ncurses-5.2" |
65 | |
66 | src_unpack() { |
67 | unpack ${P}.tar.gz |
68 | cd "${S}" |
69 | cp "${DISTDIR}"/code2color "${S}"/ |
70 | epatch "${FILESDIR}"/code2color.patch |
71 | } |
72 | |
73 | yesno() { use $1 && echo yes || echo no ; } |
74 | src_compile() { |
75 | export ac_cv_lib_ncursesw_initscr=$(yesno unicode) |
76 | export ac_cv_lib_ncurses_initscr=$(yesno !unicode) |
77 | econf || die |
78 | emake || die |
79 | } |
80 | |
81 | src_install() { |
82 | emake install DESTDIR="${D}" || die |
83 | |
84 | dobin code2color || die "dobin" |
85 | newbin "${FILESDIR}"/lesspipe.sh lesspipe || die "newbin" |
86 | dosym lesspipe /usr/bin/lesspipe.sh |
87 | newenvd "${FILESDIR}"/less.envd 70less |
88 | |
89 | dodoc NEWS README* "${FILESDIR}"/README.Gentoo |
90 | } |
91 | |
92 | pkg_postinst() { |
93 | einfo "lesspipe offers colorization options. Run 'lesspipe -h' for info." |
94 | } |