summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Redaelli <drizzt@gentoo.org>2009-02-21 10:22:46 +0000
committerTimothy Redaelli <drizzt@gentoo.org>2009-02-21 10:22:46 +0000
commit050ca7762dd44763b2d0d9d3e9a279069408a58d (patch)
tree2119c77acc38527f4fa16c79e9034e9aed43da02 /www-client/lynx
parentAdd option to disable persistent-cd. Make read-only root not fatal in udev-po... (diff)
downloadgentoo-2-050ca7762dd44763b2d0d9d3e9a279069408a58d.tar.gz
gentoo-2-050ca7762dd44763b2d0d9d3e9a279069408a58d.tar.bz2
gentoo-2-050ca7762dd44763b2d0d9d3e9a279069408a58d.zip
Migrate to EAPI=2
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'www-client/lynx')
-rw-r--r--www-client/lynx/ChangeLog7
-rw-r--r--www-client/lynx/lynx-2.8.6-r3.ebuild67
2 files changed, 73 insertions, 1 deletions
diff --git a/www-client/lynx/ChangeLog b/www-client/lynx/ChangeLog
index d59bd1d1dff3..e993b2127a14 100644
--- a/www-client/lynx/ChangeLog
+++ b/www-client/lynx/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-client/lynx
# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/lynx/ChangeLog,v 1.71 2009/02/02 16:50:24 drizzt Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/lynx/ChangeLog,v 1.72 2009/02/21 10:22:46 drizzt Exp $
+
+*lynx-2.8.6-r3 (21 Feb 2009)
+
+ 21 Feb 2009; Timothy Redaelli <drizzt@gentoo.org> +lynx-2.8.6-r3.ebuild:
+ Migrate to EAPI=2
02 Feb 2009; <drizzt@gentoo.org> lynx-2.8.6-r2.ebuild:
Remove -j1 to emake wrt #236003
diff --git a/www-client/lynx/lynx-2.8.6-r3.ebuild b/www-client/lynx/lynx-2.8.6-r3.ebuild
new file mode 100644
index 000000000000..3552f440576f
--- /dev/null
+++ b/www-client/lynx/lynx-2.8.6-r3.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/lynx/lynx-2.8.6-r3.ebuild,v 1.1 2009/02/21 10:22:46 drizzt Exp $
+
+EAPI=2
+
+inherit eutils
+
+MY_P=${PN}${PV}
+S=${WORKDIR}/${MY_P//./-}
+
+DESCRIPTION="An excellent console-based web browser with ssl support"
+HOMEPAGE="http://lynx.browser.org/"
+SRC_URI="ftp://lynx.isc.org/${MY_P}/${MY_P}rel.4.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
+IUSE="bzip2 cjk ipv6 linguas_ja nls ssl unicode"
+
+RDEPEND="sys-libs/ncurses[unicode?]
+ sys-libs/zlib
+ nls? ( virtual/libintl )
+ ssl? ( >=dev-libs/openssl-0.9.6 )
+ bzip2? ( app-arch/bzip2 )"
+
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+src_compile() {
+ local myconf
+ use unicode && myconf="--with-screen=ncursesw"
+
+ econf \
+ --enable-cgi-links \
+ --enable-persistent-cookies \
+ --enable-prettysrc \
+ --enable-nsl-fork \
+ --enable-file-upload \
+ --enable-read-eta \
+ --enable-color-style \
+ --enable-scrollbar \
+ --enable-included-msgs \
+ --with-zlib \
+ $(use_enable nls) \
+ $(use_enable ipv6) \
+ $(use_enable cjk) \
+ $(use_enable linguas_ja japanese-utf8) \
+ $(use_with ssl) \
+ $(use_with bzip2 bzlib) \
+ ${myconf} || die
+
+ emake || die
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die
+
+ dosed "s|^HELPFILE.*$|HELPFILE:file://localhost/usr/share/doc/${PF}/lynx_help/lynx_help_main.html|" \
+ /etc/lynx/lynx.cfg
+ dodoc CHANGES COPYHEADER PROBLEMS README
+ docinto docs
+ dodoc docs/*
+ docinto lynx_help
+ dodoc lynx_help/*.txt
+ dohtml -r lynx_help/*
+}