Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#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 (1)

Portfile (1.7 KB) - added by chrender-macports-1@… 15 years ago.
fizmo Portfile

Download all attachments as: .zip

Change History (7)

Changed 15 years ago by chrender-macports-1@…

Attachment: Portfile added

fizmo Portfile

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Port: fizmo added
Priority: LowNormal

comment:2 Changed 15 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 15 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.

comment:4 Changed 15 years ago by blb@…

Resolution: fixed
Status: newclosed

Added in r50164, thanks; note I changed master_sites to just ${homepage} since they are the same.

comment:5 Changed 15 years ago by jmroot (Joshua Root)

Type: enhancementsubmission

comment:6 Changed 15 years ago by (none)

Milestone: Port Submissions

Milestone Port Submissions deleted

Note: See TracTickets for help on using tickets.