[146604] trunk/dports/science
takeshi at macports.org
takeshi at macports.org
Sat Mar 12 18:34:17 PST 2016
Revision: 146604
https://trac.macports.org/changeset/146604
Author: takeshi at macports.org
Date: 2016-03-12 18:34:16 -0800 (Sat, 12 Mar 2016)
Log Message:
-----------
metview: add to MacPorts
Added Paths:
-----------
trunk/dports/science/metview/
trunk/dports/science/metview/Portfile
trunk/dports/science/metview/files/
trunk/dports/science/metview/files/patch-CMakeLists.txt.diff
Added: trunk/dports/science/metview/Portfile
===================================================================
--- trunk/dports/science/metview/Portfile (rev 0)
+++ trunk/dports/science/metview/Portfile 2016-03-13 02:34:16 UTC (rev 146604)
@@ -0,0 +1,90 @@
+# -*- 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.6.1
+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 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 \
+ port:qt4-mac \
+ 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}
Property changes on: trunk/dports/science/metview/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/science/metview/files/patch-CMakeLists.txt.diff
===================================================================
--- trunk/dports/science/metview/files/patch-CMakeLists.txt.diff (rev 0)
+++ trunk/dports/science/metview/files/patch-CMakeLists.txt.diff 2016-03-13 02:34:16 UTC (rev 146604)
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig 2015-12-01 17:52:00.000000000 +0900
++++ CMakeLists.txt 2016-02-28 20:36:55.000000000 +0900
+@@ -845,7 +845,7 @@
+
+ # install the metview.desktop file
+ install( FILES ${CMAKE_CURRENT_SOURCE_DIR}/metview.desktop
+- DESTINATION share/applications/
++ DESTINATION share/metview/applications/
+ PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ )
+
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160312/4abd2a6a/attachment.html>
More information about the macports-changes
mailing list