summaryrefslogtreecommitdiffstats
path: root/vim
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-12 21:11:26 +0100
committerLukc <lukc@upyum.com>2010-12-12 21:11:26 +0100
commite00bffccd0a222aa3d1a361a658865fcf4d2b717 (patch)
tree4ae3401377fae0ab8409015612fa6eb4d473fa33 /vim
parent52c28441aae00cc5710f7c80c34061e8b9a2adae (diff)
downloadbase-e00bffccd0a222aa3d1a361a658865fcf4d2b717.tar.gz
base-e00bffccd0a222aa3d1a361a658865fcf4d2b717.tar.bz2
base-e00bffccd0a222aa3d1a361a658865fcf4d2b717.tar.xz
base-e00bffccd0a222aa3d1a361a658865fcf4d2b717.zip
Recette de Vim mise à jour.
Diffstat (limited to 'vim')
-rw-r--r--vim/.footprint16
-rw-r--r--vim/Pkgfile58
2 files changed, 42 insertions, 32 deletions
diff --git a/vim/.footprint b/vim/.footprint
index f9699ef..d593786 100644
--- a/vim/.footprint
+++ b/vim/.footprint
@@ -10,18 +10,12 @@ lrwxrwxrwx root/root usr/bin/vi -> /bin/vi
lrwxrwxrwx root/root usr/bin/view -> vim
-rwxr-xr-x root/root usr/bin/vim
lrwxrwxrwx root/root usr/bin/vimdiff -> vim
-drwxr-xr-x root/root usr/man/
-drwxr-xr-x root/root usr/man/man1/
--rw-r--r-- root/root usr/man/man1/evim.1.gz
-lrwxrwxrwx root/root usr/man/man1/ex.1.gz -> vim.1.gz
-lrwxrwxrwx root/root usr/man/man1/gvim.1.gz -> vim.1.gz
-lrwxrwxrwx root/root usr/man/man1/rview.1.gz -> vim.1.gz
-lrwxrwxrwx root/root usr/man/man1/rvim.1.gz -> vim.1.gz
-lrwxrwxrwx root/root usr/man/man1/vi.1.gz -> vim.1.gz
-lrwxrwxrwx root/root usr/man/man1/view.1.gz -> vim.1.gz
--rw-r--r-- root/root usr/man/man1/vim.1.gz
--rw-r--r-- root/root usr/man/man1/vimdiff.1.gz
drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/evim.1.bz2
+-rw-r--r-- root/root usr/share/man/man1/vim.1.bz2
+-rw-r--r-- root/root usr/share/man/man1/vimdiff.1.bz2
drwxr-xr-x root/root usr/share/vim/
drwxr-xr-x root/root usr/share/vim/autoload/
-rw-r--r-- root/root usr/share/vim/autoload/ada.vim
diff --git a/vim/Pkgfile b/vim/Pkgfile
index ea0855e..c659abd 100644
--- a/vim/Pkgfile
+++ b/vim/Pkgfile
@@ -1,6 +1,6 @@
-description="Highly configurable text editor"
-packager=""
-maintainer="CRUX System Team, core-ports at crux dot nu"
+description="Highly configurable text editor."
+packager="CRUX System Team <core-ports AT crux DOT nu>"
+maintainer="Lukc <lukc AT upyum DOT com>"
url="http://www.vim.org/"
depends=(ncurses acl)
@@ -10,22 +10,38 @@ release=1
source=(ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2 http://crux.nu/files/distfiles/vim-7.3.001-050.xz)
build ()
{
- cd vim73/src;
- unxz -c $SRC/vim-7.3.*.xz | patch -p0 -d $SRC/vim73;
- ./configure --prefix=/usr --mandir=/usr/man --with-vim-name=vim --with-x=no --enable-gui=no --enable-multibyte --disable-gpm --disable-nls;
- make VIMRTDIR=;
- make VIMRTDIR= DESTDIR=$PKG installvimbin installruntime installlinks;
- mv $PKG/usr/share/vim/vimrc_example.vim $PKG/usr/share/vim/vimrc;
- rm -r $PKG/usr/{man/man?/vimtutor*,share/vim/{tutor,macros}};
- rm $PKG/usr/share/vim/*/README.txt;
- ln -sf vim $PKG/usr/bin/evim;
- ln -sf /bin/vi $PKG/usr/bin/vi;
- ln -sf vim.1.gz $PKG/usr/man/man1/ex.1.gz;
- ln -sf vim.1.gz $PKG/usr/man/man1/vi.1.gz;
- ln -sf vim.1.gz $PKG/usr/man/man1/rvim.1.gz;
- ln -sf vim.1.gz $PKG/usr/man/man1/view.1.gz;
- ln -sf vim.1.gz $PKG/usr/man/man1/rview.1.gz;
- ln -sf vim.1.gz $PKG/usr/man/man1/gvim.1.gz;
- ./configure --prefix=/ --with-vim-name=vi --with-x=no --enable-gui=no --enable-multibyte --disable-gpm --disable-nls --with-features=tiny;
- make VIMRTDIR= DESTDIR=$PKG installvimbin
+ cd vim73/src;
+ unxz -c $SRC/vim-7.3.*.xz | patch -p0 -d $SRC/vim73;
+ ./configure \
+ --prefix=$prefix \
+ --mandir=$mandir \
+ --with-vim-name=vim \
+ --with-x=no \
+ --enable-gui=no \
+ --enable-multibyte \
+ $(use_enable gpm) \
+ $(use_enable nls);
+ make VIMRTDIR=;
+ make VIMRTDIR= DESTDIR=$PKG installvimbin installruntime installlinks;
+ mv $PKG$prefix/share/vim/vimrc_example.vim $PKG$prefix/share/vim/vimrc;
+ rm -r $PKG$prefix/{${mandir/$prefix}/man?/vimtutor*,share/vim/{tutor,macros}};
+ rm $PKG$prefix/share/vim/*/README.txt;
+ ln -sf vim $PKG$prefix/bin/evim;
+ ln -sf /bin/vi $PKG$prefix/bin/vi;
+ ln -sf vim.1.gz $PKG$mandir/man1/ex.1.gz;
+ ln -sf vim.1.gz $PKG$mandir/man1/vi.1.gz;
+ ln -sf vim.1.gz $PKG$mandir/man1/rvim.1.gz;
+ ln -sf vim.1.gz $PKG$mandir/man1/view.1.gz;
+ ln -sf vim.1.gz $PKG$mandir/man1/rview.1.gz;
+ ln -sf vim.1.gz $PKG$mandir/man1/gvim.1.gz;
+ ./configure \
+ --prefix=/ \
+ --with-vim-name=vi \
+ --with-x=no \
+ --enable-gui=no \
+ --enable-multibyte \
+ --disable-gpm \
+ --disable-nls \
+ --with-features=tiny;
+ make VIMRTDIR= DESTDIR=$PKG installvimbin
}