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/texlive-metapost-2010.ebuild
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/texlive-metapost-2010.ebuild')
-rw-r--r--dev-texlive/texlive-metapost/texlive-metapost-2010.ebuild12
1 files changed, 6 insertions, 6 deletions
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
}