# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit toolchain-funcs flag-o-matic DESCRIPTION="2- and 3-D plotter for creating images (to be used in LaTeX)" HOMEPAGE="http://mathcs.holycross.edu/~ahwang/current/ePiX.html" SRC_URI="http://mathcs.holycross.edu/~ahwang/epix/${P}_withpdf.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64" IUSE="" DEPEND="virtual/tetex" RDEPEND="app-shells/bash >=sys-apps/sed-4" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${P}-doc-gentoo.patch sed -e "s:/doc/${PN}:/doc/${P}:" -i Makefile.in doc/Makefile.in \ samples/Makefile.in } src_compile() { econf || die "failed to configure" emake -j1 || die "emake failed" } src_install() { make DESTDIR="${D}" install || die "install failed" }