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 | # TODO: use cmake portgroup? |
---|
6 | |
---|
7 | name opencoarrays |
---|
8 | # TODO: upstream must officially release version 1.0 |
---|
9 | version 1.0 |
---|
10 | categories lang |
---|
11 | platforms darwin |
---|
12 | maintainers gmail.com:fanfarillo.gcc |
---|
13 | license BSD |
---|
14 | |
---|
15 | description Library for multi-image coarray Fortran suppport. |
---|
16 | |
---|
17 | long_description OpenCoarrays is an open-source software project for developing, \ |
---|
18 | porting and tuning transport layers that support coarray \ |
---|
19 | Fortran compilers. |
---|
20 | |
---|
21 | homepage http://opencoarrays.org |
---|
22 | # TODO: use official download URL (if that's github: use github 1.0 portgroup) |
---|
23 | master_sites http://www.ce.uniroma2.it |
---|
24 | |
---|
25 | checksums rmd160 b36aef2b5235ab30572b3baaf6bd95893fdb680d \ |
---|
26 | sha256 7181597bc48f84716f8f084f985c6d49d2460638a13bfaf29c4d3b1fc8425cdb |
---|
27 | |
---|
28 | # TODO: use path:-style dep to support mpich-devel-gcc5 (blocked by #48086) |
---|
29 | # TODO: add gcc5 and gcc6 variants, gcc5 default until gcc6 is stable |
---|
30 | depends_build port:mpich-gcc5 |
---|
31 | |
---|
32 | use_configure no |
---|
33 | |
---|
34 | # TODO: universal variant? |
---|
35 | |
---|
36 | # TODO: supply -arch flags to MPICC? |
---|
37 | build.args CC="${configure.cc} [get_canonical_archflags cc]" \ |
---|
38 | MPICC=${prefix}/bin/mpicc-mpich-devel-gcc5 |
---|
39 | |
---|
40 | # TODO: install documentation |
---|
41 | destroot { |
---|
42 | xinstall -m 755 ${worksrcpath}/mpi/libcaf_mpi.a ${destroot}${prefix}/lib |
---|
43 | } |
---|