blob: 1f5e3f29e823919fcd86f3580ff4f880dda2930a (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-client/htmlview/htmlview-3.0.0.ebuild,v 1.2 2006/04/08 18:51:00 nixnut Exp $
inherit rpm
IUSE=""
RH_EXTRAVERSION="8"
DESCRIPTION="A script which calls an installed HTML viewer."
HOMEPAGE="http://www.redhat.com"
SRC_URI="mirror://fedora/development/SRPMS/${P}-${RH_EXTRAVERSION}.src.rpm"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="~ppc ~x86"
S=${WORKDIR}
src_compile() {
sed -i -e '{ /^TERMS_GENERIC/s:"\(.*\)":"\1 /usr/bin/aterm /usr/bin/hanterm /usr/bin/kterm /usr/bin/mlterm /usr/bin/mrxvt /usr/bin/urxvt":
/^TTYBROWSERS/s:"\(.*\)":"\1 /usr/bin/elinks":
/^X11BROWSERS_GNOME/s:"\(.*\)":"\1 /usr/bin/kazehakase":
/^X11BROWSERS_GENERIC/s:"\(.*\)":"\1 /usr/bin/firefox":
}' htmlview || die
}
src_install () {
dobin htmlview
dobin launchmail
}
|