Ticket #18590: Portfile

File Portfile, 1.9 KB (added by joseph@…, 15 years ago)

frobtads portfile

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$
3
4PortSystem          1.0
5
6name                frobtads
7version             0.12
8categories          games
9maintainers         josephholsten.com:joseph
10description         FrobTADS is a new version of TADS for Unix
11long_description    FrobTADS is a complete rewrite of the Unix version. It \
12adds support for a number of relatively recent TADS features that were \
13missing from the old Unix version, including full support for text and \
14background colors, TADS 3 banners, and timed input. It's also much more \
15portable and more easily maintainable, as it's built to modern Unix \
16standards. And installing FrobTADS is greatly simplified compared to the old \
17Unix port, thanks to automatic configuration.
18homepage            http://www.tads.org/frobtads.htm
19
20platforms           darwin freebsd
21master_sites        http://www.tads.org/frobtads/
22checksums           ${distname}${extract.suffix} \
23                    md5 bc7402a65ad52547b5754ea3504cdd4b \
24                    sha1 84be7fbf2d2927ad97766778f22dafe873b6284f \
25                    rmd160 6e88266e922e71018145ac8534a386a800952a4a
26
27depends_lib         port:ncurses
28
29configure.cxxflags-append -fno-strict-aliasing
30
31variant tads3 description {Adds TADS3 Compiler} {
32    set tads3file ${name}-t3compiler-${version}${extract.suffix}
33    distfiles-append    ${tads3file}
34   
35    checksums-append    ${tads3file} \
36                        md5 240ba080b374089d1d2fa20bf95aadb9 \
37                        sha1 163782295e0f512fd2aef311a40e5db6952bef51 \
38                        rmd160 1f6ccf8bfcf6ef6601110be568fa9f8010fffe58
39
40    extract.only-delete ${tads3file}
41    post-extract    {
42        set tads3file ${name}-t3compiler-${version}${extract.suffix}
43        extract.args              ${distpath}/${tads3file}
44        extract.post_args-append -C${worksrcpath}
45         extract
46    }
47}