# -*- 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                inform
version             6.33
categories          devel
platforms           darwin
maintainers         tritarget.com:vim

description         A Z-Code (Infocom Text Adventures) compiler
long_description    Inform is a programming language and design \
                    system for interactive fiction, created in 1993 \
                    by Graham Nelson.
homepage            http://www.inform-fiction.org/

distname            inform-6.33-6.12.1

set subdir if-archive/infocom/compilers/inform6/source/
master_sites        http://mirror.ifarchive.org/${subdir} \
                    http://www.ifarchive.org/${subdir} \
                    ftp://ftp.ifarchive.org/${subdir}
checksums           rmd160  100eb4aba874df6f7a3a9d5e47781d5d11af5d7f \
                    sha256  9170d6a0283aa65e1205621e89f78d674c8df978ee9c0b1c67f8b1aea4722a77

patchfiles \
    DESTDIR.patch

use_configure       no

build.args-append \
    CC=${configure.cc} \
    PREFIX=${prefix}

destroot.args-append \
    ${build.args}
