Lines 3-10
Link Here
|
3 |
# $Header: /var/cvsroot/gentoo-x86/app-doc/doxygen/doxygen-1.7.3.ebuild,v 1.7 2011/03/29 12:45:58 jer Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-doc/doxygen/doxygen-1.7.3.ebuild,v 1.7 2011/03/29 12:45:58 jer Exp $ |
4 |
|
4 |
|
5 |
EAPI=3 |
5 |
EAPI=3 |
|
|
6 |
PYTHON_DEPEND="doc? 2" |
6 |
|
7 |
|
7 |
inherit eutils flag-o-matic toolchain-funcs qt4-r2 fdo-mime |
8 |
inherit eutils flag-o-matic toolchain-funcs qt4-r2 fdo-mime python |
8 |
|
9 |
|
9 |
DESCRIPTION="documentation system for C++, C, Java, Objective-C, Python, IDL, and other languages" |
10 |
DESCRIPTION="documentation system for C++, C, Java, Objective-C, Python, IDL, and other languages" |
10 |
HOMEPAGE="http://www.doxygen.org/" |
11 |
HOMEPAGE="http://www.doxygen.org/" |
Lines 19-25
Link Here
|
19 |
|
20 |
|
20 |
RDEPEND="qt4? ( x11-libs/qt-gui:4 ) |
21 |
RDEPEND="qt4? ( x11-libs/qt-gui:4 ) |
21 |
latex? ( >=app-text/texlive-2008[extra] ) |
22 |
latex? ( >=app-text/texlive-2008[extra] ) |
22 |
dev-lang/python |
23 |
doc? ( dev-lang/python ) |
23 |
virtual/libiconv |
24 |
virtual/libiconv |
24 |
media-libs/libpng |
25 |
media-libs/libpng |
25 |
app-text/ghostscript-gpl |
26 |
app-text/ghostscript-gpl |
Lines 31-36
Link Here
|
31 |
|
32 |
|
32 |
EPATCH_SUFFIX="patch" |
33 |
EPATCH_SUFFIX="patch" |
33 |
|
34 |
|
|
|
35 |
pkg_setup() { |
36 |
if use doc; then |
37 |
python_set_active_version 2 |
38 |
python_pkg_setup |
39 |
fi |
40 |
} |
41 |
|
34 |
src_prepare() { |
42 |
src_prepare() { |
35 |
# use CFLAGS, CXXFLAGS, LDFLAGS |
43 |
# use CFLAGS, CXXFLAGS, LDFLAGS |
36 |
export ECFLAGS="${CFLAGS}" ECXXFLAGS="${CXXFLAGS}" ELDFLAGS="${LDFLAGS}" |
44 |
export ECFLAGS="${CFLAGS}" ECXXFLAGS="${CXXFLAGS}" ELDFLAGS="${LDFLAGS}" |
Lines 145-151
Link Here
|
145 |
} |
153 |
} |
146 |
|
154 |
|
147 |
src_install() { |
155 |
src_install() { |
148 |
make DESTDIR="${D}" MAN1DIR=share/man/man1 \ |
156 |
make DESTDIR="${ED}" MAN1DIR=share/man/man1 \ |
149 |
install || die '"make install" failed.' |
157 |
install || die '"make install" failed.' |
150 |
|
158 |
|
151 |
if use qt4; then |
159 |
if use qt4; then |