blob: 082d51e2a5aeda01b8c342a2e7b9d6fb15b95294 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# 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.5 2013/05/17 07:20:20 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 #467812
sed -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' \
configure.ac || die 'sed on configure.ac failed'
# bug #459660
epatch "${FILESDIR}/${P}-ncurses-tinfo.patch"
epatch "${FILESDIR}/${P}-configure.patch"
epatch_user
eautoreconf
}
src_install() {
emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}" install
}
|