<pre style='margin:0'>
Takeshi Enomoto (tenomoto) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/cec998d87c5085e9b7629d7aa86f5e2fb6053c6a">https://github.com/macports/macports-ports/commit/cec998d87c5085e9b7629d7aa86f5e2fb6053c6a</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit cec998d87c5085e9b7629d7aa86f5e2fb6053c6a
</span>Author: Takeshi Enomoto <takeshi@macports.org>
AuthorDate: Sat Apr 13 16:32:07 2024 +0900
<span style='display:block; white-space:pre;color:#404040;'> hdfeos: update to 3.0
</span>---
science/hdfeos/Portfile | 28 ++++++++++----------
science/hdfeos/files/patch-configure.diff | 43 +++++++++++++++++++------------
2 files changed, 41 insertions(+), 30 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/hdfeos/Portfile b/science/hdfeos/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a2151f89084..67a19f13a7a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/hdfeos/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/hdfeos/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortGroup active_variants 1.1
</span> PortGroup conflicts_build 1.0
name hdfeos
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 2.20
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 3.0
</span> categories science
maintainers {takeshi @tenomoto}
license public-domain
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -13,21 +13,19 @@ description HDF-EOS library built on HDF4
</span> long_description \
library designed built on HDF4 to support EOS-specific \
data structures, namely Grid, Point, and Swath.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://hdfeos.org/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://git.earthdata.nasa.gov/projects/DAS/repos/${name}
</span> platforms darwin
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites ftp://edhs1.gsfc.nasa.gov/edhs/${name}/latest_release/ \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ftp://edhs1.gsfc.nasa.gov/edhs/${name}/previous_release/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname hdf-eos2-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distfiles ${distname}-src${extract.suffix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites ${homepage}/raw/${distfiles}?at=refs%2Fheads%2FHDFEOS2_${version}&dummy=
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build port:libtool
</span> depends_lib port:hdf4
<span style='display:block; white-space:pre;background:#ffe0e0;'>-distname HDF-EOS${version}v1.00
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-worksrcdir ${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-extract.suffix .tar.Z
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-fetch.use_epsv no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 6b3556a601d7b417b4b694fc66c36c87ab2e4597 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 cb0f900d2732ab01e51284d6c9e90d0e852d61bba9bce3b43af0430ab5414903 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 7699996
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 39f2b934fd05cbdd94465ac7edfa12bc2c72e814 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 3a5564b4d69b541139ff7dfdad948696cf31d9d1a6ea8af290c91a4c0ee37188 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 752290
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-configure.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-gctp-src-gctp.c.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-configure.diff
</span>
configure.args --with-hdf4=${prefix} \
--with-jpeg=${prefix} \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -38,6 +36,10 @@ configure.args --with-hdf4=${prefix} \
</span>
conflicts_build hdfeos
<span style='display:block; white-space:pre;background:#e0ffe0;'>+post-configure {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file copy -force ${prefix}/bin/glibtool ${worksrcpath}/libtool
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-destroot {
xinstall -m 0644 {*}[glob ${worksrcpath}/include/*.h] \
${destroot}${prefix}/include
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/hdfeos/files/patch-configure.diff b/science/hdfeos/files/patch-configure.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index a839d51e287..f83e13f7f3c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/hdfeos/files/patch-configure.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/hdfeos/files/patch-configure.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,17 +1,26 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- configure.orig 2009-05-20 01:12:22.000000000 +0900
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ configure 2020-11-21 14:59:20.000000000 +0900
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -7847,11 +7847,11 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- allow_undefined_flag='-flat_namespace -undefined suppress'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- case ${MACOSX_DEPLOYMENT_TARGET} in
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- 10.[012])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ case ${MACOSX_DEPLOYMENT_TARGET},$host in
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ 10.[012],*|,*powerpc*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- allow_undefined_flag='-flat_namespace -undefined suppress'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- 10.*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ *)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- allow_undefined_flag='-undefined dynamic_lookup'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2021-05-18 20:55:16
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2024-04-13 12:46:08
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -12483,6 +12483,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_set_defaults" >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $as_echo "$ac_cv_lib_jpeg_jpeg_set_defaults" >&6; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test "x$ac_cv_lib_jpeg_jpeg_set_defaults" = xyes; then :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ HAVE_LIBJPEG="yes"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cat >>confdefs.h <<_ACEOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define HAVE_LIBJPEG 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ _ACEOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -12502,6 +12503,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test -z "$HAVE_LIBJPEG"; then :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ echo "HAVE_LIBJPEG $HAVE_LIBJPEG"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ as_fn_error $? "unable to find libjpeg" "$LINENO" 5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -12858,6 +12860,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_compress2" >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $as_echo "$ac_cv_lib_z_compress2" >&6; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test "x$ac_cv_lib_z_compress2" = xyes; then :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ HAVE_LIBZ="yes"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cat >>confdefs.h <<_ACEOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define HAVE_LIBZ 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ _ACEOF
</span></pre><pre style='margin:0'>
</pre>