blob: 75115a6a10f63c8b6b39079fe30a54dcbdfbff03 (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/graphviz-2.4.ebuild,v 1.3 2005/10/31 05:07:01 j4rg0n Exp $
DESCRIPTION="Open Source Graph Visualization Software"
HOMEPAGE="http://www.graphviz.org/"
SRC_URI="http://www.graphviz.org/pub/graphviz/ARCHIVE/${P}.tar.gz"
LICENSE="CPL-1.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc-macos ~ppc64 ~s390 ~x86"
IUSE="cairo dynagraph tcltk X"
RDEPEND=">=sys-libs/zlib-1.1.3
>=media-libs/libpng-1.2
>=media-libs/jpeg-6b
media-libs/freetype
media-libs/fontconfig
sys-devel/gettext
dev-libs/expat
sys-libs/zlib
tcltk? ( >=dev-lang/tk-8.3 )
cairo? ( >=x11-libs/libsvg-cairo-0.1.3 )"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
src_compile() {
econf --with-mylibgd \
$(use_with dynagraph dynagraph) \
$(use_with tcltk tcl) $(use_with tcltk tk) \
$(use_with X x) || die "Configure Failed!"
emake || die "Compile Failed!"
}
src_install() {
make DESTDIR=${D} install || die "Install Failed!"
dodoc AUTHORS ChangeLog INSTALL* NEWS README*
dodoc doc/*.pdf doc/Dot.ref
dohtml -r .
}
|