diff options
Diffstat (limited to 'app-vim')
-rw-r--r-- | app-vim/command-t/ChangeLog | 9 | ||||
-rw-r--r-- | app-vim/command-t/command-t-1.5.ebuild | 40 |
2 files changed, 47 insertions, 2 deletions
diff --git a/app-vim/command-t/ChangeLog b/app-vim/command-t/ChangeLog index 4494999a7945..630a666c4b0e 100644 --- a/app-vim/command-t/ChangeLog +++ b/app-vim/command-t/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-vim/command-t -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-vim/command-t/ChangeLog,v 1.9 2012/08/06 21:16:16 radhermit Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-vim/command-t/ChangeLog,v 1.10 2013/09/20 16:08:37 radhermit Exp $ + +*command-t-1.5 (20 Sep 2013) + + 20 Sep 2013; Tim Harder <radhermit@gentoo.org> +command-t-1.5.ebuild: + Version bump. 06 Aug 2012; Tim Harder <radhermit@gentoo.org> -command-t-1.2.1-r1.ebuild: Remove old. diff --git a/app-vim/command-t/command-t-1.5.ebuild b/app-vim/command-t/command-t-1.5.ebuild new file mode 100644 index 000000000000..352815afbb35 --- /dev/null +++ b/app-vim/command-t/command-t-1.5.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-vim/command-t/command-t-1.5.ebuild,v 1.1 2013/09/20 16:08:37 radhermit Exp $ + +EAPI="5" +USE_RUBY="ruby18 ruby19 ruby20" + +inherit vim-plugin ruby-ng + +DESCRIPTION="vim plugin: fast file navigation for vim" +HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=3025 + https://wincent.com/products/command-t" +LICENSE="MIT" +KEYWORDS="~amd64 ~x86" + +VIM_PLUGIN_HELPFILES="${PN}.txt" + +RDEPEND="|| ( app-editors/vim[ruby] app-editors/gvim[ruby] )" + +each_ruby_configure() { + cd ruby/${PN} + ${RUBY} extconf.rb || die "extconf.rb failed" +} + +each_ruby_compile() { + cd ruby/${PN} + emake V=1 + rm *.o *.c *.h *.log extconf.rb depend Makefile || die +} + +each_ruby_install() { + local sitelibdir=$(ruby_rbconfig_value "sitelibdir") + insinto ${sitelibdir}/${PN} + doins -r ruby/${PN}/* +} + +all_ruby_install() { + rm -r ruby || die + vim-plugin_src_install +} |