source: trunk/dports/science/etsf_io/Portfile

Last change on this file was 147103, checked in by takeshi@…, 20 months ago

rev bumps due to netcdf-fortran in r147102

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
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: Portfile 147103 2016-03-27 09:27:47Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           compilers 1.0
6
7name                etsf_io
8version             1.0.4
9revision            3
10categories          science
11platforms           darwin
12license             LGPL-2.1
13maintainers         dstrubbe
14description         A library of F90 routines to read/write the ETSF_IO file format.
15long_description    A library of F90 routines to read/write the common ETSF_IO file format developed by \
16                    the European Theoretical Spectroscopy Facility (ETSF) for electronic-structure codes.
17homepage            http://www.etsf.eu/resources/software/libraries_and_tools
18master_sites        http://www.etsf.eu/system/files \
19                    https://launchpad.net/etsf-io/+milestone/${version}
20
21checksums           rmd160  25d311b2952714639f315ae26dd1c25c84b9c0f0 \
22                    sha1    8b7c7af083946e03f76b68af69c046d3b127494a
23
24compilers.choose    fc
25compilers.setup     require_fortran
26
27depends_lib         port:netcdf-fortran
28
29# https://trac.macports.org/ticket/39319
30require_active_variants netcdf-fortran {} universal
31
32configure.optflags  -O3
33
34configure.args      --with-netcdf-incs=-I${prefix}/include \
35                    --with-netcdf-libs="-L${prefix}/lib -lnetcdf -lnetcdff"
36
37use_parallel_build  yes
38
39# it is not clear how to set the netcdf-module-path appropriately for +universal
40# it could be ${prefix}/mods32/include or ${prefix}/mods64/include instead of above
41universal_variant   no
42
43test.run            yes
44test.cmd            make
45test.target         check
46# Warning: a few tests will fail with g95.
47
48compilers.enforce_fortran netcdf-fortran
49
50livecheck.url       ${homepage}
51livecheck.type      regex
52livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.