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
commit61aae09e1c0fe0b53c0e0358696b387142a6ddb7 (patch)
treebb2086f0fb80143413bea62af434c07572f0b320 /eclass/texlive-module.eclass
parentupdate ooo-3.2.0 to use virtual/jpeg as well (diff)
downloadgentoo-2-61aae09e1c0fe0b53c0e0358696b387142a6ddb7.tar.gz
gentoo-2-61aae09e1c0fe0b53c0e0358696b387142a6ddb7.tar.bz2
gentoo-2-61aae09e1c0fe0b53c0e0358696b387142a6ddb7.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