# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit latex-package DESCRIPTION="pgf -- The TeX Portable Graphic Format" HOMEPAGE="http://latex-beamer.sourceforge.net/" SRC_URI="mirror://sourceforge/latex-beamer/${P}.tar.gz" LICENSE="LPPL-1.2" SLOT="0" KEYWORDS="~alpha ~amd64 ~ppc ~ppc-macos ~sparc ~x86" IUSE="ticz" DEPEND="virtual/tetex >=dev-tex/xcolor-2.00 ticz? ( >=xkeyval-1.8 )" src_compile() { return } src_install() { cd ${S} for dir in generic latex plain ; do dodir /usr/share/texmf/tex/${dir} cp -pPR ${dir}/pgf ${D}/usr/share/texmf/tex/${dir} || die done # gentoo brefers to break TeX layout standards by putting docs in /usr/share/doc dodir /usr/share/doc/${PF} cp -pPR doc/pgf/* ${D}/usr/share/doc/${PF} || die }