diff options
Diffstat (limited to 'media-gfx/graphviz/graphviz-2.6.ebuild')
-rw-r--r-- | media-gfx/graphviz/graphviz-2.6.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/media-gfx/graphviz/graphviz-2.6.ebuild b/media-gfx/graphviz/graphviz-2.6.ebuild new file mode 100644 index 000000000000..8e9d9cc45bee --- /dev/null +++ b/media-gfx/graphviz/graphviz-2.6.ebuild @@ -0,0 +1,50 @@ +# 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.6.ebuild,v 1.1 2005/09/15 07:15:55 nerdboy 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 ~ppc64 ~s390 ~sparc ~x86" +IUSE="cairo dynagraph tcltk X static" + +RDEPEND=">=sys-libs/zlib-1.1.3 + >=media-libs/libpng-1.2 + >=media-libs/jpeg-6b + media-libs/freetype + media-libs/fontconfig + 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 \ + --disable-dependency-tracking \ + $(use_enable static) \ + $(use_with 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} \ + docdir=${D}/usr/share/doc/${PN} \ + pkgconfigdir=/usr/$(get_libdir)/pkgconfig \ + install || die "Install Failed!" + + dodoc AUTHORS ChangeLog INSTALL* NEWS README* + dodoc doc/*.pdf doc/Dot.ref + dohtml -r . +} + +pkg_postinst() { + dot -c +} |