Ticket #19445 (closed submission: fixed)
Submission of portfile for fizmo Z-Machine interpreter
| Reported by: | chrender-macports-1@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.7.1 |
| Keywords: | Cc: | ||
| Port: | fizmo |
Description
This is a request to add a portfile for the fizmo Z-Machine interpreter, a console-based app used to play Infocom / Inform text adventures. See http://spellbreaker.org/~chrender/fizmo/ for screenshots and more information.
Attachments
Change History
comment:1 Changed 4 years ago by macsforever2000@…
- Priority changed from Low to Normal
- Port set to fizmo
comment:2 Changed 4 years ago by blb@…
Two issues that I ran into:
- config.macports.mk hardcodes /opt/local, which is not always the right location; the following fixes this
post-patch { reinplace "s|/opt/local|${prefix}|g" ${worksrcpath}/config.macports.mk } - it links against MacPorts' libxml2 but because of the setting for LIBXML2_INC_DIR in config.macports.mk, it uses the includes in /usr/include; this could cause issues, though I'm not positive. Should it just also depend on libxml2 and use that completely?
comment:3 Changed 4 years ago by chrender-macports-1@…
Thanks for looking into the port, and especially for the libxml2 hint. For the current version I think it's best to use the MacPorts libxml2:
post-patch {
reinplace "s|/opt/local|${prefix}|g" ${worksrcpath}/config.macports.mk
reinplace "s|/usr/include/libxml2|/opt/local/include/libxml2|g" ${worksrcpath}/config.macports.mk
}
This means that libxml2 would have to be added to the library dependencies:
depends_lib port:ncursesw \
port:libsdl_sound \
port:libsndfile \
port:libxml2
Regards, Christoph.
Note: See
TracTickets for help on using
tickets.


fizmo Portfile