2021-01-22 19:44:05 +03:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
2019-09-24 09:56:39 +03:00
|
|
|
port=vim
|
2022-03-13 02:38:41 +03:00
|
|
|
version=8.2.4554
|
2021-04-17 14:45:23 +03:00
|
|
|
workdir="${port}-${version}"
|
2019-09-24 09:56:39 +03:00
|
|
|
useconfigure="true"
|
2022-03-13 02:38:41 +03:00
|
|
|
files="https://github.com/vim/vim/archive/refs/tags/v${version}.tar.gz vim-v${version}.tar.gz 206c8fc2535df33b9ea62fa1c9acae66c981a3e3aa4de0f652ef3a25e2b92571"
|
2021-04-25 13:20:15 +03:00
|
|
|
auth_type=sha256
|
2021-09-27 01:16:18 +03:00
|
|
|
configopts=("--with-tlib=tinfo" "--with-features=normal")
|
|
|
|
depends=("ncurses" "gettext")
|
2019-09-24 09:56:39 +03:00
|
|
|
|
|
|
|
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
|
2021-10-31 21:37:06 +03:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
run ln -sf vim "${SERENITY_INSTALL_ROOT}/usr/local/bin/vi"
|
|
|
|
}
|