Ticket #47806: Portfile-ryandesign

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