diff options
author | Grant Goodyear <grant@gentoo.org> | 2001-06-01 19:43:31 +0000 |
---|---|---|
committer | Grant Goodyear <grant@gentoo.org> | 2001-06-01 19:43:31 +0000 |
commit | dbda548f5d54c052bc089bbd887c445948fc7e31 (patch) | |
tree | ad053fa53b05047eb9387270b70ced595de6d325 /sys-apps | |
parent | *** empty log message *** (diff) | |
download | gentoo-2-dbda548f5d54c052bc089bbd887c445948fc7e31.tar.gz gentoo-2-dbda548f5d54c052bc089bbd887c445948fc7e31.tar.bz2 gentoo-2-dbda548f5d54c052bc089bbd887c445948fc7e31.zip |
Latest version of vim.
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/vim-nogui/files/digest-vim-nogui-5.8 | 2 | ||||
-rw-r--r-- | sys-apps/vim-nogui/vim-nogui-5.8.ebuild | 59 |
2 files changed, 61 insertions, 0 deletions
diff --git a/sys-apps/vim-nogui/files/digest-vim-nogui-5.8 b/sys-apps/vim-nogui/files/digest-vim-nogui-5.8 new file mode 100644 index 000000000000..eb661c5d834f --- /dev/null +++ b/sys-apps/vim-nogui/files/digest-vim-nogui-5.8 @@ -0,0 +1,2 @@ +MD5 89ab05bb5cd39eeb9e259503436c11ed vim-5.8-src.tar.gz +MD5 f521c6e5f1b6308da9838a92c0ed5a04 vim-5.8-rt.tar.gz diff --git a/sys-apps/vim-nogui/vim-nogui-5.8.ebuild b/sys-apps/vim-nogui/vim-nogui-5.8.ebuild new file mode 100644 index 000000000000..b86a8ed1fc7c --- /dev/null +++ b/sys-apps/vim-nogui/vim-nogui-5.8.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Daniel Robbins <drobbins@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/sys-apps/vim-nogui/vim-nogui-5.8.ebuild,v 1.1 2001/06/01 19:43:31 grant Exp $ + +A="vim-5.8-src.tar.gz vim-5.8-rt.tar.gz" +S=${WORKDIR}/vim-5.8 +DESCRIPTION="Handy vi-compatible editor" +SRC_URI="ftp://ftp.home.vim.org/pub/vim/unix/vim-5.8-src.tar.gz + ftp://ftp.home.vim.org/pub/vim/unix/vim-5.8-rt.tar.gz" +HOMEPAGE="http://www.vim.org" + +DEPEND="virtual/glibc >=sys-libs/ncurses-5.2-r2 + gpm? ( >=sys-libs/gpm-1.19.3 )" +if [ "`use build`" ] ; then + RDEPEND="virtual/glibc" +fi +src_compile() { + + local myconf + + if [ -z "`use gpm`" ] + then + myconf="--disable-gpm" + fi + try ./configure --prefix=/usr --mandir=/usr/share/man --host=${CHOST} \ + --enable-gui=no --with-cscope --without-x $myconf + # Parallel make does not work + if [ "`use build`" ] ; then + try make LDFLAGS=\"--static\" + else + try make + fi +} + +src_install() { + + try make prefix=${D}/usr MANDIR=${D}/usr/share/man STRIP=echo install + dodoc README* + insinto /root + newins ${FILESDIR}/vimrc .vimrc + if [ "`use build`" ] ; then + rm -r ${D}/usr/share/{man,doc} + rm -r ${D}/usr/share/vim/vim58/{tutor,doc} + else + cd ${D}/usr/share/doc/${PF} + ln -s ../../vim/vim58/doc ${P} + insinto /etc/skel + newins ${FILESDIR}/vimrc .vimrc + fi + + cd ${D}/usr/bin + ln -s vim vi + dosed "s:/usr/bin/nawk:/usr/bin/awk:" /usr/share/vim/vim58/tools/mve.awk +} + + + + |