# -*- 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 55900 2009-08-20 23:05:28Z ryandesign@macports.org $

PortSystem				    1.0

name					    hdfeos
version                     2.15v1.00
categories				    science
maintainers				    takeshi
description				    HDF-EOS library built on HDF4
long_description \
    library designed built on HDF4 to support EOS-specific \
    data structures, namely Grid, Point, and Swath.
homepage                    http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2/ 
platforms                   darwin
master_sites                ftp://edhs1.gsfc.nasa.gov/edhs/${name}/previous_releases/
depends_lib				    port:hdf4
distname                    HDF-EOS${version}
worksrcdir                  ${name}
extract.suffix              .tar.Z
fetch.use_epsv              no
checksums                   md5    c89f6310ad26f289ca8795c09622a07c         \
                            sha1   13184aa36731e1fb2243d9468487b6ac523601c7 \
                            rmd160 f6f3cf561124524825960c73e4182b86a13ebb3f
configure.args              --with-hdf4=${prefix} --with-zlib=${prefix} \
    --disable-dependency-tracking
post-destroot {
    eval xinstall -m 644 [glob ${worksrcpath}/include/*.h] \
        ${destroot}${prefix}/include
}
