# $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. checksums md5 02e64fc13c06a888a6c0f97974e2c02c 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} 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 # 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. set exec-name inform-6.31 destroot.args htmldir=${prefix}/share/doc/${name} post-destroot { system "ln -sf ${exec-name} ${destroot}${prefix}/bin/${name}" }