1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 23:07:35 +00:00

Ports: Add frotz port (#1859)

This commit is contained in:
Noah Rosamilia 2020-04-18 20:10:41 -04:00 committed by GitHub
parent 1c44ae6d19
commit 3c9a870b8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 0 deletions

18
Ports/frotz/package.sh Executable file
View file

@ -0,0 +1,18 @@
#!/bin/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}/Root/usr/local/include/ncurses" \
CURSES_LDFLAGS="-lncurses -ltinfo" \
CURSES=ncurses \
USE_UTF8=no \
nosound
}