summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-11-03 05:29:44 +0000
committerMamoru Komachi <usata@gentoo.org>2004-11-03 05:29:44 +0000
commit393352ebd57c72bc638c0f2bf2cd821f533dd581 (patch)
treec44bcdd0bcf4c1eb77d0961537aed74296bd0f4e /eclass/tetex.eclass
parentmarked ~mips for testing (diff)
downloadgentoo-2-393352ebd57c72bc638c0f2bf2cd821f533dd581.tar.gz
gentoo-2-393352ebd57c72bc638c0f2bf2cd821f533dd581.tar.bz2
gentoo-2-393352ebd57c72bc638c0f2bf2cd821f533dd581.zip
Took patches out of ${FILESDIR} and put them onto Gentoo mirrors.
Diffstat (limited to 'eclass/tetex.eclass')
-rw-r--r--eclass/tetex.eclass13
1 files changed, 8 insertions, 5 deletions
diff --git a/eclass/tetex.eclass b/eclass/tetex.eclass
index 83882bde18cd..1620b9529b87 100644
--- a/eclass/tetex.eclass
+++ b/eclass/tetex.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/tetex.eclass,v 1.26 2004/10/30 06:58:20 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/tetex.eclass,v 1.27 2004/11/03 05:29:44 usata Exp $
#
# Author: Jaromir Malenko <malenko@email.cz>
# Author: Mamoru KOMACHI <usata@gentoo.org>
@@ -29,7 +29,9 @@ HOMEPAGE="http://tug.org/teTeX/"
SRC_PATH_TETEX=ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/2.0/distrib
SRC_URI="${SRC_PATH_TETEX}/${TETEX_SRC}
${SRC_PATH_TETEX}/${TETEX_TEXMF}
- ${SRC_PATH_TETEX}/${TETEX_TEXMF_SRC}"
+ ${SRC_PATH_TETEX}/${TETEX_TEXMF_SRC}
+ mirror://gentoo/tetex-${TETEX_PV}-gentoo.tar.gz
+ http://dev.gentoo.org/~usata/distfiles/tetex-${TETEX_PV}-gentoo.tar.gz"
SLOT="0"
LICENSE="GPL-2"
@@ -73,6 +75,7 @@ tetex_src_unpack() {
case $1 in
unpack)
unpack ${TETEX_SRC}
+ unpack tetex-${TETEX_PV}-gentoo.tar.gz
mkdir ${S}/texmf; cd ${S}/texmf
umask 022
@@ -82,9 +85,9 @@ tetex_src_unpack() {
patch)
# Do not run config. Also fix local texmf tree.
cd ${S}
- epatch ${FILESDIR}/../../tetex/files/tetex-${TETEX_PV}-dont-run-config.diff
- epatch ${FILESDIR}/../../tetex/files/tetex-${TETEX_PV}.diff
- epatch ${FILESDIR}/../../tetex/files/tetex-texdoctk-gentoo.patch
+ for p in ${WORKDIR}/patches/* ; do
+ epatch $p
+ done
if useq ppc-macos ; then
sed -i -e "/^HOMETEXMF/s:\$HOME/texmf:\$HOME/Library/texmf:" ${S}/texk/kpathsea/texmf.in || die "sed texmf.in failed."