summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Alexander <wired@gentoo.org>2013-02-06 11:54:36 +0000
committerAlex Alexander <wired@gentoo.org>2013-02-06 11:54:36 +0000
commite5f5c3aab2a93408b550a1888a889d0f4262cc21 (patch)
treecf08c53131ecd1068c5fa56577ad2139f6419e5c /app-misc
parentAdd myself and krigstask to metadata (diff)
downloadgentoo-2-e5f5c3aab2a93408b550a1888a889d0f4262cc21.tar.gz
gentoo-2-e5f5c3aab2a93408b550a1888a889d0f4262cc21.tar.bz2
gentoo-2-e5f5c3aab2a93408b550a1888a889d0f4262cc21.zip
version bump, merged vim-* USE flags, used vim-plugin eclass for proper plugin and doc installation, bug #438902
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key EB9B4AFA)
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/vifm/ChangeLog11
-rw-r--r--app-misc/vifm/metadata.xml2
-rw-r--r--app-misc/vifm/vifm-0.7.4b.ebuild54
3 files changed, 65 insertions, 2 deletions
diff --git a/app-misc/vifm/ChangeLog b/app-misc/vifm/ChangeLog
index b17e8c9b3f1b..32ce0bd91edf 100644
--- a/app-misc/vifm/ChangeLog
+++ b/app-misc/vifm/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-misc/vifm
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/vifm/ChangeLog,v 1.26 2012/09/16 14:26:42 armin76 Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/vifm/ChangeLog,v 1.27 2013/02/06 11:54:36 wired Exp $
+
+*vifm-0.7.4b (06 Feb 2013)
+
+ 06 Feb 2013; Alex Alexander <wired@gentoo.org> +vifm-0.7.4b.ebuild,
+ metadata.xml:
+ version bump, merged vim-* USE flags, used vim-plugin eclass for proper
+ plugin and doc installation, bug #438902
16 Sep 2012; Raúl Porcel <armin76@gentoo.org> vifm-0.7.2.ebuild:
s390 stable wrt #414615
diff --git a/app-misc/vifm/metadata.xml b/app-misc/vifm/metadata.xml
index 9fb2570ae951..5d50cb372497 100644
--- a/app-misc/vifm/metadata.xml
+++ b/app-misc/vifm/metadata.xml
@@ -8,7 +8,9 @@
<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="gtk">Use gtk+ to determine mimetypes</flag>
<flag name="magic">Use libmagic to determine mimetypes</flag>
+ <flag name="vim">Install the vifm vim plugin, documentation and syntax</flag>
<flag name="vim-plugin">Install the vifm vim plugin</flag>
</use>
<longdescription>
diff --git a/app-misc/vifm/vifm-0.7.4b.ebuild b/app-misc/vifm/vifm-0.7.4b.ebuild
new file mode 100644
index 000000000000..6db53d1ca50b
--- /dev/null
+++ b/app-misc/vifm/vifm-0.7.4b.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/vifm/vifm-0.7.4b.ebuild,v 1.1 2013/02/06 11:54:36 wired Exp $
+
+EAPI=5
+inherit base vim-plugin
+
+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="X +extended-keys gtk +magic vim"
+
+DEPEND="
+ >=sys-libs/ncurses-5.7-r7
+ magic? ( sys-apps/file )
+ gtk? ( x11-libs/gtk+:2 )
+ X? ( x11-libs/libX11 )
+"
+RDEPEND="
+ ${DEPEND}
+"
+
+DOCS=( AUTHORS TODO README )
+
+src_configure() {
+ econf \
+ $(use_enable extended-keys) \
+ $(use_with magic libmagic) \
+ $(use_with gtk) \
+ $(use_with X X11)
+}
+
+src_install() {
+ base_src_install
+
+ if use vim; then
+ local s="${S}"
+ S="${S}"/data/vim/
+ vim-plugin_src_install
+ S="${s}"
+ fi
+}
+
+pkg_postinst() {
+ use vim && vim-plugin_pkg_postinst
+}
+
+pkg_postrm() {
+ use vim && vim-plugin_pkg_postrm
+}