# -*- 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 # $Id$ PortSystem 1.0 name inform version 6.31.1 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/ 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 md5 02e64fc13c06a888a6c0f97974e2c02c patchfiles patch-include-Makefile.in \ patch-lib-Makefile.in # running a compiled program during the build process fails when it is # compiled with clang, for unclear reasons -- ticket #35972 compiler.blacklist *clang* destroot.args htmldir=${prefix}/share/doc/${name} # The install of inform will build the executable to name-version and make a # sym link to name. This causes two problems. The sym link is not relative to # the bin directory making it link to the files in the dports directory which # do not exists after install. Also the name-version the package uses is # different then the name-version this Portfile uses so I had to make a special # variable for this. Then fix the sym link to be relative. post-destroot { set exec-name inform-6.31 system "ln -sf ${exec-name} ${destroot}${prefix}/bin/${name}" }