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
commitd0cb1eed29d4e60794be3396100859961bef97b3 (patch)
tree2aa45f4334c9da8c850f72b13b382c399adbad60 /sys-apps/less
parentdocument possible values of LESSCOLOR (diff)
downloadhistorical-d0cb1eed29d4e60794be3396100859961bef97b3.tar.gz
historical-d0cb1eed29d4e60794be3396100859961bef97b3.tar.bz2
historical-d0cb1eed29d4e60794be3396100859961bef97b3.zip
Version bump.
Package-Manager: portage-2.2_rc28/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/less')
-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
+}