From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-apps/less: less-449.ebuild ChangeLog |
Date: | Wed, 27 Jun 2012 23:03:26 |
Message-Id: | 20120627230316.AC1132004B@flycatcher.gentoo.org |
1 | vapier 12/06/27 23:03:16 |
2 | |
3 | Modified: ChangeLog |
4 | Added: less-449.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.2.0_alpha112/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.144 sys-apps/less/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/less/ChangeLog?rev=1.144&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/less/ChangeLog?rev=1.144&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/less/ChangeLog?r1=1.143&r2=1.144 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sys-apps/less/ChangeLog,v |
20 | retrieving revision 1.143 |
21 | retrieving revision 1.144 |
22 | diff -u -r1.143 -r1.144 |
23 | --- ChangeLog 4 Jun 2012 19:08:14 -0000 1.143 |
24 | +++ ChangeLog 27 Jun 2012 23:03:16 -0000 1.144 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for sys-apps/less |
27 | # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sys-apps/less/ChangeLog,v 1.143 2012/06/04 19:08:14 grobian Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/sys-apps/less/ChangeLog,v 1.144 2012/06/27 23:03:16 vapier Exp $ |
30 | + |
31 | +*less-449 (27 Jun 2012) |
32 | + |
33 | + 27 Jun 2012; Mike Frysinger <vapier@g.o> +less-449.ebuild: |
34 | + Version bump. |
35 | |
36 | 04 Jun 2012; Fabian Groffen <grobian@g.o> less-445-r1.ebuild: |
37 | Fix for Prefix, add Prefix keywords, bug #388209 |
38 | |
39 | |
40 | |
41 | 1.1 sys-apps/less/less-449.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/less/less-449.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/less/less-449.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: less-449.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2012 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/sys-apps/less/less-449.ebuild,v 1.1 2012/06/27 23:03:16 vapier Exp $ |
51 | |
52 | EAPI="4" |
53 | |
54 | inherit eutils |
55 | |
56 | DESCRIPTION="Excellent text file viewer" |
57 | HOMEPAGE="http://www.greenwoodsoftware.com/less/" |
58 | SRC_URI="http://www.greenwoodsoftware.com/less/${P}.tar.gz |
59 | http://www-zeuthen.desy.de/~friebel/unix/less/code2color" |
60 | |
61 | LICENSE="|| ( GPL-3 BSD-2 )" |
62 | SLOT="0" |
63 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
64 | IUSE="pcre unicode" |
65 | |
66 | DEPEND=">=app-misc/editor-wrapper-3 |
67 | >=sys-libs/ncurses-5.2 |
68 | pcre? ( dev-libs/libpcre )" |
69 | RDEPEND="${DEPEND}" |
70 | |
71 | src_unpack() { |
72 | unpack ${P}.tar.gz |
73 | cp "${DISTDIR}"/code2color "${S}"/ |
74 | } |
75 | |
76 | src_prepare() { |
77 | epatch "${FILESDIR}"/code2color.patch |
78 | } |
79 | |
80 | src_configure() { |
81 | export ac_cv_lib_ncursesw_initscr=$(usex unicode) |
82 | export ac_cv_lib_ncurses_initscr=$(usex !unicode) |
83 | |
84 | local regex="posix" |
85 | use pcre && regex="pcre" |
86 | |
87 | econf \ |
88 | --with-regex=${regex} \ |
89 | --with-editor="${EPREFIX}"/usr/libexec/editor |
90 | } |
91 | |
92 | src_install() { |
93 | default |
94 | |
95 | dobin code2color |
96 | newbin "${FILESDIR}"/lesspipe.sh lesspipe |
97 | dosym lesspipe /usr/bin/lesspipe.sh |
98 | newenvd "${FILESDIR}"/less.envd 70less |
99 | |
100 | dodoc NEWS README* "${FILESDIR}"/README.Gentoo |
101 | } |
102 | |
103 | pkg_postinst() { |
104 | einfo "lesspipe offers colorization options. Run 'lesspipe -h' for info." |
105 | } |