summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2011-01-23 09:32:13 +0000
committerFabian Groffen <grobian@gentoo.org>2011-01-23 09:32:13 +0000
commit57915d9ee08ffadc1e1f062294a24c249a06c36a (patch)
tree6ea161205cc1dad547757d38e36d098750826d31 /dev-texlive/texlive-metapost
parentAdded Prefix keywords (diff)
downloadgentoo-2-57915d9ee08ffadc1e1f062294a24c249a06c36a.tar.gz
gentoo-2-57915d9ee08ffadc1e1f062294a24c249a06c36a.tar.bz2
gentoo-2-57915d9ee08ffadc1e1f062294a24c249a06c36a.zip
Added Prefix keywords, simplify ebuild wrt EROOT
(Portage version: 2.2.01.17680-prefix/cvs/SunOS i386)
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.ebuild12
2 files changed, 12 insertions, 8 deletions
diff --git a/dev-texlive/texlive-metapost/ChangeLog b/dev-texlive/texlive-metapost/ChangeLog
index e5ee6c0f3f9c..ca2835bcabe5 100644
--- a/dev-texlive/texlive-metapost/ChangeLog
+++ b/dev-texlive/texlive-metapost/ChangeLog
@@ -1,6 +1,10 @@
# 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.36 2010/12/17 20:54:34 grobian Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-texlive/texlive-metapost/ChangeLog,v 1.37 2011/01/23 09:32:13 grobian Exp $
+
+ 23 Jan 2011; Fabian Groffen <grobian@gentoo.org>
+ texlive-metapost-2010.ebuild:
+ Added Prefix keywords, simplify ebuild wrt EROOT
17 Dec 2010; Fabian Groffen <grobian@gentoo.org>
texlive-metapost-2010.ebuild:
diff --git a/dev-texlive/texlive-metapost/texlive-metapost-2010.ebuild b/dev-texlive/texlive-metapost/texlive-metapost-2010.ebuild
index 30ec8716fbbe..02ee33650234 100644
--- a/dev-texlive/texlive-metapost/texlive-metapost-2010.ebuild
+++ b/dev-texlive/texlive-metapost/texlive-metapost-2010.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 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.2 2010/12/17 20:54:34 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-texlive/texlive-metapost/texlive-metapost-2010.ebuild,v 1.3 2011/01/23 09:32:13 grobian Exp $
EAPI="3"
@@ -13,7 +13,7 @@ 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 ~ppc-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE=""
DEPEND=">=dev-texlive/texlive-basic-2010
"
@@ -25,8 +25,8 @@ RDEPEND="${DEPEND} "
# 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"
+ if [ -f "${EROOT%/}/var/lib/texmf/web2c/metapost/mplib-luatex.mem" ]; then
+ einfo "Removing ${EROOT%/}/var/lib/texmf/web2c/metapost/mplib-luatex.mem"
+ rm -f "${EROOT%/}/var/lib/texmf/web2c/metapost/mplib-luatex.mem"
fi
}