<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/034e15dcea1db586d18cc916ad56e65bb9de53a5">https://github.com/macports/macports-ports/commit/034e15dcea1db586d18cc916ad56e65bb9de53a5</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 034e15dcea1db586d18cc916ad56e65bb9de53a5
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Thu Dec 26 12:25:06 2019 -0700
<span style='display:block; white-space:pre;color:#404040;'> opendx: whitespace changes
</span>---
science/opendx/Portfile | 139 ++++++++++++++++++++++++------------------------
1 file changed, 69 insertions(+), 70 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/opendx/Portfile b/science/opendx/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 51c38ea..607201d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/opendx/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/opendx/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,66 +1,65 @@
</span> # -*- 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
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-name opendx
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 4.4.4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-categories science
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-license Permissive
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name opendx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 4.4.4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories science
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license Permissive
</span> # "IBM PUBLIC LICENSE", http://opendx.org/dlSource.html
<span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-description IBM's Open Visualization Data Explorer
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- OpenDX is a uniquely powerful, full-featured software \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- package for the visualization of scientific, \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- engineering and analytical data: Its open system design \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- is built on familiar standard interface environments. \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- And its sophisticated data model provides users with \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- great flexibility in creating visualizations.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://opendx.org/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#master_sites http://opendx.informatics.jax.org/source/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites macports_distfiles
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums md5 6da0c4cd21d3c08f97b7662e3aee5b7b
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname dx-${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib port:netcdf \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:cdf \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:cosmoplayer \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:opendx-java40 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- path:lib/libXm.dylib:openmotif \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libGLU \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:mesa
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description IBM's Open Visualization Data Explorer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description OpenDX is a uniquely powerful, full-featured software \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ package for the visualization of scientific, \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ engineering and analytical data: Its open system design \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ is built on familiar standard interface environments. \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ And its sophisticated data model provides users with \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ great flexibility in creating visualizations.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage http://opendx.org/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#master_sites http://opendx.informatics.jax.org/source/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites macports_distfiles
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums md5 6da0c4cd21d3c08f97b7662e3aee5b7b
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname dx-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:netcdf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:cdf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:cosmoplayer \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:opendx-java40 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:lib/libXm.dylib:openmotif \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libGLU \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:mesa
</span>
# cdf is not universal
<span style='display:block; white-space:pre;background:#ffe0e0;'>-universal_variant no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+universal_variant no
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles configure.ac.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-src-exec-dpexec-packet.c.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-src-exec-dxmods-local.mk.in.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- main.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-src-uipp-java-Makefile.am.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles configure.ac.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-src-exec-dpexec-packet.c.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-src-exec-dxmods-local.mk.in.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ main.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-src-uipp-java-Makefile.am.diff
</span>
# see https://trac.macports.org/ticket/56716
# fix missing -c flag
# see https://trac.macports.org/ticket/35538
# see https://trac.macports.org/ticket/39098
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles-append patch-no_macos.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-compile.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-correct_compiler.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-destroot.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-no_macos.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-compile.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-correct_compiler.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-destroot.diff
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-use_autoreconf yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-autoreconf.args -fvi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_autoreconf yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+autoreconf.args -fvi
</span>
# see https://trac.macports.org/ticket/24280
configure.pre_args-replace \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --prefix=${prefix} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --prefix=${prefix}/libexec/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --prefix=${prefix} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --prefix=${prefix}/libexec/${name}
</span> post-destroot {
foreach bin [glob -tails -directory ${destroot}${prefix}/libexec/${name}/bin *] {
ln -s ${prefix}/libexec/${name}/bin/${bin} ${destroot}${prefix}/bin/${bin}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -71,35 +70,35 @@ if {${os.platform} eq "darwin" && ${os.major} >= 9} {
</span> configure.cppflags-append -D_UINT64 -D_UINT32 -D_UINT16 -D_UINT8
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant no_java description "disable java support" {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-delete port:cosmoplayer
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-delete port:opendx-java40
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete --with-jni-path=/System/Library/Frameworks/JavaVM.frameworks/Headers
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete --with-java40jar-path=${prefix}/share/java/java40.jar
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete --with-cosmojar-path=${prefix}/share/java/npcosmop211.jar
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --without-javadx
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant no_java description "disable java support" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-delete port:cosmoplayer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-delete port:opendx-java40
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-delete --with-jni-path=/System/Library/Frameworks/JavaVM.frameworks/Headers
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-delete --with-java40jar-path=${prefix}/share/java/java40.jar
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-delete --with-cosmojar-path=${prefix}/share/java/npcosmop211.jar
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --without-javadx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
#
# The configure.env variables are to make sure we use Apple's preinstalled
# java; the kaffe port will not work to build JavaDX.
#
configure.javac /usr/bin/javac
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.env-append JAVA_HOME=/Library/Java/Home \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- JAVA=/usr/bin/java \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- JAVAH=/usr/bin/javah \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- JAVAP=/usr/bin/javap
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args --with-jni-path=/System/Library/Frameworks/JavaVM.framework/Headers \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-java40jar-path=${prefix}/share/java/java40.jar \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-cosmojar-path=${prefix}/share/java/npcosmop211.jar
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-post-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set fixers [ exec find ${destroot}${prefix} -type f | xargs grep -l /usr/lpp ]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach fil ${fixers} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace -locale C "s|/usr/lpp|${prefix}|g" ${fil}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.env-append JAVA_HOME=/Library/Java/Home \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ JAVA=/usr/bin/java \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ JAVAH=/usr/bin/javah \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ JAVAP=/usr/bin/javap
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args --with-jni-path=/System/Library/Frameworks/JavaVM.framework/Headers \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-java40jar-path=${prefix}/share/java/java40.jar \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-cosmojar-path=${prefix}/share/java/npcosmop211.jar
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set fixers [ exec find ${destroot}${prefix} -type f | xargs grep -l /usr/lpp ]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach fil ${fixers} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -locale C "s|/usr/lpp|${prefix}|g" ${fil}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
livecheck.type regex
livecheck.url http://opendx.org/download.html
</pre><pre style='margin:0'>
</pre>