summaryrefslogtreecommitdiff
path: root/Ports/frotz/package.sh
blob: 250bbc66a43795955eabb4aa5c74a7625837894a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env -S bash ../.port_include.sh
port=frotz
version=git
workdir=frotz-master
files="https://gitlab.com/DavidGriffith/frotz/-/archive/master/frotz-master.zip frotz-master.zip"
depends="ncurses"

build() {
    run make \
        AR=i686-pc-serenity-ar \
        RANLIB=i686-pc-serenity-ranlib \
        PKG_CONFIG_CURSES=no \
        CURSES_CFLAGS="-I${SERENITY_ROOT}/Build/Root/usr/local/include/ncurses" \
        CURSES_LDFLAGS="-lncurses -ltinfo" \
        CURSES=ncurses \
        USE_UTF8=no \
        nosound
}