<pre style='margin:0'>
Sean Farley (seanfarley) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/b984688b7e293e42c290e5c2b46ce94f10ccfc43">https://github.com/macports/macports-ports/commit/b984688b7e293e42c290e5c2b46ce94f10ccfc43</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new b984688 ncview: update to 2.1.7 and add maintainer
</span>b984688 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit b984688b7e293e42c290e5c2b46ce94f10ccfc43
</span>Author: Sean Farley <sean@macports.org>
AuthorDate: Mon Apr 24 22:11:24 2017 -0700
<span style='display:block; white-space:pre;color:#404040;'> ncview: update to 2.1.7 and add maintainer
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/54035
</span>---
science/ncview/Portfile | 30 +++++++++++---------
science/ncview/files/patch-configure.diff | 46 ++++++++++++++++---------------
2 files changed, 41 insertions(+), 35 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/ncview/Portfile b/science/ncview/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 8273a2f..fffb44b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/ncview/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/ncview/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,9 +3,8 @@
</span> PortSystem 1.0
name ncview
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 2.1.1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 11
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2.1.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers gmail.com:thiagoveloso openmaintainer
</span> platforms darwin
categories science
license GPL-3
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23,17 +22,18 @@ homepage http://meteora.ucsd.edu/~pierce/ncview_home_page.html
</span>
master_sites ftp://cirrus.ucsd.edu/pub/ncview/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 6308916cb309e2f2f809b4d4b47ad89263714885 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 8aaf98fad15790313739520b88e17748617be504f0a2b0322a62144e390db1dd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 3862bad211f468d121c02a99e72b34bf81bb9cb7 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 a14c2dddac0fc78dad9e4e7e35e2119562589738f4ded55ff6e0eca04d682c82
</span>
patchfiles patch-configure.diff
depends_lib port:expat \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:hdf5 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libpng \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:netcdf \
</span> port:udunits2 \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:xorg-libXaw port:xorg-libXt port:xorg-libice
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:netcdf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libpng \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:xorg-libXaw \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:xorg-libXt \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:xorg-libice
</span>
pre-configure {
set nc4 [exec ${prefix}/bin/nc-config --has-nc4]
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -46,21 +46,25 @@ pre-configure {
</span>
configure.args --with-netcdf_incdir=${prefix}/include \
--with-netcdf_libdir=${prefix}/lib \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-bindir=${prefix}/bin \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-nc-config=${prefix}/bin/nc-config \
</span> --with-udunits2_incdir=${prefix}/include/udunits2 \
--with-udunits2_libdir=${prefix}/lib \
--with-png_incdir=${prefix}/include \
--with-png_libdir=${prefix}/lib \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-x
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --x-libraries=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --x-includes=${prefix}/include
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# seems that nc-config doesn't provide hdf5-18's lib path?
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.ldflags-append -L${prefix}/lib/hdf5-18/lib
</span>
use_parallel_build yes
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/lib/${name}
xinstall -m 755 -W ${worksrcpath} 3gauss.ncmap 3saw.ncmap bw.ncmap default.ncmap detail.ncmap hotres.ncmap ${destroot}${prefix}/lib/${name}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> xinstall -m 755 ${worksrcpath}/data/ncview.1 ${destroot}${prefix}/share/man/man1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> set docdir ${prefix}/share/doc/${subport}
xinstall -m 755 -d ${destroot}${docdir}
xinstall -m 755 -W ${worksrcpath} README ${destroot}${docdir}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/ncview/files/patch-configure.diff b/science/ncview/files/patch-configure.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 9fb398c..2563a44 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/ncview/files/patch-configure.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/ncview/files/patch-configure.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,22 +1,24 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- configure.orig 2011-07-18 12:14:52.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ configure 2012-11-02 23:38:02.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -2035,13 +2035,13 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ac_status=$?
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- echo "$as_me:$LINENO: \$? = $ac_status" >&5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- (exit $ac_status); }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--{ (ac_try="$ac_compiler -V >&5"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+{ (ac_try="$ac_compiler -v >&5"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- case "(($ac_try" in
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- *) ac_try_echo=$ac_try;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- esac
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- (eval "$ac_compiler -V >&5") 2>&5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ (eval "$ac_compiler -v >&5") 2>&5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ac_status=$?
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- echo "$as_me:$LINENO: \$? = $ac_status" >&5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- (exit $ac_status); }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -8252,7 +8252,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.bak 2017-04-24 21:04:09.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2017-04-24 21:55:28.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -5109,7 +5109,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "** Could not find the udunits2.h file, udunits support will not be included **"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-UDUNITS2_LIBNAME=libudunits2.a
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++UDUNITS2_LIBNAME=libudunits2.dylib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Check whether --with-udunits2_libdir was given.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test "${with_udunits2_libdir+set}" = set; then :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -5303,7 +5303,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;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-UDUNITS2_LIBNAME=`echo $UDUNITS2_LIBNAME | sed s/lib// | sed s/\.a//`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++UDUNITS2_LIBNAME=`echo $UDUNITS2_LIBNAME | sed s/lib// | sed s/\.dylib//`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ UDUNITS2_PRESENT=no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test $UDUNITS2_INC_PRESENT = yes; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test x$UDUNITS2_LIBDIR != x; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -5504,7 +5504,7 @@
</span> echo "** Could not find the png.h file, so -frames support will not be included **"
echo "** Install the PNG library (and development headers) to fix this **"
fi
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,8 +26,8 @@
</span> +PNG_LIBNAME=libpng.dylib
# Check whether --with-png_libdir was given.
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if test "${with_png_libdir+set}" = set; then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -8483,7 +8483,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test "${with_png_libdir+set}" = set; then :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -5698,7 +5698,7 @@
</span> fi
fi
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -34,7 +36,7 @@
</span> PNG_PRESENT=no
if test $PNG_INC_PRESENT = yes; then
if test x$PNG_LIBDIR != x; then
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -8645,32 +8645,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -5779,32 +5779,6 @@
</span> if test x$NETCDF_CC_TEST_SAME = xcc; then
NETCDF_CC_TEST_SAME=gcc
fi
</pre><pre style='margin:0'>
</pre>