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-409.ebuild |
Date: | Fri, 12 Oct 2007 21:26:39 |
Message-Id: | E1IgRs7-0001sE-L1@stork.gentoo.org |
1 | vapier 07/10/12 21:16:39 |
2 | |
3 | Modified: ChangeLog |
4 | Added: less-409.ebuild |
5 | Log: |
6 | Version bump. |
7 | (Portage version: 2.1.3.12) |
8 | |
9 | Revision Changes Path |
10 | 1.74 sys-apps/less/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/less/ChangeLog?rev=1.74&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/less/ChangeLog?rev=1.74&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/less/ChangeLog?r1=1.73&r2=1.74 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/sys-apps/less/ChangeLog,v |
19 | retrieving revision 1.73 |
20 | retrieving revision 1.74 |
21 | diff -u -r1.73 -r1.74 |
22 | --- ChangeLog 6 Oct 2007 14:30:58 -0000 1.73 |
23 | +++ ChangeLog 12 Oct 2007 21:16:39 -0000 1.74 |
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.73 2007/10/06 14:30:58 vapier Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/sys-apps/less/ChangeLog,v 1.74 2007/10/12 21:16:39 vapier Exp $ |
29 | + |
30 | +*less-409 (12 Oct 2007) |
31 | + |
32 | + 12 Oct 2007; Mike Frysinger <vapier@g.o> +less-409.ebuild: |
33 | + Version bump. |
34 | |
35 | *less-408 (06 Oct 2007) |
36 | |
37 | |
38 | |
39 | |
40 | 1.1 sys-apps/less/less-409.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/less/less-409.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/less/less-409.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: less-409.ebuild |
46 | =================================================================== |
47 | # Copyright 1999-2007 Gentoo Foundation |
48 | # Distributed under the terms of the GNU General Public License v2 |
49 | # $Header: /var/cvsroot/gentoo-x86/sys-apps/less/less-409.ebuild,v 1.1 2007/10/12 21:16:39 vapier Exp $ |
50 | |
51 | inherit eutils |
52 | |
53 | DESCRIPTION="Excellent text file viewer" |
54 | HOMEPAGE="http://www.greenwoodsoftware.com/less/" |
55 | SRC_URI="http://www.greenwoodsoftware.com/less/${P}.tar.gz |
56 | http://www-zeuthen.desy.de/~friebel/unix/less/code2color" |
57 | |
58 | LICENSE="|| ( GPL-2 less )" |
59 | SLOT="0" |
60 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" |
61 | IUSE="unicode" |
62 | |
63 | DEPEND=">=sys-libs/ncurses-5.2" |
64 | PROVIDE="virtual/pager" |
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.sh || die "newbin" |
86 | newenvd "${FILESDIR}"/less.envd 70less |
87 | |
88 | dodoc NEWS README* "${FILESDIR}"/README.Gentoo |
89 | } |
90 | |
91 | |
92 | |
93 | -- |
94 | gentoo-commits@g.o mailing list |