diff options
author | 2009-07-22 08:07:25 +0000 | |
---|---|---|
committer | 2009-07-22 08:07:25 +0000 | |
commit | 87fabb59ca0a3e6169ff0f6d8122d6174ad129f6 (patch) | |
tree | 8426d12bffeede7eb6256b5f7c797bfd1c37ed8f | |
parent | Bug #276858 - Bump dependency from PyQt4-4.4.2 to PyQt4-4.5. (diff) | |
download | gentoo-2-87fabb59ca0a3e6169ff0f6d8122d6174ad129f6.tar.gz gentoo-2-87fabb59ca0a3e6169ff0f6d8122d6174ad129f6.tar.bz2 gentoo-2-87fabb59ca0a3e6169ff0f6d8122d6174ad129f6.zip |
Version bump #274053 by Klaus Kusche.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
-rw-r--r-- | sys-apps/less/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/less/less-436.ebuild | 42 |
2 files changed, 48 insertions, 1 deletions
diff --git a/sys-apps/less/ChangeLog b/sys-apps/less/ChangeLog index 049fe947e359..eaa4bbdad215 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.104 2009/07/15 18:48:38 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/less/ChangeLog,v 1.105 2009/07/22 08:07:25 vapier Exp $ + +*less-436 (22 Jul 2009) + + 22 Jul 2009; Mike Frysinger <vapier@gentoo.org> +less-436.ebuild: + Version bump #274053 by Klaus Kusche. 15 Jul 2009; nixnut <nixnut@gentoo.org> less-429.ebuild: ppc stable #273794 diff --git a/sys-apps/less/less-436.ebuild b/sys-apps/less/less-436.ebuild new file mode 100644 index 000000000000..e38c5ab361d5 --- /dev/null +++ b/sys-apps/less/less-436.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-436.ebuild,v 1.1 2009/07/22 08:07:25 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 ~x86 ~sparc-fbsd ~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 +} |