source: trunk/dports/devel/inform/Portfile

Last change on this file was 129372, checked in by larryv@…, 3 years ago

inform: Add modeline, rearrange, and reformat

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- 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
2# $Id: Portfile 129372 2014-12-11 05:38:03Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                inform
7version             6.31.1
8categories          devel
9platforms           darwin
10maintainers         tritarget.com:vim
11
12description         A Z-Code (Infocom Text Adventures) compiler
13long_description    Inform is a programming language and design \
14                    system for interactive fiction, created in 1993 \
15                    by Graham Nelson.
16homepage            http://www.inform-fiction.org/
17
18set subdir if-archive/infocom/compilers/inform6/source/
19master_sites        http://mirror.ifarchive.org/${subdir} \
20                    http://www.ifarchive.org/${subdir} \
21                    ftp://ftp.ifarchive.org/${subdir}
22checksums           md5 02e64fc13c06a888a6c0f97974e2c02c
23
24patchfiles          patch-include-Makefile.in \
25                    patch-lib-Makefile.in
26
27# running a compiled program during the build process fails when it is
28# compiled with clang, for unclear reasons -- ticket #35972
29compiler.blacklist  *clang*
30
31destroot.args       htmldir=${prefix}/share/doc/${name}
32
33# The install of inform will build the executable to name-version and make a
34# sym link to name. This causes two problems. The sym link is not relative to
35# the bin directory making it link to the files in the dports directory which
36# do not exists after install. Also the name-version the package uses is
37# different then the name-version this Portfile uses so I had to make a special
38# variable for this. Then fix the sym link to be relative.
39post-destroot {
40    set exec-name inform-6.31
41    system "ln -sf ${exec-name} ${destroot}${prefix}/bin/${name}"
42}
Note: See TracBrowser for help on using the repository browser.