summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Alexander <wired@gentoo.org>2011-11-24 22:03:54 +0000
committerAlex Alexander <wired@gentoo.org>2011-11-24 22:03:54 +0000
commit3effe64335f2770b1157c228232685cd04429e12 (patch)
tree440a603272e519b26b24b9e2ad2009fa5727e0c2 /app-misc
parentmodified ldflags patch to fix ldflags on bin/js, bug 391665 (diff)
downloadgentoo-2-3effe64335f2770b1157c228232685cd04429e12.tar.gz
gentoo-2-3effe64335f2770b1157c228232685cd04429e12.tar.bz2
gentoo-2-3effe64335f2770b1157c228232685cd04429e12.zip
version bump, bug #391681
(Portage version: 2.2.0_alpha77/cvs/Linux x86_64)
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/vifm/ChangeLog8
-rw-r--r--app-misc/vifm/metadata.xml6
-rw-r--r--app-misc/vifm/vifm-0.7.1.ebuild62
3 files changed, 75 insertions, 1 deletions
diff --git a/app-misc/vifm/ChangeLog b/app-misc/vifm/ChangeLog
index 116ac7558100..a78faa18c97e 100644
--- a/app-misc/vifm/ChangeLog
+++ b/app-misc/vifm/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/vifm
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/vifm/ChangeLog,v 1.20 2011/03/29 20:41:03 wired Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/vifm/ChangeLog,v 1.21 2011/11/24 22:03:54 wired Exp $
+
+*vifm-0.7.1 (24 Nov 2011)
+
+ 24 Nov 2011; Alex Alexander <wired@gentoo.org> +vifm-0.7.1.ebuild,
+ metadata.xml:
+ version bump, bug #391681
*vifm-0.5-r1 (29 Mar 2011)
diff --git a/app-misc/vifm/metadata.xml b/app-misc/vifm/metadata.xml
index db8b2a2e3796..9fb2570ae951 100644
--- a/app-misc/vifm/metadata.xml
+++ b/app-misc/vifm/metadata.xml
@@ -5,6 +5,12 @@
<email>wired@gentoo.org</email>
<name>Alex Alexander</name>
</maintainer>
+ <use>
+ <flag name="compatibility">Compatibility with previous versions of vifm</flag>
+ <flag name="extended-keys">Support for extended keys (arrows, home etc)</flag>
+ <flag name="magic">Use libmagic to determine mimetypes</flag>
+ <flag name="vim-plugin">Install the vifm vim plugin</flag>
+ </use>
<longdescription>
Vifm is a ncurses based file manager with vi like keybindings. If you
use vi, vifm gives you complete keyboard control over your files without
diff --git a/app-misc/vifm/vifm-0.7.1.ebuild b/app-misc/vifm/vifm-0.7.1.ebuild
new file mode 100644
index 000000000000..304b9a8b5d78
--- /dev/null
+++ b/app-misc/vifm/vifm-0.7.1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/vifm/vifm-0.7.1.ebuild,v 1.1 2011/11/24 22:03:54 wired Exp $
+
+EAPI=4
+inherit base
+
+DESCRIPTION="Console file manager with vi(m)-like keybindings"
+HOMEPAGE="http://vifm.sourceforge.net/"
+SRC_URI="mirror://sourceforge/vifm/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~s390 ~x86"
+IUSE="+compatibility +extended-keys +magic vim-plugin vim-syntax"
+
+DEPEND="
+ >=sys-libs/ncurses-5.7-r7
+ magic? ( sys-apps/file )
+"
+RDEPEND="
+ ${DEPEND}
+ vim-plugin? ( >=app-editors/vim-7.3 )
+ vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )
+"
+
+DOCS=( AUTHORS TODO README )
+
+src_configure() {
+ econf \
+ $(use_enable compatibility compatibility-mode) \
+ $(use_enable extended-keys) \
+ $(use_with magic libmagic)
+}
+
+src_install() {
+ base_src_install
+
+ if use vim-syntax; then
+ local t
+ for t in ftdetect ftplugin syntax; do
+ insinto /usr/share/vim/vimfiles/"${t}"
+ doins "${S}"/data/vim/"${t}"/"${PN}".vim
+ done
+ fi
+ if use vim-plugin; then
+ local t
+ for t in doc plugin; do
+ insinto /usr/share/vim/vimfiles/"${t}"
+ doins "${S}"/data/vim/"${t}"/"${PN}".*
+ done
+ fi
+}
+
+pkg_postinst() {
+ elog "To use vim to view the vifm help, copy /usr/share/${P}/vifm.txt"
+ elog " to ~/.vim/doc/ and run ':helptags ~/.vim/doc' in vim,"
+ elog "then edit ~/.vifm/vifmrc${PV/a/} and set USE_VIM_HELP=1"
+ elog ""
+ elog "To use the vifm plugin in vim, copy /usr/share/${P}/vifm.vim to"
+ elog " /usr/share/vim/vimXX/"
+}