Ticket #33101: Portfile

File Portfile, 1.8 KB (added by khinsen (Konrad Hinsen), 12 years ago)
Line 
1# $Id$
2
3PortSystem          1.0
4
5name                gpp4
6version             1.3.1
7categories          science
8maintainers         nomaintainer
9license             LGPL3
10
11description         macromolecular crystallography library
12long_description    The goal of this project -- named gpp4 to \
13                    distinguish it from CCP4 -- is to provide a \
14                    drop-in replacement for the CCP4 libraries, that \
15                    as carefully as possible implements the current \
16                    CCP4 library interface, while not requiring the \
17                    whole CCP4 package to be installed.
18
19homepage            https://launchpad.net/gpp4
20platforms           darwin
21
22distname            ${name}-${version}
23master_sites        http://launchpad.net/gpp4/1.3/${version}/+download/
24#configure.args      --without-fortran-api
25
26checksums           rmd160  d50f252ea382a2bb0445abcac74477a3b969b9e2 \
27                    md5     e608519594f430c78be3c53e8e26a260
28
29depends_lib         port:mmdb port:pkgconfig
30depends_build       port:gawk port:gsed
31
32variant gcc43 conflicts gcc44 gcc45 gcc46 description {Compile with gcc 4.3} {
33    configure.compiler macports-gcc-4.3
34    depends_lib-append port:gcc43
35}
36
37variant gcc44 conflicts gcc43 gcc45 gcc46 description {Compile with gcc 4.4} {
38    configure.compiler macports-gcc-4.4
39    depends_lib-append port:gcc44
40}
41
42variant gcc45 conflicts gcc43 gcc44 gcc46 description {Compile with gcc 4.5} {
43    configure.compiler macports-gcc-4.5
44    depends_lib-append port:gcc45
45}
46
47variant gcc46 conflicts gcc43 gcc44 gcc45 description {Compile with gcc 4.5} {
48    configure.compiler macports-gcc-4.6
49    depends_lib-append port:gcc46
50}
51
52if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46]} {
53    default_variants +gcc46
54}