Skip to content
Permalink
Browse files

gmtsar: remove orbits variant, add notes

- keep the configure argument
- add note on how to obtain/install the ORBITS data
  • Loading branch information
reneeotten committed Mar 31, 2019
1 parent 7375b53 commit 58f565ac3d19f922e4250a8aadfbb506525e3bf8
Showing with 12 additions and 4 deletions.
  1. +12 −4 science/gmtsar/Portfile
@@ -4,6 +4,7 @@ PortSystem 1.0

name gmtsar
version 5.6
revision 1
categories science
platforms darwin
license GPL-3
@@ -43,8 +44,15 @@ use_autoconf yes

use_parallel_build no

variant orbits description {Optional support for ERS-1/2 and Envisat satellites} {
depends_lib-append port:gmtsar-data
configure.args-append --with-orbits-dir=${prefix}/share/gmtsar-data/ORBITS
}
configure.args-append \
--with-orbits-dir=${prefix}/share/gmtsar-data/ORBITS

notes "
If you require (optional) support for ERS-1/2 and Envisat satellites, please download the\
ORITS data and copy it to ${prefix}/share/gmtsar-data.
For example using:
mkdir -p gmtsar-data/ORBITS
curl -L ftp://topex.ucsd.edu/pub/gmtsar/ORBITS.tar | tar xv --directory gmtsar-data/ORBITS
sudo mv gmtsar-data ${prefix}/share/
"

0 comments on commit 58f565a

Please sign in to comment.
You can’t perform that action at this time.