summaryrefslogtreecommitdiff
path: root/Ports/vim
diff options
context:
space:
mode:
Diffstat (limited to 'Ports/vim')
-rwxr-xr-xPorts/vim/package.sh17
-rwxr-xr-xPorts/vim/vim.sh30
2 files changed, 17 insertions, 30 deletions
diff --git a/Ports/vim/package.sh b/Ports/vim/package.sh
new file mode 100755
index 0000000000..6843e00047
--- /dev/null
+++ b/Ports/vim/package.sh
@@ -0,0 +1,17 @@
+#!/bin/bash ../.port_include.sh
+port=vim
+version=git
+workdir=vim-master
+useconfigure="true"
+curlopts="-L"
+files="https://github.com/vim/vim/archive/master.tar.gz vim-git.tar.gz"
+configopts="--with-tlib=ncurses --with-features=small"
+depends="ncurses"
+
+export vim_cv_getcwd_broken=no
+export vim_cv_memmove_handles_overlap=yes
+export vim_cv_stat_ignores_slash=yes
+export vim_cv_tgetent=zero
+export vim_cv_terminfo=yes
+export vim_cv_toupper_broken=no
+export vim_cv_tty_group=world
diff --git a/Ports/vim/vim.sh b/Ports/vim/vim.sh
deleted file mode 100755
index 98a7567a10..0000000000
--- a/Ports/vim/vim.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/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