# Description: The traditional vi, with UTF-8 support # URL: http://ex-vi.sourceforge.net/ # Maintainer: markus schnalke, meillo at marmaro dot de # Depends on: ncurses name=ex-vi version=050325 release=2 source=(http://downloads.sourceforge.net/project/$name/$name/$version/ex-$version.tar.bz2) build() { unset CHARSET cd ex-$version # increase the maximum screen size vi can handle # see comment in config.h ed - config.h <<\! ?^#define TUBESIZE?s,[0-9]*$,64000,p ?^#define TUBECOLS?s,[0-9]*$,320,p ?^#define TUBELINES?s,[0-9]*$,200,p w q ! make TERMLIB=ncurses make DESTDIR=$PKG \ PREFIX=/usr MANDIR=/usr/man LIBEXECDIR=/usr/lib/ex-vi \ TERMLIB=ncurses \ INSTALL=install install mkdir -p $PKG/bin cp $PKG/usr/bin/ex $PKG/bin ln -sf ex $PKG/bin/vi }