/[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.1 Revision 1.2
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.1 2007/10/14 07:47:10 aballier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.2 2007/10/17 14:34:09 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.
82 82
83texlive-module_src_install() { 83texlive-module_src_install() {
84 insinto /usr/share 84 insinto /usr/share
85 [ -d texmf ] && doins -r texmf 85 [ -d texmf ] && doins -r texmf
86 [ -d texmf-dist ] && doins -r texmf-dist 86 [ -d texmf-dist ] && doins -r texmf-dist
87 [ -d texmf-var ] && doins -r texmf-var
88 use doc && [ -d texmf-doc ] && doins -r texmf-doc 87 use doc && [ -d texmf-doc ] && doins -r texmf-doc
88
89 TEXMFSYSVAR="$(kpsewhich -var-value=TEXMFSYSVAR)"
90 insinto "${TEXMFSYSVAR}"
91 [ -d texmf-var ] && doins -r texmf-var/*
89 92
90 insinto /etc/texmf/updmap.d 93 insinto /etc/texmf/updmap.d
91 [ -f "${S}/${PN}.cfg" ] && doins "${S}/${PN}.cfg" 94 [ -f "${S}/${PN}.cfg" ] && doins "${S}/${PN}.cfg"
92 insinto /etc/texmf/dvips/config 95 insinto /etc/texmf/dvips/config
93 [ -f "${S}/${PN}-config.ps" ] && doins "${S}/${PN}-config.ps" 96 [ -f "${S}/${PN}-config.ps" ] && doins "${S}/${PN}-config.ps"

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20