From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-apps/less: ChangeLog less-418.ebuild |
Date: | Thu, 03 Jan 2008 18:26:12 |
Message-Id: | E1JAUlW-0006Up-Ao@stork.gentoo.org |
1 | vapier 08/01/03 18:26:02 |
2 | |
3 | Modified: ChangeLog |
4 | Added: less-418.ebuild |
5 | Log: |
6 | Version bump. |
7 | (Portage version: 2.1.4_rc14) |
8 | |
9 | Revision Changes Path |
10 | 1.84 sys-apps/less/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/less/ChangeLog?rev=1.84&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/less/ChangeLog?rev=1.84&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/less/ChangeLog?r1=1.83&r2=1.84 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/sys-apps/less/ChangeLog,v |
19 | retrieving revision 1.83 |
20 | retrieving revision 1.84 |
21 | diff -u -r1.83 -r1.84 |
22 | --- ChangeLog 30 Dec 2007 03:34:57 -0000 1.83 |
23 | +++ ChangeLog 3 Jan 2008 18:26:01 -0000 1.84 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for sys-apps/less |
26 | -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/sys-apps/less/ChangeLog,v 1.83 2007/12/30 03:34:57 rich0 Exp $ |
28 | +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 | +# $Header: /var/cvsroot/gentoo-x86/sys-apps/less/ChangeLog,v 1.84 2008/01/03 18:26:01 vapier Exp $ |
30 | + |
31 | +*less-418 (03 Jan 2008) |
32 | + |
33 | + 03 Jan 2008; Mike Frysinger <vapier@g.o> +less-418.ebuild: |
34 | + Version bump. |
35 | |
36 | 30 Dec 2007; Richard Freeman <rich0@g.o> less-416.ebuild: |
37 | amd64 stable |
38 | |
39 | |
40 | |
41 | 1.1 sys-apps/less/less-418.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/less/less-418.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/less/less-418.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: less-418.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2008 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/sys-apps/less/less-418.ebuild,v 1.1 2008/01/03 18:26:01 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-2 less )" |
60 | SLOT="0" |
61 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" |
62 | IUSE="unicode" |
63 | |
64 | DEPEND=">=sys-libs/ncurses-5.2" |
65 | PROVIDE="virtual/pager" |
66 | |
67 | src_unpack() { |
68 | unpack ${P}.tar.gz |
69 | cd "${S}" |
70 | cp "${DISTDIR}"/code2color "${S}"/ |
71 | epatch "${FILESDIR}"/code2color.patch |
72 | } |
73 | |
74 | yesno() { use $1 && echo yes || echo no ; } |
75 | src_compile() { |
76 | export ac_cv_lib_ncursesw_initscr=$(yesno unicode) |
77 | export ac_cv_lib_ncurses_initscr=$(yesno !unicode) |
78 | econf || die |
79 | emake || die |
80 | } |
81 | |
82 | src_install() { |
83 | emake install DESTDIR="${D}" || die |
84 | |
85 | dobin code2color || die "dobin" |
86 | newbin "${FILESDIR}"/lesspipe.sh lesspipe.sh || die "newbin" |
87 | newenvd "${FILESDIR}"/less.envd 70less |
88 | |
89 | dodoc NEWS README* "${FILESDIR}"/README.Gentoo |
90 | } |
91 | |
92 | |
93 | |
94 | -- |
95 | gentoo-commits@g.o mailing list |