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 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup compiler_blacklist_versions 1.0 |
---|
6 | |
---|
7 | name tcc |
---|
8 | version 0.9.26 |
---|
9 | categories lang devel |
---|
10 | platforms darwin |
---|
11 | maintainers gwmail.gwu.edu:egall openmaintainer |
---|
12 | license LGPL-2.1+ |
---|
13 | supported_archs i386 x86_64 |
---|
14 | |
---|
15 | # doesn't accept multiple -arch flags |
---|
16 | universal_variant no |
---|
17 | |
---|
18 | # it bootstraps itself, so it's necessary to have it built before other steps can continue |
---|
19 | use_parallel_build no |
---|
20 | |
---|
21 | description ${name} is the Tiny C Compiler. |
---|
22 | |
---|
23 | long_description ${name} is Fabrice Bellard's Tiny C Compiler. It provides \ |
---|
24 | C scripting everywhere and is the smallest ANSI C compiler. \ |
---|
25 | |
---|
26 | homepage http://bellard.org/${name}/ |
---|
27 | master_sites http://download.savannah.gnu.org/releases/tinycc |
---|
28 | use_bzip2 yes |
---|
29 | |
---|
30 | checksums md5 5fb28e4abc830c46a7f54c1f637fb25d \ |
---|
31 | sha1 7110354d3637d0e05f43a006364c897248aed5d0 \ |
---|
32 | sha256 521e701ae436c302545c3f973a9c9b7e2694769c71d9be10f70a2460705b6d71 |
---|
33 | |
---|
34 | depends_build-append port:perl5 \ |
---|
35 | port:texinfo |
---|
36 | |
---|
37 | # It was designed to be built with gcc |
---|
38 | compiler.whitelist-append gcc |
---|
39 | |
---|
40 | variant tests description {Run the test suite} { |
---|
41 | depends_build-append port:expect |
---|
42 | test.run yes |
---|
43 | test.cmd make |
---|
44 | test.target test |
---|
45 | } |
---|
46 | |
---|