summaryrefslogtreecommitdiff
path: root/Ports/vim/vim.sh
blob: 98a7567a106d92761162c957484285731bc233ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/sh
PORT_DIR=vim
INSTALLOPTS="DESTDIR=$SERENITY_ROOT/Root/"

fetch() {
    run_fetch_git "https://github.com/vim/vim.git"
}

configure() {
	run_send_to_file src/auto/config.cache "
	vim_cv_getcwd_broken=no
	vim_cv_memmove_handles_overlap=yes
	vim_cv_stat_ignores_slash=yes
	vim_cv_tgetent=zero
	vim_cv_terminfo=yes
	vim_cv_toupper_broken=no
	vim_cv_tty_group=world
	"
	run_configure_autotools --with-tlib=ncurses --with-features=small
}

build() {
    run_make
}

install() {
    run_make_install
}

. ../.port_include.sh