# -*- 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 # $Id$ PortSystem 1.0 PortGroup xcode 1.0 PortGroup wxWidgets 1.0 name rt-volume-rendering version 1.0.0 revision 6 categories graphics platforms darwin maintainers gmail.com:bugcutt description Real-Time Volume Renderer long_description The RTVolumeRendering application provides a GUI environment \ for viewing and defining transfer functions for volume data \ sets in real-time. The application uses a texture based \ approach that is run entirely on the GPU. depends_lib port:glew \ port:zlib homepage http://www.joeforte.net/projects/real-time-volume-rendering/ master_sites http://www.joeforte.net/project_data/rt_volume_rendering/ distname rtvolumerendering-${version} checksums sha1 25a2fa1c24bc88c569dc37778b3e8f5aea59b678 \ rmd160 615bdb029f4702d3c0db0d95f0d63ca2ffb21c92 worksrcdir RTVolumeRendering_src_${version} xcode.project RTVolumeRendering.xcodeproj xcode.configuration Release pre-fetch { ui_error "The port ${name} needs to be adapted to new wxWidgets packaging" return -code error "outdated port definition" } # TODO: test whether wxwidgets30 works at all after patching # in case it does, other variants may go away; # in case it doesn't, it should be commented out variant wxwidgets30 conflicts wxgtk28 wxwidgets28 description {Use wxWidgets 3.0} { wxWidgets.use wxWidgets-3.0 depends_lib-append port:${wxWidgets.port} } variant wxwidgets28 conflicts wxgtk28 wxwidgets30 description {Use 32-bit Carbon-based wxWidgets 2.8} { wxWidgets.use wxWidgets-2.8 depends_lib-append port:${wxWidgets.port} } variant wxgtk28 conflicts wxwidgets28 wxwidgets30 description {Use wxWidgets 2.8 with GTK} { wxWidgets.use wxGTK-2.8 depends_lib-append port:${wxWidgets.port} } if {![variant_isset wxwidgets30] && ![variant_isset wxwidgets28] && ![variant_isset wxgtk28]} { # TODO: choose the default working variant default_variants +wxwidgets30 } livecheck.type regex livecheck.url [lindex ${master_sites} 0] livecheck.regex rtvolumerendering-(\[0-9.\]+)\\.