# -*- 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
PortSystem 1.0
name fizmo
version 0.8.5
categories games
platforms darwin linux
maintainers spellbreaker.org:Christoph.Ender
license BSD
description Z-Machine interpreter for Infocom games.
long_description Fizmo is a Z-Machine interpreter (Fizmo Interprets \
Z-Machine Opcodes) which allows you to run Infocom- and \
most other Z-Machine based games -- except version 6 -- on \
POSIX-like systems which provide a ncursesw (note the 'w') \
library. It has been successfully compiled on Debian based \
Linux, Mac OS X (with MacPorts providing ncursesw) and \
Windows (using Cygwin and a self-compiled ncursesw \
library). This is a console-style application, meaning \
that it runs in textmode and does not provide any GUI \
whatsoever. For more information about Infocom and \
interactive fiction, see the 'New to IF' section at \
http://www.ifarchive.org. Games are available from \
http://www.ifarchive.org/indexes/if-archiveXgamesXzcode.html
homepage https://fizmo.spellbreaker.org/
master_sites ${homepage}source/
checksums rmd160 f3088db9395308dfe1c6565c248746d9a856d22a \
sha256 1c259a29b21c9f401c12fc24d555aca4f4ff171873be56fb44c0c9402c61beaa
depends_build port:pkgconfig
depends_lib port:freetype \
port:jpeg \
port:libpng \
port:libsdl2 \
port:libsndfile \
port:libxml2 \
port:ncurses \
port:xorg-libX11
configure.args --with-jpeg-includedir=${prefix}/include \
--with-jpeg-libdir=${prefix}/lib
post-destroot {
ln -s fizmo-sdl2 ${destroot}${prefix}/bin/fizmo
ln -s fizmo-sdl2.6 ${destroot}${prefix}/share/man/man6/fizmo.6
}
livecheck.type regex
livecheck.url [lindex ${master_sites} 0]
livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}