Ticket #38832: Portfile

File Portfile, 2.0 KB (added by ryandesign (Ryan Carsten Schmidt), 11 years ago)
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                sprng
7version             4.0-20070607
8set version_only    [lindex [split ${version} -] 0]
9set major           [lindex [split ${version} .] 0]
10categories          math
11platforms           darwin
12maintainers         nomaintainer
13license             GPL-2
14
15homepage            http://sprng.fsu.edu/
16master_sites        ${homepage}Version${version_only}
17
18distname            ${name}${major}
19dist_subdir         ${name}/${version}
20
21checksums           rmd160  3edb750ddfa8dc8d01efb007c9ba167c13806989 \
22                    sha256  94c969d8ec962f183dab7bd4fb6d32fb66d5238b4db740c1fd6024a315e6bcf8
23
24variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 gcc48 description {Compile with gcc 4.3} {
25    configure.compiler macports-gcc-4.3
26    depends_lib-append port:gcc43
27}
28
29variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 gcc48 description {Compile with gcc 4.4} {
30    configure.compiler macports-gcc-4.4
31    depends_lib-append port:gcc44
32}
33
34variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 gcc48 description {Compile with gcc 4.5} {
35    configure.compiler macports-gcc-4.5
36    depends_lib-append port:gcc45
37}
38
39variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 gcc48 description {Compile with gcc 4.6} {
40    configure.compiler macports-gcc-4.6
41    depends_lib-append port:gcc46
42}
43
44variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 gcc48 description {Compile with gcc 4.7} {
45    configure.compiler macports-gcc-4.7
46    depends_lib-append port:gcc47
47}
48
49variant gcc48 conflicts gcc43 gcc44 gcc45 gcc46 gcc47 description {Compile with gcc 4.8} {
50    configure.compiler macports-gcc-4.8
51    depends_lib-append port:gcc48
52}
53
54if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] &&
55    ![variant_isset gcc46] && ![variant_isset gcc47] && ![variant_isset gcc48]
56} then {
57    default_variants +gcc47
58}
59
60livecheck.type      none