/[gentoo-x86]/eclass/latex-package.eclass
Gentoo

Diff of /eclass/latex-package.eclass

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

Revision 1.35 Revision 1.37
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/latex-package.eclass,v 1.35 2008/08/30 12:49:36 aballier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/latex-package.eclass,v 1.37 2008/08/30 13:49:28 aballier Exp $
4 4
5# @ECLASS: latex-package.eclass 5# @ECLASS: latex-package.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# TeX team <tex@gentoo.org> 7# TeX team <tex@gentoo.org>
8# 8#
53# 53#
54# It inherits base. 54# It inherits base.
55 55
56inherit base 56inherit base
57 57
58DEPEND="virtual/latex-base 58RDEPEND="virtual/latex-base"
59DEPEND="${RDEPEND}
59 >=sys-apps/texinfo-4.2-r5" 60 >=sys-apps/texinfo-4.2-r5"
60HOMEPAGE="http://www.tug.org/" 61HOMEPAGE="http://www.tug.org/"
61SRC_URI="ftp://tug.ctan.org/macros/latex/" 62SRC_URI="ftp://tug.ctan.org/macros/latex/"
62S=${WORKDIR}/${P} 63S=${WORKDIR}/${P}
63TEXMF="/usr/share/texmf" 64TEXMF="/usr/share/texmf"
113 "dvi" | "ps" | "pdf") 114 "dvi" | "ps" | "pdf")
114 for i in `find . -maxdepth 1 -type f -name "*.${1}"` 115 for i in `find . -maxdepth 1 -type f -name "*.${1}"`
115 do 116 do
116 insinto /usr/share/doc/${PF} 117 insinto /usr/share/doc/${PF}
117 doins $i || die "doins $i failed" 118 doins $i || die "doins $i failed"
119 dosym /usr/share/doc/${PF}/$(basename ${i}) ${TEXMF}/doc/latex/${PN}/${i}
118 #dodoc -u $i 120 #dodoc -u $i
119 done 121 done
120 ;; 122 ;;
121 "tex" | "dtx") 123 "tex" | "dtx")
122 for i in `find . -maxdepth 1 -type f -name "*.${1}"` 124 for i in `find . -maxdepth 1 -type f -name "*.${1}"`

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.37

  ViewVC Help
Powered by ViewVC 1.1.20