summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2010-11-07 19:46:55 +0000
committerAlexis Ballier <aballier@gentoo.org>2010-11-07 19:46:55 +0000
commit29214e6e8ef2d42238c46e4336f91a7a2d3aecc0 (patch)
treeb0e76fb3e402426af2153240aa76d63712c54ae2 /eclass/texlive-module.eclass
parentupdate ooo-3.2.0 to use virtual/jpeg as well (diff)
downloadhistorical-29214e6e8ef2d42238c46e4336f91a7a2d3aecc0.tar.gz
historical-29214e6e8ef2d42238c46e4336f91a7a2d3aecc0.tar.bz2
historical-29214e6e8ef2d42238c46e4336f91a7a2d3aecc0.zip
Introduce TL_MODULE_INFORMATION variable for displaying postinst messages.
Diffstat (limited to 'eclass/texlive-module.eclass')
-rw-r--r--eclass/texlive-module.eclass8
1 files changed, 7 insertions, 1 deletions
diff --git a/eclass/texlive-module.eclass b/eclass/texlive-module.eclass
index a2de6224dc56..05af6f93704b 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.56 2010/11/07 19:24:18 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.57 2010/11/07 19:46:55 aballier Exp $
# @ECLASS: texlive-module.eclass
# @MAINTAINER:
@@ -54,6 +54,11 @@
# If this is not the case, TL_PV takes the version number for the
# needed app-text/texlive-core.
+# @ECLASS-VARIABLE: TL_MODULE_INFORMATION
+# @DESCRIPTION:
+# Information to display about the package.
+# e.g. for enabling/disabling a feature
+
inherit texlive-common
HOMEPAGE="http://www.tug.org/texlive/"
@@ -360,6 +365,7 @@ texlive-module_src_install() {
texlive-module_pkg_postinst() {
etexmf-update
+ [ -n "${TL_MODULE_INFORMATION}" ] && elog "${TL_MODULE_INFORMATION}"
}
# @FUNCTION: texlive-module_pkg_postrm