1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name frotz |
---|
6 | version 2.53 |
---|
7 | categories games |
---|
8 | platforms darwin |
---|
9 | maintainers nomaintainer |
---|
10 | license GPL-2+ |
---|
11 | |
---|
12 | description an interpreter for Infocom Z-Code games |
---|
13 | long_description Frotz provides a portable implementation of the zcode \ |
---|
14 | virtual machine used for all Infocom text adventures and many of those \ |
---|
15 | written by other authors. |
---|
16 | homepage https://davidgriffith.gitlab.io/frotz/ |
---|
17 | master_sites http://www.ifarchive.org/if-archive/infocom/interpreters/frotz/ |
---|
18 | |
---|
19 | checksums rmd160 323e24a026b1418713c84ad170ad36f3680d0bb8 \ |
---|
20 | sha256 ed288b2ddad6c100f7ad7cb6ee8c867053d75144e96160b5ba00abb8969cdf30 \ |
---|
21 | size 461585 |
---|
22 | |
---|
23 | depends_build port:pkgconfig |
---|
24 | depends_lib port:ncurses |
---|
25 | patchfiles patch-Makefile |
---|
26 | |
---|
27 | use_configure no |
---|
28 | |
---|
29 | variant universal {} |
---|
30 | |
---|
31 | build.env PREFIX=${prefix} \ |
---|
32 | SYSCONFDIR=${prefix}/etc \ |
---|
33 | CC=${configure.cc} \ |
---|
34 | CFLAGS=[get_canonical_archflags cc] \ |
---|
35 | SOUND_TYPE=none |
---|
36 | build.target curses |
---|
37 | |
---|
38 | destroot.env {*}${build.env} |
---|
39 | |
---|
40 | if {${os.platform} eq "darwin" && ${os.major} <= 10} { |
---|
41 | build.env-append NO_STRDUP=yes |
---|
42 | } |
---|
43 | |
---|
44 | # TODO: sound and SDL variants or subports |
---|