summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-09-02 09:56:31 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-09-02 09:56:31 +0000
commitd61ee78cb5cc948a17ede902afae5552bc0e86c4 (patch)
tree561345a877d186fd66f228523140d979e6ff2a05 /eclass/texlive-module.eclass
parentVersion bump (diff)
downloadgentoo-2-d61ee78cb5cc948a17ede902afae5552bc0e86c4.tar.gz
gentoo-2-d61ee78cb5cc948a17ede902afae5552bc0e86c4.tar.bz2
gentoo-2-d61ee78cb5cc948a17ede902afae5552bc0e86c4.zip
add a small function to install a script from the texmf tree, add TEXLIVE_MODULE_BINSCRIPTS variable to texlive-module so that ebuilds can use it easily
Diffstat (limited to 'eclass/texlive-module.eclass')
-rw-r--r--eclass/texlive-module.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/texlive-module.eclass b/eclass/texlive-module.eclass
index 0f1fa1fd8c44..8504c94fc098 100644
--- a/eclass/texlive-module.eclass
+++ b/eclass/texlive-module.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.16 2008/08/22 11:32:30 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.17 2008/09/02 09:56:31 aballier Exp $
# @ECLASS: texlive-module.eclass
# @MAINTAINER:
@@ -232,6 +232,7 @@ texlive-module_src_install() {
insinto /etc/texmf/language.dat.d
doins "${S}/language.${PN}.dat"
fi
+ [ -n "${TEXLIVE_MODULE_BINSCRIPTS}" ] && dobin_texmf_scripts ${TEXLIVE_MODULE_BINSCRIPTS}
texlive-common_handle_config_files
}