1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name rose |
---|
6 | version 0.9.5a |
---|
7 | categories lang |
---|
8 | maintainers llnl.gov:too1 |
---|
9 | |
---|
10 | description A compiler infrastructure to build source-to-source \ |
---|
11 | program transformation and analysis tools. |
---|
12 | |
---|
13 | long_description ${description} Includes front ends for large-scale Fortran \ |
---|
14 | 77/95/2003, C, C++, OpenMP, and UPC applications. By \ |
---|
15 | default, only the core ROSE library and example translators \ |
---|
16 | are built. |
---|
17 | |
---|
18 | license BSD |
---|
19 | |
---|
20 | platforms darwin |
---|
21 | homepage http://rosecompiler.org/ |
---|
22 | |
---|
23 | fetch.type git |
---|
24 | git.url http://www.rosecompiler.org/rose.git |
---|
25 | git.branch master |
---|
26 | |
---|
27 | depends_build port:boost \ |
---|
28 | port:gcc44 \ |
---|
29 | port:ghostscript \ |
---|
30 | port:libtool \ |
---|
31 | port:wget |
---|
32 | depends_run path:${prefix}/bin/dot:graphviz |
---|
33 | |
---|
34 | configure.dir ${worksrcpath}/buildTree |
---|
35 | configure.cmd ${worksrcpath}/configure |
---|
36 | configure.args-append --with-boost=${prefix} \ |
---|
37 | --with-gfortran=${prefix}/bin/gfortran-mp-4.4 \ |
---|
38 | --with-alternate_backend_fortran_compiler=gfortran-mp-4.4 \ |
---|
39 | --with-CXX_DEBUG=-ggdb3 --with-CXX_WARNINGS=-Wall \ |
---|
40 | |
---|
41 | use_parallel_build yes |
---|
42 | build.dir ${configure.dir} |
---|
43 | |
---|
44 | build.target core |
---|
45 | destroot.target install-core |
---|
46 | |
---|
47 | variant full description {Also build projects and tests distributed with ROSE.} { |
---|
48 | build.target all |
---|
49 | destroot.target install |
---|
50 | } |
---|
51 | |
---|
52 | pre-configure { |
---|
53 | system -W ${worksrcpath} "./build" |
---|
54 | file mkdir ${configure.dir} |
---|
55 | } |
---|
56 | |
---|