# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit perl-module DESCRIPTION="Utility to generate diagrams which describe a Postgresql DB." SRC_URI="http://www.rbt.ca/autodoc/binaries/${P}.tar.gz" HOMEPAGE="http://www.rbt.ca/autodoc/" SLOT="0" LICENSE="Artistic" KEYWORDS="amd64 ia64 ppc sparc x86" IUSE="" DEPEND="dev-lang/perl dev-perl/HTML-Template media-gfx/graphviz dev-perl/TermReadKey" S=$WORKDIR/$PN src_unpack() { unpack ${P}.tar.gz einfo "Finished unpacking..." } src_compile() { sed -i -e "s:/usr/local:/usr:g" configure sed -i -e "s:/usr/local:/usr:g" postgresql_autodoc einfo "Finished patching..." ./configure einfo "Finished ./configure ..." emake || die "make failed" einfo "Finished make..." } src_install() { emake install || die "make install failed"