summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2010-10-24 18:12:05 +0000
committerAlexis Ballier <aballier@gentoo.org>2010-10-24 18:12:05 +0000
commit1c8e28f239075bfcf29844ef7a1f974027b0518e (patch)
treef7ccc53f40d98ba94f4c5097a68696b881ea27e6 /dev-texlive/texlive-metapost
parentUse.mask libvirt, tokyocabinet (diff)
downloadgentoo-2-1c8e28f239075bfcf29844ef7a1f974027b0518e.tar.gz
gentoo-2-1c8e28f239075bfcf29844ef7a1f974027b0518e.tar.bz2
gentoo-2-1c8e28f239075bfcf29844ef7a1f974027b0518e.zip
Bump to TeX Live 2010
(Portage version: 2.2.0_alpha1/cvs/Linux x86_64)
Diffstat (limited to 'dev-texlive/texlive-metapost')
-rw-r--r--dev-texlive/texlive-metapost/ChangeLog8
-rw-r--r--dev-texlive/texlive-metapost/texlive-metapost-2010.ebuild32
2 files changed, 39 insertions, 1 deletions
diff --git a/dev-texlive/texlive-metapost/ChangeLog b/dev-texlive/texlive-metapost/ChangeLog
index 9375fe9de9c1..69e014aaf39b 100644
--- a/dev-texlive/texlive-metapost/ChangeLog
+++ b/dev-texlive/texlive-metapost/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-texlive/texlive-metapost
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-texlive/texlive-metapost/ChangeLog,v 1.34 2010/10/02 20:03:50 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-texlive/texlive-metapost/ChangeLog,v 1.35 2010/10/24 18:12:00 aballier Exp $
+
+*texlive-metapost-2010 (24 Oct 2010)
+
+ 24 Oct 2010; Alexis Ballier <aballier@gentoo.org>
+ +texlive-metapost-2010.ebuild:
+ Bump to TeX Live 2010
02 Oct 2010; Fabian Groffen <grobian@gentoo.org>
texlive-metapost-2009.ebuild:
diff --git a/dev-texlive/texlive-metapost/texlive-metapost-2010.ebuild b/dev-texlive/texlive-metapost/texlive-metapost-2010.ebuild
new file mode 100644
index 000000000000..62edfc7edac5
--- /dev/null
+++ b/dev-texlive/texlive-metapost/texlive-metapost-2010.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-texlive/texlive-metapost/texlive-metapost-2010.ebuild,v 1.1 2010/10/24 18:12:00 aballier Exp $
+
+EAPI="3"
+
+TEXLIVE_MODULE_CONTENTS="automata bbcard blockdraw_mp bpolynomial cmarrows drv dviincl emp epsincl expressg exteps featpost garrigues hatching latexmp metago metaobj metaplot metapost metauml mfpic mfpic4ode mp3d mpattern piechartmp roex slideshow splines suanpan textpath 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 garrigues.doc hatching.doc latexmp.doc metago.doc metaobj.doc metaplot.doc metapost.doc metauml.doc mfpic.doc mfpic4ode.doc mp3d.doc mpattern.doc piechartmp.doc slideshow.doc splines.doc suanpan.doc textpath.doc "
+TEXLIVE_MODULE_SRC_CONTENTS="emp.source expressg.source mfpic.source mfpic4ode.source roex.source splines.source "
+inherit texlive-module
+DESCRIPTION="TeXLive MetaPost (and Metafont) drawing packages"
+
+LICENSE="GPL-2 as-is GPL-1 LGPL-2 LPPL-1.3 public-domain "
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+DEPEND=">=dev-texlive/texlive-basic-2010
+"
+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
+}