summaryrefslogtreecommitdiff
path: root/Ports/vim
diff options
context:
space:
mode:
authorChristopher Dumas <christopherdumas@gmail.com>2019-05-27 19:02:42 -0700
committerAndreas Kling <awesomekling@gmail.com>2019-05-28 20:05:22 +0200
commit674be46afd74fd006bb007d1127b171cecb9097d (patch)
treef411f21fd42892cacb6fe300e5c7898731481ef1 /Ports/vim
parentfaafaf9b43269f7d53d8abd189d22f4ba08edb19 (diff)
downloadserenity-674be46afd74fd006bb007d1127b171cecb9097d.zip
Ports: Vim and ncurses
Diffstat (limited to 'Ports/vim')
-rwxr-xr-xPorts/vim/vim.sh30
1 files changed, 30 insertions, 0 deletions
diff --git a/Ports/vim/vim.sh b/Ports/vim/vim.sh
new file mode 100755
index 0000000000..cf4407190d
--- /dev/null
+++ b/Ports/vim/vim.sh
@@ -0,0 +1,30 @@
+#!/bin/sh
+PORT_DIR=vim
+INSTALLOPTS="DESTDIR=$SERENITY_ROOT/Root/"
+
+function fetch() {
+ run_fetch_git "https://github.com/vim/vim.git"
+}
+
+function 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
+}
+
+function build() {
+ run_make
+}
+
+function install() {
+ run_make_install
+}
+
+source ../.port_include.sh