diff options
author | Peter Johanson <latexer@gentoo.org> | 2003-05-21 15:14:58 +0000 |
---|---|---|
committer | Peter Johanson <latexer@gentoo.org> | 2003-05-21 15:14:58 +0000 |
commit | fe1bdedc2d8c9d00fc1a8c5018cc2cfed371317c (patch) | |
tree | f36aaf7be81950b8d6a2d63b913f0ee48e82b9e9 /app-misc/vifm | |
parent | Initial import (diff) | |
download | historical-fe1bdedc2d8c9d00fc1a8c5018cc2cfed371317c.tar.gz historical-fe1bdedc2d8c9d00fc1a8c5018cc2cfed371317c.tar.bz2 historical-fe1bdedc2d8c9d00fc1a8c5018cc2cfed371317c.zip |
Initial import
Diffstat (limited to 'app-misc/vifm')
-rw-r--r-- | app-misc/vifm/Manifest | 3 | ||||
-rw-r--r-- | app-misc/vifm/files/digest-vifm-0.2 | 1 | ||||
-rw-r--r-- | app-misc/vifm/vifm-0.2.ebuild | 57 |
3 files changed, 60 insertions, 1 deletions
diff --git a/app-misc/vifm/Manifest b/app-misc/vifm/Manifest index 1cfe8abafbd7..25e4c32f74b1 100644 --- a/app-misc/vifm/Manifest +++ b/app-misc/vifm/Manifest @@ -1,2 +1,3 @@ -MD5 44de093716c7a1b90adce7eedf123e8c vifm-0.2.ebuild 2337 +MD5 aa47b037a6b37de0b1929f7031b53165 vifm-0.2.ebuild 1455 +MD5 90fd2bac8b3223f1e41634e6741b8e11 ChangeLog 319 MD5 2e1cb4fe666e2594a05352c0605da798 files/digest-vifm-0.2 59 diff --git a/app-misc/vifm/files/digest-vifm-0.2 b/app-misc/vifm/files/digest-vifm-0.2 new file mode 100644 index 000000000000..008c5d2de7f9 --- /dev/null +++ b/app-misc/vifm/files/digest-vifm-0.2 @@ -0,0 +1 @@ +MD5 1bcf2d89eb37d945b3c84f4f572e0e37 vifm-0.2.tar.gz 89855 diff --git a/app-misc/vifm/vifm-0.2.ebuild b/app-misc/vifm/vifm-0.2.ebuild new file mode 100644 index 000000000000..2bddf36a9226 --- /dev/null +++ b/app-misc/vifm/vifm-0.2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/vifm/vifm-0.2.ebuild,v 1.1 2003/05/21 15:14:54 latexer Exp $ + +DESCRIPTION="Console file manager with vi/vim-like keybindings" +HOMEPAGE="http://vifm.sourceforge.net/" +SRC_URI="mirror://sourceforge/vifm/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" + +KEYWORDS="~x86" +IUSE="" +DEPEND="" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + + cd ${S} + mv -f Makefile.in ${T} + sed -e "s:(datadir)/@PACKAGE@:(datadir)/${P}:" \ + ${T}/Makefile.in > Makefile.in + + cd ${S}/src + mv -f Makefile.in ${T} + sed -e "s:(datadir)/@PACKAGE@:(datadir)/${P}:" \ + ${T}/Makefile.in > Makefile.in + + mv -f config.c ${T} + sed -e "s:/usr/local/share/vifm:/usr/share/${P}:g" \ + ${T}/config.c > config.c +} + +src_compile() { + econf || die + emake || die +} + +src_install() { + einstall || die + + dodoc INSTALL AUTHORS TODO README +} +pkg_postinst() { + BEST_VERSION="`best_version app-editors/vim-core`" + VIM_REVISION="${BEST_VERSION/app-editors\//}" + VIM_VERSION="${VIM_REVISION%-r*}" + if [ -n "${VIM_VERSION}" ]; then + einfo "To use vim to view the vifm help, copy /usr/share/${P}/vifm.txt" + einfo "to /usr/share/doc/${VIM_REVISION}/${VIM_VERSION}/" + einfo "and then edit ~/vifm/vifmrc${PV} and set USE_VIM_HELP=1" + einfo "" + einfo "To use the vifm plugin in vim, copy /usr/share/${P}/vifm.vim to" + einfo "/usr/share/vim/vim61/" + fi +} |