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 | 8cd0b651882fd08fe14b8d3f05490819584c60d6 (patch) | |
tree | b086001e9ad80a3eb72f7a14a8335d9e401e538e | |
parent | Initial import (diff) | |
download | gentoo-2-8cd0b651882fd08fe14b8d3f05490819584c60d6.tar.gz gentoo-2-8cd0b651882fd08fe14b8d3f05490819584c60d6.tar.bz2 gentoo-2-8cd0b651882fd08fe14b8d3f05490819584c60d6.zip |
Initial import
-rw-r--r-- | app-misc/vifm/ChangeLog | 8 | ||||
-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 |
4 files changed, 68 insertions, 1 deletions
diff --git a/app-misc/vifm/ChangeLog b/app-misc/vifm/ChangeLog new file mode 100644 index 000000000000..28f0e72ad371 --- /dev/null +++ b/app-misc/vifm/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for app-misc/vifm +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/vifm/ChangeLog,v 1.1 2003/05/21 15:14:54 latexer Exp $ + +*vifm-0.2 (21 May 2003) + + 21 May 2003; Peter Johanson <latexer@gentoo.org> vifm-0.2.ebuild: + Initial import 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 +} |