/[gentoo-x86]/eclass/texlive-module.eclass
Gentoo

Diff of /eclass/texlive-module.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.11 Revision 1.12
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2008 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.11 2008/07/03 22:36:12 aballier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.12 2008/07/14 16:42:48 aballier Exp $
4 4
5# @ECLASS: texlive-module.eclass 5# @ECLASS: texlive-module.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# tex@gentoo.org 7# tex@gentoo.org
8# 8#
32HOMEPAGE="http://www.tug.org/texlive/" 32HOMEPAGE="http://www.tug.org/texlive/"
33 33
34COMMON_DEPEND=">=app-text/texlive-core-${PV} 34COMMON_DEPEND=">=app-text/texlive-core-${PV}
35 ${TEXLIVE_MODULES_DEPS}" 35 ${TEXLIVE_MODULES_DEPS}"
36 36
37IUSE=""
38
37# TeX Live 2007 was providing .zip files of CTAN packages. For 2008 they are now 39# TeX Live 2007 was providing .zip files of CTAN packages. For 2008 they are now
38# .tar.lzma 40# .tar.lzma
39if [ -z "${PV##2007*}" ] ; then 41if [ -z "${PV##2007*}" ] ; then
40for i in ${TEXLIVE_MODULE_CONTENTS}; do 42for i in ${TEXLIVE_MODULE_CONTENTS}; do
41 SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${PV}.zip" 43 SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${PV}.zip"
46for i in ${TEXLIVE_MODULE_CONTENTS}; do 48for i in ${TEXLIVE_MODULE_CONTENTS}; do
47 SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${PV}.tar.lzma" 49 SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${PV}.tar.lzma"
48done 50done
49DEPEND="${COMMON_DEPEND} 51DEPEND="${COMMON_DEPEND}
50 app-arch/lzma-utils" 52 app-arch/lzma-utils"
53IUSE="${IUSE} source"
51fi 54fi
52 55
53RDEPEND="${COMMON_DEPEND}" 56RDEPEND="${COMMON_DEPEND}"
54 57
55[ -z "${PN##*documentation*}" ] || IUSE="doc" 58[ -z "${PN##*documentation*}" ] || IUSE="${IUSE} doc"
56 59
57S="${WORKDIR}" 60S="${WORKDIR}"
58 61
59# @FUNCTION: texlive-module_src_compile 62# @FUNCTION: texlive-module_src_compile
60# @DESCRIPTION: 63# @DESCRIPTION:
136 [ -d texmf-dist/doc ] && rm -rf texmf-dist/doc 139 [ -d texmf-dist/doc ] && rm -rf texmf-dist/doc
137 fi 140 fi
138 141
139 [ -d texmf ] && doins -r texmf 142 [ -d texmf ] && doins -r texmf
140 [ -d texmf-dist ] && doins -r texmf-dist 143 [ -d texmf-dist ] && doins -r texmf-dist
141 [ -d tlpkg ] && doins -r tlpkg 144 [ -n "${PV##2007*}" ] && [ -d tlpkg ] && use source && doins -r tlpkg
142 145
143 insinto /var/lib/texmf 146 insinto /var/lib/texmf
144 [ -d texmf-var ] && doins -r texmf-var/* 147 [ -d texmf-var ] && doins -r texmf-var/*
145 148
146 insinto /etc/texmf/updmap.d 149 insinto /etc/texmf/updmap.d

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.20