diff options
Diffstat (limited to 'media-gfx/graphviz/graphviz-1.8.10.ebuild')
-rw-r--r-- | media-gfx/graphviz/graphviz-1.8.10.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/media-gfx/graphviz/graphviz-1.8.10.ebuild b/media-gfx/graphviz/graphviz-1.8.10.ebuild new file mode 100644 index 000000000000..66d6d02e40cd --- /dev/null +++ b/media-gfx/graphviz/graphviz-1.8.10.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/graphviz-1.8.10.ebuild,v 1.1 2002/11/11 11:25:21 george Exp $ + +IUSE="tcltk" + +S=${WORKDIR}/${P} +DESCRIPTION="open source graph drawing software" +SRC_URI="http://www.graphviz.org/pub/graphviz/${P}.tar.gz" +HOMEPAGE="http://www.research.att.com/sw/tools/graphviz/" + +SLOT="0" +LICENSE="as-is | ATT" +KEYWORDS="~x86 ~ppc" + +#Can use freetype-1.3 or 2.0, but not both +#!!!requires libpng-1.0.x!!! +DEPEND=">=sys-libs/zlib-1.1.3 + =media-libs/libpng-1.0* + >=media-libs/jpeg-6b + media-libs/freetype + tcltk? ( =dev-lang/tk-8.3* )" + +#src_unpack() { +# unpack ${A} +# +# cd ${S}/agraph +# patch scan.l < ${FILESDIR}/${P}-scan.l.patch +#} + +src_compile() { + local myconf + #if no tcltk, this will generate configure warnings, but will + #compile without tcltk support + use tcltk || myconf="${myconf} --without-tcl --without-tk" + + econf ${myconf} || die "./configure failed" + + make || die +} + +src_install() { + make DESTDIR=${D} install || die + + dodoc AUTHORS ChangeLog FAQ.txt INSTALL MINTERMS.txt \ + NEWS README + + dohtml -r . + dodoc doc/*.pdf +} |