summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2013-04-10 09:46:06 +0000
committerSergey Popov <pinkbyte@gentoo.org>2013-04-10 09:46:06 +0000
commit3dc0ba9b04215e2dcd9d5ef36d69acb365db9c28 (patch)
tree50e76b6c4f4dee7d0f292972ed87f5f1677e5681 /www-client/netrik
parentEAPI bump and libpng slot dependency (diff)
downloadgentoo-2-3dc0ba9b04215e2dcd9d5ef36d69acb365db9c28.tar.gz
gentoo-2-3dc0ba9b04215e2dcd9d5ef36d69acb365db9c28.tar.bz2
gentoo-2-3dc0ba9b04215e2dcd9d5ef36d69acb365db9c28.zip
Revision bump: EAPI 5, correct dependency on sys-libs/ncurses, add patch to properly handle tinfo, wrt bug #459660
(Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
Diffstat (limited to 'www-client/netrik')
-rw-r--r--www-client/netrik/ChangeLog11
-rw-r--r--www-client/netrik/files/netrik-1.16.1-ncurses-tinfo.patch13
-rw-r--r--www-client/netrik/netrik-1.16.1-r1.ebuild34
3 files changed, 56 insertions, 2 deletions
diff --git a/www-client/netrik/ChangeLog b/www-client/netrik/ChangeLog
index 6edf0274d6a3..07f41baf0c3c 100644
--- a/www-client/netrik/ChangeLog
+++ b/www-client/netrik/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for www-client/netrik
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/netrik/ChangeLog,v 1.14 2012/09/26 17:34:39 kensington Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/netrik/ChangeLog,v 1.15 2013/04/10 09:46:06 pinkbyte Exp $
+
+*netrik-1.16.1-r1 (10 Apr 2013)
+
+ 10 Apr 2013; Sergey Popov <pinkbyte@gentoo.org> +netrik-1.16.1-r1.ebuild,
+ +files/netrik-1.16.1-ncurses-tinfo.patch:
+ Revision bump: EAPI 5, correct dependency on sys-libs/ncurses, add patch to
+ properly handle tinfo, wrt bug #459660
26 Sep 2012; Michael Palimaka <kensington@gentoo.org> -netrik-1.15.6.ebuild:
Remove old.
diff --git a/www-client/netrik/files/netrik-1.16.1-ncurses-tinfo.patch b/www-client/netrik/files/netrik-1.16.1-ncurses-tinfo.patch
new file mode 100644
index 000000000000..193b0af5cd0b
--- /dev/null
+++ b/www-client/netrik/files/netrik-1.16.1-ncurses-tinfo.patch
@@ -0,0 +1,13 @@
+--- configure.ac.orig 2013-04-10 13:39:02.514339066 +0400
++++ configure.ac 2013-04-10 13:39:28.607341140 +0400
+@@ -18,8 +18,9 @@
+ AC_HEADER_STDC
+
+ dnl check for ncurses
++AC_CHECK_LIB(tinfo, tparm)
+ AC_CHECK_LIB(ncursesw,
+- tparm,
++ printw,
+ [NCURSES="yes"],
+ AC_MSG_ERROR([ncursesw is absolutely required!]))
+
diff --git a/www-client/netrik/netrik-1.16.1-r1.ebuild b/www-client/netrik/netrik-1.16.1-r1.ebuild
new file mode 100644
index 000000000000..47ecf6201d3b
--- /dev/null
+++ b/www-client/netrik/netrik-1.16.1-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/netrik/netrik-1.16.1-r1.ebuild,v 1.1 2013/04/10 09:46:06 pinkbyte Exp $
+
+EAPI=5
+
+inherit autotools eutils
+
+DESCRIPTION="A text based web browser with no ssl support."
+HOMEPAGE="http://netrik.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~x86"
+
+RDEPEND=">=sys-libs/ncurses-5.1[unicode]
+ sys-libs/readline"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ sed -i -e "/^doc_DATA/s/COPYING LICENSE //" \
+ Makefile.am || die 'sed on Makefile.am failed'
+
+ # bug #459660
+ epatch "${FILESDIR}/${P}-ncurses-tinfo.patch"
+ epatch_user
+
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}" install
+}