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 | PortGroup active_variants 1.1 |
---|
6 | |
---|
7 | name etsf_io |
---|
8 | version 1.0.3 |
---|
9 | categories science |
---|
10 | platforms darwin |
---|
11 | license LGPL-2.1 |
---|
12 | maintainers gmail.com:dstrubbe |
---|
13 | description A library of F90 routines to read/write the ETSF_IO file format. |
---|
14 | long_description A library of F90 routines to read/write the common ETSF_IO file format developed by \ |
---|
15 | the European Theoretical Spectroscopy Facility (ETSF) for electronic-structure codes. |
---|
16 | homepage http://www.etsf.eu/resources/software/libraries_and_tools |
---|
17 | master_sites http://www.etsf.eu/system/files |
---|
18 | |
---|
19 | checksums rmd160 df90acd34b0de104a07844ae2c9694edf27519c6 \ |
---|
20 | sha1 ab3c4cb22ea2fc2498b396f186f221edd2463fcc |
---|
21 | |
---|
22 | depends_lib port:netcdf-fortran |
---|
23 | |
---|
24 | configure.args --with-netcdf-module-path=${prefix}/include \ |
---|
25 | --with-netcdf-ldflags=-L${prefix}/lib \ |
---|
26 | FCFLAGS=-O3 CFLAGS=-O3 |
---|
27 | |
---|
28 | use_parallel_build yes |
---|
29 | |
---|
30 | # it is not clear how to set the netcdf-module-path appropriately for +universal |
---|
31 | # it could be ${prefix}/mod32/include or ${prefix}/mod64/include instead of above |
---|
32 | universal_variant no |
---|
33 | |
---|
34 | test.run yes |
---|
35 | test.cmd make |
---|
36 | test.target check |
---|
37 | |
---|
38 | variant gcc46 conflicts gcc47 description {Build with GCC 4.6} { |
---|
39 | configure.compiler macports-gcc-4.6 |
---|
40 | depends_lib-append port:gcc46 |
---|
41 | require_active_variants netcdf-fortran gcc46 |
---|
42 | } |
---|
43 | variant gcc47 conflicts gcc46 description {Build with GCC 4.7} { |
---|
44 | configure.compiler macports-gcc-4.7 |
---|
45 | depends_lib-append port:gcc47 |
---|
46 | require_active_variants netcdf-fortran gcc47 |
---|
47 | } |
---|
48 | |
---|
49 | if {![variant_isset gcc46]} { |
---|
50 | default_variants +gcc47 |
---|
51 | } |
---|
52 | |
---|
53 | livecheck.url ${homepage} |
---|
54 | livecheck.type regex |
---|
55 | livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix} |
---|