2021-06-05 14:31:13 +03:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
|
|
|
port=zsh
|
2023-04-18 13:55:23 +03:00
|
|
|
version=5.9
|
2023-07-10 14:10:29 +03:00
|
|
|
files=(
|
2023-09-02 07:32:27 +03:00
|
|
|
"https://sourceforge.net/projects/zsh/files/zsh/${version}/zsh-${version}.tar.xz#9b8d1ecedd5b5e81fbf1918e876752a7dd948e05c1a0dba10ab863842d45acd5"
|
2023-07-10 14:10:29 +03:00
|
|
|
)
|
2021-06-05 14:31:13 +03:00
|
|
|
useconfigure=true
|
2022-01-08 16:32:29 +03:00
|
|
|
use_fresh_config_sub=true
|
2021-06-05 14:31:13 +03:00
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
run "./Util/preconfig"
|
|
|
|
}
|
2023-04-18 13:55:23 +03:00
|
|
|
|
|
|
|
post_configure() {
|
|
|
|
run_replace_in_file "s/define HAVE_PRCTL 1/undef HAVE_PRCTL/" config.h
|
|
|
|
}
|
2023-04-22 21:00:28 +03:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
cp "${PORT_META_DIR}/zshrc" "${SERENITY_INSTALL_ROOT}/etc/"
|
|
|
|
}
|