Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
57 lines (51 sloc) 2.05 KB
# -*- 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
PortSystem 1.0
PortGroup active_variants 1.1
PortGroup conflicts_build 1.0
name hdfeos
version 2.20
categories science
maintainers {takeshi @tenomoto}
license public-domain
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.
platforms darwin
master_sites${name}/latest_release/ \${name}/previous_release/
depends_lib port:hdf4
distname HDF-EOS${version}v1.00
worksrcdir ${name}
extract.suffix .tar.Z
fetch.use_epsv no
checksums rmd160 6b3556a601d7b417b4b694fc66c36c87ab2e4597 \
sha256 cb0f900d2732ab01e51284d6c9e90d0e852d61bba9bce3b43af0430ab5414903 \
size 7699996
configure.args --with-hdf4=${prefix} \
--with-jpeg=${prefix} \
--with-zlib=${prefix} \
--without-szlib \
--enable-shared \
conflicts_build hdfeos
post-destroot {
xinstall -m 0644 {*}[glob ${worksrcpath}/include/*.h] \
if {![catch {set result [active_variants port:hdf4 szip]}]} {
if {$result} {
default_variants-append +szip
variant szip description {build with szip} {
require_active_variants hdf4 szip
depends_lib-append port:szip ${prefix}/bin/h4cc
configure.args-delete --without-szlib
configure.args-append --with-szlib=${prefix}
livecheck.type regex
livecheck.url ${homepage}/software/hdfeos.php
livecheck.regex {HDF-EOS ([0-9]+.[0-9]+) is the latest version}
You can’t perform that action at this time.