# -*- 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 PortSystem 1.0 PortGroup cmake 1.1 PortGroup mpi 1.0 PortGroup boost 1.0 name metview version 5.10.1 revision 11 platforms darwin maintainers {takeshi @tenomoto} license Apache-2 categories science description meteorological workstation application homepage https://confluence.ecmwf.int/display/METV/ master_sites https://confluence.ecmwf.int/download/attachments/3964985/ distname Metview-${version}-Source checksums rmd160 4a3d6210bc9b2c38725974b118fb89c82e2d8006 \ sha256 92908bb691fa32b5257d0639b2f95fa9916905ad5199502ca5a508427fffde1e \ size 45725371 long_description \ Metview is a meteorological workstation application designed to be \ a complete working environment for both the operational and research meteorologist. \ Its capabilities include powerful data access, processing and visualisation. fetch.ignore_sslcert yes compilers.choose cxx fc mpi.setup require_fortran -g95 compilers.enforce_fortran \ port:ecCodes depends_extract bin:gnutar:gnutar depends_build-append \ port:bison \ port:ImageMagick \ port:xdpyinfo depends_lib-append path:lib/pkgconfig/cairo.pc:cairo \ port:curl \ port:expat \ port:fontconfig \ port:freetype \ port:gdbm \ port:gettext \ port:ecCodes \ port:hdf5 \ port:jasper \ path:include/turbojpeg.h:libjpeg-turbo \ port:libaec \ port:libpng \ port:magicspp \ port:netcdf \ port:netcdf-cxx \ port:openjpeg \ port:proj6 \ port:qt5-qtwebkit \ port:xorg-libice \ port:xorg-libsm \ port:xorg-libX11 \ port:xorg-libXmu \ port:xorg-libXt \ port:zlib \ path:lib/pkgconfig/glib-2.0.pc:glib2 \ path:lib/pkgconfig/pango.pc:pango depends_run bin:ksh:ksh93 require_active_variants \ magicspp qt5 extract.post_args "| gnutar -x" cmake.out_of_source yes cmake.install_prefix ${prefix}/lib/${name} configure.cppflags-append \ -I${prefix}/lib/proj6/include configure.args-append \ -DBISON_EXECUTABLE=${prefix}/bin/bison \ -DCMAKE_BUILD_TYPE=RelWithDebinfo \ -DENABLE_EXPOSE_SUBPACKAGES=ON \ -DECBUILD_GIT=OFF \ -DENABLE_AEC=ON \ -DAEC_PATH=${prefix}/lib/libaec \ -DENABLE_ARMADILLO=OFF \ -DENABLE_EIGEN=OFF \ -DENABLE_CUDA=OFF \ -DENABLE_GRIDTOOLS_STORAGE=OFF \ -DENABLE_LAPACK=OFF \ -DENABLE_MARS=OFF \ -DENABLE_MKL=OFF \ -DENABLE_MPI=OFF \ -DENABLE_MIR_DOWNLOAD_MASKS=OFF \ -DENABLE_PNG=ON \ -DENABLE_PROJ=ON \ -DPROJ4_PATH=${prefix}/lib/proj6 \ -DENABLE_TEST_ASSERTIONS=OFF \ -DENABLE_TESTS=OFF \ -DMETVIEW_INSTALL_EXE_BIN_DIR=lib/${name}/bin \ -DWITH_PLOTTING=ON \ -DMAGICS_PATH=${prefix} \ -DECCODES_PATH=${prefix} pre-configure { file copy ${filespath}/FindProj4.cmake ${worksrcpath}/atlas/cmake/ } notes "Install Python interface from pypi e.g. pip install --user metview " livecheck.type regex livecheck.url ${homepage}/Releases livecheck.regex {Metview-([0-9]+\.[0-9]+\.[0-9]+)-Source.tar.gz}