summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2003-07-30 18:47:06 +0000
committerAron Griffis <agriffis@gentoo.org>2003-07-30 18:47:06 +0000
commit6765f730f6d4f1462935af5c8d9d722afc1468e8 (patch)
tree0c04acca205b34e31eb7327f35e83330fa3b143b /eclass/vim.eclass
parentBug 22671 - vapier found the fix - should work again (diff)
downloadhistorical-6765f730f6d4f1462935af5c8d9d722afc1468e8.tar.gz
historical-6765f730f6d4f1462935af5c8d9d722afc1468e8.tar.bz2
historical-6765f730f6d4f1462935af5c8d9d722afc1468e8.zip
add vim-doc and vim-plugin eclasses in prep for app-vim category
Diffstat (limited to 'eclass/vim.eclass')
-rw-r--r--eclass/vim.eclass14
1 files changed, 11 insertions, 3 deletions
diff --git a/eclass/vim.eclass b/eclass/vim.eclass
index 638b659e269e..c60745b1a071 100644
--- a/eclass/vim.eclass
+++ b/eclass/vim.eclass
@@ -1,17 +1,17 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.34 2003/07/30 03:03:27 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.35 2003/07/30 18:47:06 agriffis Exp $
# Authors:
# Ryan Phillips <rphillips@gentoo.org>
# Seemant Kulleen <seemant@gentoo.org>
# Aron Griffis <agriffis@gentoo.org>
+inherit eutils vim-doc
ECLASS=vim
+INHERITED="$INHERITED $ECLASS"
EXPORT_FUNCTIONS src_unpack
-inherit eutils
-
IUSE="$IUSE ncurses nls"
if [ ${PN} != vim-core ]; then
IUSE="$IUSE cscope gpm perl python ruby"
@@ -263,6 +263,9 @@ src_install() {
}
pkg_postinst() {
+ # Update documentation tags (from vim-doc.eclass)
+ update_vim_helptags
+
einfo
if [ ${PN} = gvim ]; then
einfo "To enable UTF-8 viewing, set guifont and guifontwide: "
@@ -293,3 +296,8 @@ pkg_postinst() {
[ -f /usr/bin/gvim ] && ln -s gvim /usr/bin/vim 2>/dev/null
[ -f /usr/bin/vim ] && ln -s vim /usr/bin/vi 2>/dev/null
}
+
+pkg_postrm() {
+ # Update documentation tags (from vim-doc.eclass)
+ update_vim_helptags
+}