Ticket #22047: Portfile

File Portfile, 2.0 KB (added by chrender-macports-1@…, 15 years ago)

Portfile for fizmo version 0.6.5

Line 
1
2PortSystem          1.0
3
4name                fizmo
5version             0.6.5
6categories          games
7maintainers         spellbreaker.org:Christoph.Ender
8description         Console-based Z-Machine interpreter for Infocom games.
9long_description    Fizmo is a Z-Machine interpreter (Fizmo Interprets \
10                    Z-Machine Opcodes) which allows you to run Infocom- and \
11                    most other Z-Machine based games -- except version 6 -- on \
12                    POSIX-like systems which provide a ncursesw (note the 'w') \
13                    library. It has been successfully compiled on Debian based \
14                    Linux, Mac OS X (with MacPorts providing ncursesw) and \
15                    Windows (using Cygwin and a self-compiled ncursesw \
16                    library). This is a console-style application, meaning \
17                    that it runs in textmode and does not provide any GUI \
18                    whatsoever. For more information about Infocom and \
19                    interactive fiction, see the 'New to IF' section at \
20                    http://www.ifarchive.org. Games are available from \
21                    http://www.ifarchive.org/indexes/if-archiveXgamesXzcode.html
22homepage            http://spellbreaker.org/~chrender/fizmo/
23platforms           darwin linux
24master_sites        http://spellbreaker.org/~chrender/fizmo/source/
25
26checksums           md5 4284a5c79969172459789d58d358d83b \
27                    sha1 4c66725e35ab17cd3c679da1027d8118ae607a19 \
28                    rmd160 e6b4ed9a78d510b6b1485cdd322ff3c55f493554
29
30depends_lib         port:ncursesw \
31                    port:libsdl_sound \
32                    port:libsndfile \
33                    port:libxml2
34
35post-patch {
36   reinplace "s|/opt/local|${prefix}|g" ${worksrcpath}/config.macports.mk
37   reinplace "s|/usr/include/libxml2|${prefix}/include/libxml2|g" ${worksrcpath}/config.macports.mk
38}
39use_configure       no
40build.args          CONFIG_FILE=config.macports.mk
41