summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-01-21 14:11:00 +0100
committerAlexis Ballier <aballier@gentoo.org>2017-01-21 14:19:41 +0100
commitb0f1146db2c56faa28de97d0f5349d2a19fd6c86 (patch)
tree7abfc59cfdd89e66c6a96d16c9440d056d74bd56 /dev-texlive/texlive-metapost/texlive-metapost-2016.ebuild
parentdev-texlive/texlive-luatex: Bump to TeX Live 2016. (diff)
downloadgentoo-b0f1146db2c56faa28de97d0f5349d2a19fd6c86.tar.gz
gentoo-b0f1146db2c56faa28de97d0f5349d2a19fd6c86.tar.bz2
gentoo-b0f1146db2c56faa28de97d0f5349d2a19fd6c86.zip
dev-texlive/texlive-metapost: Bump to TeX Live 2016.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-texlive/texlive-metapost/texlive-metapost-2016.ebuild')
-rw-r--r--dev-texlive/texlive-metapost/texlive-metapost-2016.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-texlive/texlive-metapost/texlive-metapost-2016.ebuild b/dev-texlive/texlive-metapost/texlive-metapost-2016.ebuild
new file mode 100644
index 000000000000..0bb978946a5a
--- /dev/null
+++ b/dev-texlive/texlive-metapost/texlive-metapost-2016.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+TEXLIVE_MODULE_CONTENTS="automata bbcard blockdraw_mp bpolynomial cmarrows drv dviincl emp epsincl expressg exteps featpost feynmp-auto garrigues gmp hatching latexmp mcf2graph metago metaobj metaplot metapost metauml mfpic mfpic4ode mp3d mparrows mpattern mpcolornames mpgraphics piechartmp repere roex roundrect shapes slideshow splines suanpan textpath threeddice collection-metapost
+"
+TEXLIVE_MODULE_DOC_CONTENTS="automata.doc bbcard.doc blockdraw_mp.doc bpolynomial.doc cmarrows.doc drv.doc dviincl.doc emp.doc epsincl.doc expressg.doc exteps.doc featpost.doc feynmp-auto.doc garrigues.doc gmp.doc hatching.doc latexmp.doc mcf2graph.doc metago.doc metaobj.doc metaplot.doc metapost.doc metauml.doc mfpic.doc mfpic4ode.doc mp3d.doc mparrows.doc mpattern.doc mpcolornames.doc mpgraphics.doc piechartmp.doc repere.doc roundrect.doc shapes.doc slideshow.doc splines.doc suanpan.doc textpath.doc threeddice.doc "
+TEXLIVE_MODULE_SRC_CONTENTS="emp.source expressg.source feynmp-auto.source gmp.source mfpic.source mfpic4ode.source mpcolornames.source mpgraphics.source roex.source roundrect.source shapes.source splines.source "
+inherit texlive-module
+DESCRIPTION="TeXLive MetaPost and Metafont packages"
+
+LICENSE=" BSD GPL-1 GPL-2 LGPL-2 LPPL-1.3 public-domain TeX-other-free "
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~s390 ~sh ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+DEPEND=">=dev-texlive/texlive-basic-2016
+"
+RDEPEND="${DEPEND} "
+
+# This small hack is needed in order to have a sane upgrade path:
+# the new TeX Live 2009 metapost produces this file but it is not recorded in
+# any package; when running fmtutil (like texmf-update does) this file will be
+# created and cause collisions.
+
+pkg_setup() {
+ if [ -f "${ROOT%/}${EPREFIX}/var/lib/texmf/web2c/metapost/mplib-luatex.mem" ]; then
+ einfo "Removing ${ROOT%/}${EPREFIX}/var/lib/texmf/web2c/metapost/mplib-luatex.mem"
+ rm -f "${ROOT%/}${EPREFIX}/var/lib/texmf/web2c/metapost/mplib-luatex.mem"
+ fi
+}