mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 02:27:44 +00:00
Ports: Make array-like settings actual arrays
We may need entries with spaces in makeopts, installopts, and configopts, and at that point we should also convert depends and auth_opts to avoid confusion.
This commit is contained in:
parent
e507cfcdb0
commit
c07f91474d
149 changed files with 352 additions and 345 deletions
|
@ -4,22 +4,22 @@ version=3.6.6
|
|||
workdir=NetHack-NetHack-${version}_Released
|
||||
files="https://www.nethack.org/download/${version}/nethack-${version//.}-src.tgz nethack-${version//.}-src.tgz cfde0c3ab6dd7c22ae82e1e5a59ab80152304eb23fb06e3129439271e5643ed2"
|
||||
auth_type=sha256
|
||||
depends="ncurses bash"
|
||||
depends=("ncurses" "bash")
|
||||
|
||||
build() {
|
||||
run sys/unix/setup.sh sys/unix/hints/serenity
|
||||
if [ ! -f ${workdir}/util/makedefs.host ]; then
|
||||
host_env
|
||||
run make -C util makedefs $makeopts
|
||||
run make -C util makedefs "${makeopts[@]}"
|
||||
run cp util/makedefs util/makedefs.host
|
||||
run make -C util dgn_comp $makeopts
|
||||
run make -C util dgn_comp "${makeopts[@]}"
|
||||
run cp util/dgn_comp util/dgn_comp.host
|
||||
run make -C util lev_comp $makeopts
|
||||
run make -C util lev_comp "${makeopts[@]}"
|
||||
run cp util/lev_comp util/lev_comp.host
|
||||
run make -C util dlb $makeopts
|
||||
run make -C util dlb "${makeopts[@]}"
|
||||
run cp util/dlb util/dlb.host
|
||||
target_env
|
||||
run make clean
|
||||
fi
|
||||
run make $makeopts
|
||||
run make "${makeopts[@]}"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue