diff options
author | Ciaran McCreesh <ciaranm@gentoo.org> | 2005-01-21 16:56:48 +0000 |
---|---|---|
committer | Ciaran McCreesh <ciaranm@gentoo.org> | 2005-01-21 16:56:48 +0000 |
commit | 9df5c53679bf9836f2b5329aa8b79f1a89ac1ffa (patch) | |
tree | 16bce724b12c1d6fecde9c34cfba06aeea9a7083 /app-vim/doxygen-syntax/doxygen-syntax-1.9.ebuild | |
parent | removed in favor of kde-base/kdewebdev (diff) | |
download | gentoo-2-9df5c53679bf9836f2b5329aa8b79f1a89ac1ffa.tar.gz gentoo-2-9df5c53679bf9836f2b5329aa8b79f1a89ac1ffa.tar.bz2 gentoo-2-9df5c53679bf9836f2b5329aa8b79f1a89ac1ffa.zip |
New version, bug #78705
(Portage version: 2.0.51-r14)
Diffstat (limited to 'app-vim/doxygen-syntax/doxygen-syntax-1.9.ebuild')
-rw-r--r-- | app-vim/doxygen-syntax/doxygen-syntax-1.9.ebuild | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/app-vim/doxygen-syntax/doxygen-syntax-1.9.ebuild b/app-vim/doxygen-syntax/doxygen-syntax-1.9.ebuild new file mode 100644 index 000000000000..6bc346e3346b --- /dev/null +++ b/app-vim/doxygen-syntax/doxygen-syntax-1.9.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-vim/doxygen-syntax/doxygen-syntax-1.9.ebuild,v 1.1 2005/01/21 16:56:48 ciaranm Exp $ + +inherit vim-plugin + +DESCRIPTION="vim plugin: syntax higlighting for doxygen" +HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=5" +LICENSE="as-is" +KEYWORDS="~x86 ~sparc ~mips ~hppa ~arm" +IUSE="" + +VIM_PLUGIN_HELPFILES="doxygen.vim" + +src_unpack() { + unpack ${A} + cd ${S} + # make this work with the screwy vim7-supplied synload.vim, and fix the + # bug which causes it to try to use b:current_syntax when it's unset. + sed -e "/^let s:cpo_save/iif ! exists('b:current_syntax') | \ +let b:current_syntax='' | endif" \ + -e "s/^if !exists('b:current_syntax')$/& || b:current_syntax == ''/" \ + -e '1iau! Syntax cpp,c,idl' \ + -e '1iau! Syntax *doxygen' \ + -i syntax/doxygen.vim || \ + die "sed failed" +} + |