summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tex')
-rw-r--r--dev-tex/pgf/Manifest1
-rw-r--r--dev-tex/pgf/pgf-3.0.1.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-tex/pgf/Manifest b/dev-tex/pgf/Manifest
index 99e88bd31e57..45e73729e774 100644
--- a/dev-tex/pgf/Manifest
+++ b/dev-tex/pgf/Manifest
@@ -1,2 +1,3 @@
DIST pgf_2.10.tds.zip 6943790 SHA256 6d197e2a6a7bdadc81d180ef58ad2ef3e446fb07e05ac52821047d8c31b90b95 SHA512 d10385a259cf5100a5c3929b48f007b796e1313730e579748fb1f6afa0957320867a000dc54edd7595f9d84926adb7b28fd7be079fed32d12bf6aee00294b16b WHIRLPOOL bfe770bbd775ec607cfbe48051a4d08e0d936afa98e075d43f70de1bfa61bbcaf5e591988b16cc9d6bfb8bffab749d74fc0b2e9ddeb127485e7075cdeac2532e
DIST pgf_3.0.0.tds.zip 11384771 SHA256 672b15d0a73fcaee1efefdaf396db1d8313e08d91db9b15bfde293eb6132474e SHA512 c0d801855e9fb0325a4caf4dbdf30c82a39b8f2543234f04127355dc5eb22493bbe95c6d9757df122bf80ccb07f6d5a92736a3a8f67523b3a43115b6a9ae1f56 WHIRLPOOL c451b562daf3b2aa8d6fce9852d7db3a5c34a449ec544dec7865587f4281c203b40275e184f82812f49365c075f51387115d026274833713fc96958c528dd98e
+DIST pgf_3.0.1.tds.zip 10423731 SHA256 a0f374ff2a66e8d24995b571cc74f773fd58f81d63bf719d73af326c280bdb99 SHA512 0899e0fbd6d196504c5d15176015557d38e027429a84de661a5627fa003bfeffdb3f013df23c298b32c3a5605388160f42621e92d626e3ce88561fe4b4b7bddf WHIRLPOOL 93cc1db9026dda5ca64bc2eea3e58257e53b8e287d0bc6c3295df9f6e5fc6c75f00437f5e047a15a4a7723276dde82e4366df0290633b2647239b02530939f96
diff --git a/dev-tex/pgf/pgf-3.0.1.ebuild b/dev-tex/pgf/pgf-3.0.1.ebuild
new file mode 100644
index 000000000000..e1dea064214f
--- /dev/null
+++ b/dev-tex/pgf/pgf-3.0.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit latex-package
+
+DESCRIPTION="pgf -- The TeX Portable Graphic Format"
+HOMEPAGE="http://sourceforge.net/projects/pgf"
+SRC_URI="mirror://sourceforge/pgf/${PN}_${PV}.tds.zip"
+
+LICENSE="GPL-2 LPPL-1.3c FDL-1.2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="doc source"
+
+RDEPEND="dev-texlive/texlive-latexrecommended
+ >=dev-tex/xcolor-2.11"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S=${WORKDIR}
+
+src_install() {
+ insinto ${TEXMF}
+ doins -r tex || die
+
+ if use source ; then
+ doins -r source || die
+ fi
+
+ cd "${S}/doc/generic/pgf"
+ dodoc AUTHORS ChangeLog README || die
+ if use doc ; then
+ insinto /usr/share/doc/${PF}/texdoc
+ doins pgfmanual.pdf || die
+ doins -r images macros text-en version-* || die
+ dosym /usr/share/doc/${PF}/texdoc ${TEXMF}/doc/latex/${PN} || die
+ docompress -x /usr/share/doc/${PF}/texdoc/
+ fi
+}