| 1 | # Copyright 1999-2004 Gentoo Foundation |
1 | # Copyright 1999-2004 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.5 2007/10/27 14:30:38 aballier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.6 2007/12/02 22:47:10 aballier Exp $ |
| 4 | |
4 | |
| 5 | # |
5 | # |
| 6 | # Original Author: Alexis Ballier <aballier@gentoo.org> |
6 | # Original Author: Alexis Ballier <aballier@gentoo.org> |
| 7 | # Purpose: Provide generic install functions so that modular texlive's texmf ebuilds will |
7 | # Purpose: Provide generic install functions so that modular texlive's texmf ebuilds will |
| 8 | # only have to inherit this eclass. |
8 | # only have to inherit this eclass. |
| … | |
… | |
| 99 | insinto /var/lib/texmf |
99 | insinto /var/lib/texmf |
| 100 | [ -d texmf-var ] && doins -r texmf-var/* |
100 | [ -d texmf-var ] && doins -r texmf-var/* |
| 101 | |
101 | |
| 102 | insinto /etc/texmf/updmap.d |
102 | insinto /etc/texmf/updmap.d |
| 103 | [ -f "${S}/${PN}.cfg" ] && doins "${S}/${PN}.cfg" |
103 | [ -f "${S}/${PN}.cfg" ] && doins "${S}/${PN}.cfg" |
| 104 | insinto /etc/texmf/dvips/config |
104 | insinto /etc/texmf/dvips.d |
| 105 | [ -f "${S}/${PN}-config.ps" ] && doins "${S}/${PN}-config.ps" |
105 | [ -f "${S}/${PN}-config.ps" ] && doins "${S}/${PN}-config.ps" |
| 106 | insinto /etc/texmf/dvipdfm/config |
106 | insinto /etc/texmf/dvipdfm/config |
| 107 | [ -f "${S}/${PN}-config" ] && doins "${S}/${PN}-config" |
107 | [ -f "${S}/${PN}-config" ] && doins "${S}/${PN}-config" |
| 108 | |
108 | |
| 109 | texlive-common_handle_config_files |
109 | texlive-common_handle_config_files |