# -*- 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$ PortSystem 1.0 PortGroup cmake 1.0 PortGroup compilers 1.0 PortGroup qt4 1.0 name metview version 4.7.0 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 abc6af4b775046aa4730b18fabae866643903161 \ sha256 274b6a9089546afa96e64dd96d8b0c62bf83ef537b8c95367b15626a00809dce 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 \ path:lib/pkgconfig/cairo.pc:cairo \ port:curl \ port:expat \ port:fontconfig \ port:freetype \ 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}