| 1 | # Copyright 1999-2002 Gentoo Technologies, Inc. |
1 | # Copyright 1999-2002 Gentoo Technologies, Inc. |
| 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 | # Author Matthew Turk <satai@gentoo.org> |
3 | # Author Matthew Turk <satai@gentoo.org> |
| 4 | # $Header: /var/cvsroot/gentoo-x86/eclass/latex-package.eclass,v 1.10 2002/10/25 19:57:51 vapier Exp $ |
4 | # $Header: /var/cvsroot/gentoo-x86/eclass/latex-package.eclass,v 1.11 2002/11/05 03:58:33 satai Exp $ |
| 5 | # |
5 | # |
| 6 | # This eClass is designed to be easy to use and implement. The vast majority of |
6 | # This eClass is designed to be easy to use and implement. The vast majority of |
| 7 | # LaTeX packages will only need to define SRC_URI (and sometimes S) for a |
7 | # LaTeX packages will only need to define SRC_URI (and sometimes S) for a |
| 8 | # successful installation. If fonts need to be installed, then the variable |
8 | # successful installation. If fonts need to be installed, then the variable |
| 9 | # SUPPLIER must also be defined. |
9 | # SUPPLIER must also be defined. |
| … | |
… | |
| 83 | insinto /usr/share/doc/${P} |
83 | insinto /usr/share/doc/${P} |
| 84 | doins $i |
84 | doins $i |
| 85 | #dodoc -u $i |
85 | #dodoc -u $i |
| 86 | done |
86 | done |
| 87 | ;; |
87 | ;; |
| 88 | "tex" | "dtx") |
88 | "tex" | "dtx") |
| 89 | for i in `find . -maxdepth 1 -type f -name "*.${1}"` |
89 | for i in `find . -maxdepth 1 -type f -name "*.${1}"` |
| 90 | do |
90 | do |
| 91 | echo "Making documentation: $i" |
91 | echo "Making documentation: $i" |
| 92 | texi2dvi -q -c --language=latex $i |
92 | texi2dvi -q -c --language=latex $i &> /dev/null |
| 93 | done |
93 | done |
| 94 | ;; |
94 | ;; |
| 95 | "tfm" | "vf" | "afm" | "pfb") |
95 | "tfm" | "vf" | "afm" | "pfb") |
| 96 | for i in `find . -maxdepth 1 -type f -name "*.${1}"` |
96 | for i in `find . -maxdepth 1 -type f -name "*.${1}"` |
| 97 | do |
97 | do |
| 98 | insinto ${TEXMF}/fonts/${1}/${SUPPLIER}/${PN} |
98 | insinto ${TEXMF}/fonts/${1}/${SUPPLIER}/${PN} |
| 99 | doins $i |
99 | doins $i |