summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-02-03 17:05:00 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-02-03 17:05:00 +0000
commit027c831f5649ce2c14f6101499d3f69dec47943f (patch)
treeb2c02c32e0f312100e3e2a6db2750d5d0f96aeee /app-text/jadetex/jadetex-3.13-r2.ebuild
parentmerge from webapps overlay wrt #208584 (diff)
downloadgentoo-2-027c831f5649ce2c14f6101499d3f69dec47943f.tar.gz
gentoo-2-027c831f5649ce2c14f6101499d3f69dec47943f.tar.bz2
gentoo-2-027c831f5649ce2c14f6101499d3f69dec47943f.zip
replace addwrites by setting generated font dir in the sandbox
(Portage version: 2.1.4.1)
Diffstat (limited to 'app-text/jadetex/jadetex-3.13-r2.ebuild')
-rw-r--r--app-text/jadetex/jadetex-3.13-r2.ebuild14
1 files changed, 4 insertions, 10 deletions
diff --git a/app-text/jadetex/jadetex-3.13-r2.ebuild b/app-text/jadetex/jadetex-3.13-r2.ebuild
index 84ae4ff67ec3..f5655ebedf06 100644
--- a/app-text/jadetex/jadetex-3.13-r2.ebuild
+++ b/app-text/jadetex/jadetex-3.13-r2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/jadetex/jadetex-3.13-r2.ebuild,v 1.1 2007/10/16 07:10:12 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/jadetex/jadetex-3.13-r2.ebuild,v 1.2 2008/02/03 17:05:00 aballier Exp $
inherit latex-package
@@ -26,10 +26,7 @@ has_tetex_3() {
}
src_compile() {
- addwrite /usr/share/texmf/ls-R
- addwrite /usr/share/texmf/fonts
- addwrite /var/cache/fonts
-
+ export VARTEXFONTS="${T}/fonts"
if has_tetex_3 ; then
sed -i -e "s:tex -ini:latex -ini:" Makefile || die "sed failed"
fi
@@ -38,10 +35,7 @@ src_compile() {
}
src_install() {
- addwrite /usr/share/texmf/ls-R
- addwrite /usr/share/texmf/fonts
- addwrite /var/cache/fonts
-
+ export VARTEXFONTS="${T}/fonts"
emake DESTDIR="${D}" install || die
dodoc ChangeLog*