blob: 132b54f5d0c422cb9a065c5d40774c27fadd412e (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# Copyright 2001-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/app-doc/dox/dox-1.1.ebuild,v 1.3 2002/08/01 14:02:43 seemant Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Dox is a graphical documentation browser for Unix/X11."
SRC_URI="http://download.berlios.de/dox/${P}.tar.gz"
HOMEPAGE="http://dox.beriols.de"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"
RDEPEND="=x11-libs/qt-3*"
DEPEND="net-www/htdig"
src_unpack() {
unpack ${A}
cd ${S}
cp configure configure.new
cat configure | sed -e 's:/opt/www/htdig/bin/htdig:/usr/bin/htdig:g' \
-e 's:/opt/www/htdig/bin/htmerge:/usr/bin/htmerge:g' \
-e 's:/opt/www/cgi-bin/htsearch:/home/httpd/cgi-bin/htsearch:g' > configure.new
mv configure.new configure
}
src_compile()
{
./configure -prefix /usr || die
make all || die
mv stl/stl.toc stl/STL.toc
mv stl/stl.index stl/STL.index
mv data/perl.toc data/Perl.toc
}
src_install()
{
PREFIX="/usr/share/dox"
into /usr
dobin dox/dox man2html/dox-man2html info2html/dox-info2html tags2dox/dox-tags2dox htdig/dox-htdig
insinto ${PREFIX}/scripts
insopts -m 0755
doins pydoc2html/dox_pydoc.py pydoc2html/dox_inspect.py
insinto ${PREFIX}/htdig
doins data/wrapper.html data/nomatch.html data/syntax.html data/star.png data/star_blank.png data/bad_words
insinto ${PREFIX}/html/libc
doins libc/*.html
insinto ${PREFIX}/tocs
doins libc/libc.toc stl/STL.toc data/Perl.toc
insinto ${PREFIX}/indices
doins libc/libc.index stl/STL.index
insinto ${PREFIX}/html/stl
doins stl/*.html stl/*.gif
doman data/dox.1 data/dox.5 data/dox-man2html.1 data/dox-info2html.1 data/dox-tags2dox.1 data/dox-htdig.1
}
|