/[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.64 Revision 1.65
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 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.64 2013/06/26 19:22:27 aballier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.65 2013/06/28 12:43:54 aballier Exp $
4 4
5# @ECLASS: texlive-module.eclass 5# @ECLASS: texlive-module.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# tex@gentoo.org 7# tex@gentoo.org
8# @AUTHOR: 8# @AUTHOR:
42# @ECLASS-VARIABLE: TEXLIVE_MODULE_BINSCRIPTS 42# @ECLASS-VARIABLE: TEXLIVE_MODULE_BINSCRIPTS
43# @DESCRIPTION: 43# @DESCRIPTION:
44# A space separated list of files that are in fact scripts installed in the 44# A space separated list of files that are in fact scripts installed in the
45# texmf tree and that we want to be available directly. They will be installed in 45# texmf tree and that we want to be available directly. They will be installed in
46# /usr/bin. 46# /usr/bin.
47
48# @ECLASS-VARIABLE: TEXLIVE_MODULE_BINLINKS
49# @DESCRIPTION:
50# A space separated list of links to add for BINSCRIPTS.
51# The systax is: foo:bar to create a symlink bar -> foo.
47 52
48# @ECLASS-VARIABLE: TL_PV 53# @ECLASS-VARIABLE: TL_PV
49# @DESCRIPTION: 54# @DESCRIPTION:
50# Normally the module's PV reflects the TeXLive release it belongs to. 55# Normally the module's PV reflects the TeXLive release it belongs to.
51# If this is not the case, TL_PV takes the version number for the 56# If this is not the case, TL_PV takes the version number for the
341 insinto /etc/texmf/language.dat.lua.d 346 insinto /etc/texmf/language.dat.lua.d
342 doins "${S}/language.${PN}.dat.lua" 347 doins "${S}/language.${PN}.dat.lua"
343 fi 348 fi
344 349
345 [ -n "${TEXLIVE_MODULE_BINSCRIPTS}" ] && dobin_texmf_scripts ${TEXLIVE_MODULE_BINSCRIPTS} 350 [ -n "${TEXLIVE_MODULE_BINSCRIPTS}" ] && dobin_texmf_scripts ${TEXLIVE_MODULE_BINSCRIPTS}
351 if [ -n "${TEXLIVE_MODULE_BINLINKS}" ] ; then
352 for i in ${TEXLIVE_MODULE_BINLINKS} ; do
353 [ -f "${ED}/usr/bin/${i%:*}" ] || die "Trying to install an invalid BINLINK. This should not happen. Please file a bug."
354 dosym ${i%:*} /usr/bin/${i#*:}
355 done
356 fi
346 357
347 texlive-common_handle_config_files 358 texlive-common_handle_config_files
348} 359}
349 360
350# @FUNCTION: texlive-module_pkg_postinst 361# @FUNCTION: texlive-module_pkg_postinst

Legend:
Removed from v.1.64  
changed lines
  Added in v.1.65

  ViewVC Help
Powered by ViewVC 1.1.20