summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-06-02 11:58:10 +0000
committerTim Harder <radhermit@gentoo.org>2011-06-02 11:58:10 +0000
commit543eeb9cbbd93e19aeaaacc4fe5c0ce9fd2233d4 (patch)
tree7b1a191f5a8d1b017d68943ec25329765b48de6b /app-vim
parentFix building against libpng-1.5. Closes bug 369663 by Christoph Mende. (diff)
downloadgentoo-2-543eeb9cbbd93e19aeaaacc4fe5c0ce9fd2233d4.tar.gz
gentoo-2-543eeb9cbbd93e19aeaaacc4fe5c0ce9fd2233d4.tar.bz2
gentoo-2-543eeb9cbbd93e19aeaaacc4fe5c0ce9fd2233d4.zip
Initial import.
(Portage version: 2.2.0_alpha37/cvs/Linux x86_64)
Diffstat (limited to 'app-vim')
-rw-r--r--app-vim/command-t/ChangeLog10
-rw-r--r--app-vim/command-t/command-t-1.2.1.ebuild43
-rw-r--r--app-vim/command-t/metadata.xml5
3 files changed, 58 insertions, 0 deletions
diff --git a/app-vim/command-t/ChangeLog b/app-vim/command-t/ChangeLog
new file mode 100644
index 000000000000..e87c68dd497b
--- /dev/null
+++ b/app-vim/command-t/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-vim/command-t
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-vim/command-t/ChangeLog,v 1.1 2011/06/02 11:58:10 radhermit Exp $
+
+*command-t-1.2.1 (02 Jun 2011)
+
+ 02 Jun 2011; Tim Harder <radhermit@gentoo.org> +command-t-1.2.1.ebuild,
+ +metadata.xml:
+ Initial import.
+
diff --git a/app-vim/command-t/command-t-1.2.1.ebuild b/app-vim/command-t/command-t-1.2.1.ebuild
new file mode 100644
index 000000000000..9bffa6f41423
--- /dev/null
+++ b/app-vim/command-t/command-t-1.2.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2011 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.2.1.ebuild,v 1.1 2011/06/02 11:58:10 radhermit Exp $
+
+EAPI="4"
+USE_RUBY="ruby18 ruby19"
+
+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"
+IUSE=""
+
+VIM_PLUGIN_HELPFILES="command-t.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
+}
+
+each_ruby_install() {
+ local sitelibdir=$(ruby_rbconfig_value "sitelibdir")
+ insinto ${sitelibdir}/${PN}
+ insopts -m0755
+ doins ruby/${PN}/ext.so
+}
+
+all_ruby_install() {
+ pushd ruby/${PN} > /dev/null
+ rm *.c *.h extconf.rb depend
+ popd > /dev/null
+ vim-plugin_src_install
+}
diff --git a/app-vim/command-t/metadata.xml b/app-vim/command-t/metadata.xml
new file mode 100644
index 000000000000..d221a8d4b42c
--- /dev/null
+++ b/app-vim/command-t/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>vim</herd>
+</pkgmetadata>