# -*- 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
PortGroup active_variants 1.1
description HDF-EOS library built on HDF5
library designed built on HDF5 to support the same Grid/Point/Swath \
functionality in HDF-EOS 2 and to the extent possible it will be \
built with the same calling sequences as the original HDF-EOS 2 library.
homepage http://hdfeos.org/
master_sites ftp://edhs1.gsfc.nasa.gov/edhs/${name}/latest_release/ \
ftp://edhs1.gsfc.nasa.gov/edhs/${name}/previous_releases/ \
http://www.enomosphere.net/hdfeos/
distname HDF-EOS5.${version}
checksums md5 5d607a13dd42e559bfc90e278a8ec919 \
sha1 35a288cd1bfdde92a4ef9d68f8ee55b536b0f8c3 \
rmd160 34df5cdb6bdc4d06a7658d38aae6fed0b5671557
depends_build port:libtool
patchfiles patch-src-GDapi.c.diff \
if {[mpi_variant_isset]} {
if {![catch {set result [active_variants port:hdf5 szip]}]} {
default_variants-append +szip
configure.cflags-append -DH5_USE_16_API
configure.cc_archflags ""
configure.ld_archflags ""
configure.args --prefix=${prefix}/lib/${name} \
--disable-dependency-tracking