diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-02-09 18:58:35 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-02-09 18:58:35 +0000 |
commit | a2abae4a2f0d497344f9ee7643b65d98b81eb3bc (patch) | |
tree | 092fe0f72049481f3bc1525d29f730e1c071af6c /sys-apps | |
parent | force tr to C locale so upper->lower always works as expected (diff) | |
download | gentoo-2-a2abae4a2f0d497344f9ee7643b65d98b81eb3bc.tar.gz gentoo-2-a2abae4a2f0d497344f9ee7643b65d98b81eb3bc.tar.bz2 gentoo-2-a2abae4a2f0d497344f9ee7643b65d98b81eb3bc.zip |
Version bump.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/less/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/less/less-424.ebuild | 42 |
2 files changed, 48 insertions, 1 deletions
diff --git a/sys-apps/less/ChangeLog b/sys-apps/less/ChangeLog index 774132d71400..a3712f67cc08 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.95 2009/02/02 19:44:13 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/less/ChangeLog,v 1.96 2009/02/09 18:58:35 vapier Exp $ + +*less-424 (09 Feb 2009) + + 09 Feb 2009; Mike Frysinger <vapier@gentoo.org> +less-424.ebuild: + Version bump. 02 Feb 2009; Mike Frysinger <vapier@gentoo.org> files/lesspipe.sh: Add support for .lz/.xz and unify more places with ${DECOMPRESSOR}. diff --git a/sys-apps/less/less-424.ebuild b/sys-apps/less/less-424.ebuild new file mode 100644 index 000000000000..dde00e0d5361 --- /dev/null +++ b/sys-apps/less/less-424.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-424.ebuild,v 1.1 2009/02/09 18:58:35 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 +} |