mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-16 00:30:06 +02:00
* vim-7.4 recipe and makefile adjusted for building both console and GUI vim binaries; * patch trailing whitespaces cleanup. Thanks to Alex von Gluck for initial turning this stuff function.
75 lines
1.8 KiB
Plaintext
75 lines
1.8 KiB
Plaintext
SUMMARY="Vim is highly configurable text editor."
|
|
DESCRIPTION="
|
|
Vim is a highly configurable text editor built to enable efficient text
|
|
editing. It is an improved version of the vi editor distributed with most
|
|
UNIX systems.
|
|
|
|
Vim is often called a \"programmer's editor,\" and so useful for programming
|
|
that many consider it an entire IDE. It's not just for programmers, though.
|
|
Vim is perfect for all kinds of text editing, from composing email to editing
|
|
configuration files.
|
|
|
|
Despite what the above comic suggests, Vim can be configured to work in a very
|
|
simple (Notepad-like) way, called evim or Easy Vim.
|
|
"
|
|
HOMEPAGE="http://www.vim.org"
|
|
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-7.4.tar.bz2"
|
|
COPYRIGHT="Bram Moleenar et al."
|
|
LICENSE="Vim"
|
|
REVISION="1"
|
|
CHECKSUM_MD5="607e135c559be642f210094ad023dc65"
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
|
|
PROVIDES="
|
|
vim = $portVersion
|
|
cmd:ex = $portVersion
|
|
cmd:gview = $portVersion
|
|
cmd:gvim = $portVersion
|
|
cmd:gvimdiff = $portVersion
|
|
cmd:rgview = $portVersion
|
|
cmd:rgvim = $portVersion
|
|
cmd:rview = $portVersion
|
|
cmd:rvim = $portVersion
|
|
cmd:vim = $portVersion
|
|
cmd:vimdiff = $portVersion
|
|
cmd:vimtutor = $portVersion
|
|
cmd:view = $portVersion
|
|
cmd:xxd = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix >= $haikuVersion
|
|
lib:libncurses
|
|
"
|
|
BUILD_REQUIRES="
|
|
ncurses_devel
|
|
gettext
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
|
cmd:make
|
|
cmd:autoconf
|
|
cmd:gcc
|
|
"
|
|
|
|
SOURCE_DIR="vim74"
|
|
PATCHES="
|
|
vim-7.4.patch
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cd src
|
|
autoconf
|
|
runConfigure ./configure --disable-gui --with-features=big --with-compiledby=$packager
|
|
make $jobArgs
|
|
cp vim vim.con # preserve gui-less executable
|
|
rm objects/*.o
|
|
runConfigure ./configure --with-features=big --with-compiledby=$packager
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
}
|