blob: cc9adb5c17a2600f90d729308592a31581238a06 (
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
|
# Copyright 1999-2007 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-r1.ebuild,v 1.8 2007/02/04 18:47:53 beandog 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="amd64 ia64 mips 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":
s:/usr/bin/konsole:konsole:
s:/usr/bin/kvt:kvt:
s:/usr/bin/konqueror:konqueror:
s:/usr/bin/kfmbrowser:kfmbrowser:
s:/usr/X11R6/bin/xterm:/usr/bin/xterm:
s:/sbin/pidof:pidof:
}' htmlview || die
}
src_install () {
dobin htmlview
dobin launchmail
}
|