diff options
Diffstat (limited to 'media-gfx/graphviz/graphviz-1.12.ebuild')
-rw-r--r-- | media-gfx/graphviz/graphviz-1.12.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/media-gfx/graphviz/graphviz-1.12.ebuild b/media-gfx/graphviz/graphviz-1.12.ebuild new file mode 100644 index 000000000000..2cb45d97d09b --- /dev/null +++ b/media-gfx/graphviz/graphviz-1.12.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/graphviz-1.12.ebuild,v 1.1 2004/07/22 16:18:20 agriffis Exp $ + +inherit gnuconfig + +DESCRIPTION="open source graph drawing software" +HOMEPAGE="http://www.research.att.com/sw/tools/graphviz/" +SRC_URI="http://www.graphviz.org/pub/graphviz/ARCHIVE/${P}.tar.gz" + +LICENSE="as-is | ATT" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~amd64 ~ia64 ~mips" +IUSE="tcltk" + +#Can use freetype-1.3 or 2.0, but not both +DEPEND=">=sys-libs/zlib-1.1.3 + >=media-libs/libpng-1.2 + >=media-libs/jpeg-6b + media-libs/freetype + tcltk? ( >=dev-lang/tk-8.3 )" + +src_unpack() { + unpack ${A} + cd ${S} + + # It would be really nice if devs would comment this sort of hack + # when putting it in. + sed -i -e "s:+0 -1:-k 1,2:" "${S}/dotneato/common/Makefile.in" + + # Run gnuconfig_update on all arches, needed at least for mips + gnuconfig_update +} + +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 "econf failed" + + emake || die +} + +src_install() { + make DESTDIR=${D} install || die + + dodoc AUTHORS ChangeLog FAQ.txt INSTALL MINTERMS.txt \ + NEWS README + + dohtml -r . + dodoc doc/*.pdf +} |