# -*- 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
# "IBM PUBLIC LICENSE", http://opendx.org/dlSource.html
description IBM's Open Visualization Data Explorer
OpenDX is a uniquely powerful, full-featured software \
package for the visualization of scientific, \
engineering and analytical data: Its open system design \
is built on familiar standard interface environments. \
And its sophisticated data model provides users with \
great flexibility in creating visualizations.
homepage http://opendx.org/
#master_sites http://opendx.informatics.jax.org/source/
master_sites macports_distfiles
checksums md5 6da0c4cd21d3c08f97b7662e3aee5b7b
depends_lib port:netcdf \
path:lib/libXm.dylib:openmotif \
patchfiles configure.ac.diff \
patch-src-exec-dpexec-packet.c.diff \
patch-src-exec-dxmods-local.mk.in.diff \
patch-src-uipp-java-Makefile.am.diff
if {${os.platform} eq "darwin" && ${os.major} >= 9} {
configure.cppflags-append -D_UINT64 -D_UINT32 -D_UINT16 -D_UINT8
variant no_java description "disable java support" {
depends_lib-delete port:cosmoplayer
depends_lib-delete port:opendx-java40
configure.args-delete --with-jni-path=/System/Library/Frameworks/JavaVM.frameworks/Headers
configure.args-delete --with-java40jar-path=${prefix}/share/java/java40.jar
configure.args-delete --with-cosmojar-path=${prefix}/share/java/npcosmop211.jar
configure.args-append --without-javadx