summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-04-11 23:21:22 +0000
committerMike Frysinger <vapier@gentoo.org>2009-04-11 23:21:22 +0000
commit82714c0898152b4bc1b5a6d19517c97f4113372b (patch)
tree681c3fc0b651bf105f2800e4380b183cc37503a3 /sys-apps
parentAdd KDE 4.2.2 (diff)
downloadgentoo-2-82714c0898152b4bc1b5a6d19517c97f4113372b.tar.gz
gentoo-2-82714c0898152b4bc1b5a6d19517c97f4113372b.tar.bz2
gentoo-2-82714c0898152b4bc1b5a6d19517c97f4113372b.zip
Version bump.
(Portage version: 2.2_rc28/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/less/ChangeLog7
-rw-r--r--sys-apps/less/less-429.ebuild42
2 files changed, 48 insertions, 1 deletions
diff --git a/sys-apps/less/ChangeLog b/sys-apps/less/ChangeLog
index a3712f67cc08..be86c3a5de04 100644
--- a/sys-apps/less/ChangeLog
+++ b/sys-apps/less/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/less
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/less/ChangeLog,v 1.96 2009/02/09 18:58:35 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/less/ChangeLog,v 1.97 2009/04/11 23:21:22 vapier Exp $
+
+*less-429 (11 Apr 2009)
+
+ 11 Apr 2009; Mike Frysinger <vapier@gentoo.org> +less-429.ebuild:
+ Version bump.
*less-424 (09 Feb 2009)
diff --git a/sys-apps/less/less-429.ebuild b/sys-apps/less/less-429.ebuild
new file mode 100644
index 000000000000..a223a6f6f0eb
--- /dev/null
+++ b/sys-apps/less/less-429.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/less/less-429.ebuild,v 1.1 2009/04/11 23:21:22 vapier Exp $
+
+inherit eutils
+
+DESCRIPTION="Excellent text file viewer"
+HOMEPAGE="http://www.greenwoodsoftware.com/less/"
+SRC_URI="http://www.greenwoodsoftware.com/less/${P}.tar.gz
+ http://www-zeuthen.desy.de/~friebel/unix/less/code2color"
+
+LICENSE="|| ( GPL-3 less )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
+IUSE="unicode"
+
+DEPEND=">=sys-libs/ncurses-5.2"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ cd "${S}"
+ cp "${DISTDIR}"/code2color "${S}"/
+ epatch "${FILESDIR}"/code2color.patch
+}
+
+yesno() { use $1 && echo yes || echo no ; }
+src_compile() {
+ export ac_cv_lib_ncursesw_initscr=$(yesno unicode)
+ export ac_cv_lib_ncurses_initscr=$(yesno !unicode)
+ econf || die
+ emake || die
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die
+
+ dobin code2color || die "dobin"
+ newbin "${FILESDIR}"/lesspipe.sh lesspipe.sh || die "newbin"
+ newenvd "${FILESDIR}"/less.envd 70less
+
+ dodoc NEWS README* "${FILESDIR}"/README.Gentoo
+}