Ticket #19756: Portfile

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

Portfile for fizmo version 0.6.4

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