# -*- 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 # $Id: Portfile 147494 2016-04-05 20:52:07Z mmoll@macports.org $ PortSystem 1.0 PortGroup cmake 1.0 PortGroup compilers 1.0 PortGroup qt4 1.0 name metview version 4.6.1 revision 2 platforms darwin maintainers takeshi license Apache-2 categories science description meteorological workstation application homepage http://software.ecmwf.int/wiki/display/METV/Metview master_sites https://software.ecmwf.int/wiki/download/attachments/3964985/ distname Metview-${version}-Source checksums rmd160 4d8fd5b7e72ecbcb12e98fd0c633701a073f4485 \ sha256 6e8334e249be2159c7b2f6ef6933b221601e24d5ad609c920e5b16a6d506951b 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 fc compilers.setup require_fortran -g95 depends_build-append \ port:ImageMagick depends_lib-append port:boost \ port:cairo \ port:curl \ port:expat \ port:fontconfig \ port:freetype \ port:libgcc \ port:gdbm \ port:gettext \ port:grib_api \ port:hdf5 \ port:jasper \ port:jpeg \ port:libemos \ port:libpng \ port:magicspp \ port:netcdf \ port:netcdf-cxx \ port:openjpeg \ port:proj \ 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 metview cmake.out_of_source yes patchfiles patch-CMakeLists.txt.diff configure.args-append \ -DECBUILD_GIT=OFF \ -DENABLE_MARS=OFF \ -DENABLE_TESTS=OFF \ -DENABLE_QT5=OFF \ -DMETVIEW_INSTALL_EXE_BIN_DIR=lib/${name}/bin \ -DWITH_PLOTTING=ON \ -DMAGICS_PATH=${prefix} if {[fortran_variant_isset]} { configure.args-delete -DENABLE_FORTRAN=OFF } notes { Binaries are installed in ${prefix}/lib/${name}/bin. } livecheck.type regex livecheck.url ${homepage} livecheck.regex {Metview-([0-9]+\.[0-9]+\.[0-9]+)-Source.tar.gz}