/[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.4 Revision 1.5
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.4 2007/10/20 17:15:24 aballier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.5 2007/10/27 14:30:38 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.
94 fi 94 fi
95 95
96 [ -d texmf ] && doins -r texmf 96 [ -d texmf ] && doins -r texmf
97 [ -d texmf-dist ] && doins -r texmf-dist 97 [ -d texmf-dist ] && doins -r texmf-dist
98 98
99 TEXMFSYSVAR="$(kpsewhich -var-value=TEXMFSYSVAR)" 99 insinto /var/lib/texmf
100 insinto "${TEXMFSYSVAR}"
101 [ -d texmf-var ] && doins -r texmf-var/* 100 [ -d texmf-var ] && doins -r texmf-var/*
102 101
103 insinto /etc/texmf/updmap.d 102 insinto /etc/texmf/updmap.d
104 [ -f "${S}/${PN}.cfg" ] && doins "${S}/${PN}.cfg" 103 [ -f "${S}/${PN}.cfg" ] && doins "${S}/${PN}.cfg"
105 insinto /etc/texmf/dvips/config 104 insinto /etc/texmf/dvips/config

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.20