# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $ PortSystem 1.0 name xmedcon version 0.10.4 categories science graphics maintainers ucla.edu:jameskyle description an open source toolkit for medical image conversion long_description xmedcon is a framework specifically designed to resolve the complexities involved with conversion of medical image formats. It offers a GUI, a CLI (medcon), and a library for writing custom applications licensed under the (L)GPL. homepage http://xmedcon.sourceforge.net/ platforms darwin master_sites http://prdownloads.sourceforge.net/xmedcon/ checksums md5 45b6a305336b731ad216e09744bc946b \ sha1 d382ce055e1497d3cb66db649adcc107c5802aa3 \ rmd160 f7a691eca3f7c59230488a585e3c0a1e0cdc0567 use_parallel_build yes depends_lib port:libpng configure.pre_args configure.args --prefix=${prefix} \ --disable-gui \ --with-png-prefix=${prefix} variant gtk2 conflicts gtk1 description {Enable gtk2 gui front end} { configure.args-delete --disable-gui depends_lib-append port:gtk2 \ port:glib2 } variant gtk1 conflicts gtk2 description {Enable gtk1 legacy gui} { depends_lib-append port:gtk1 \ port:gdk-pixbuf configure.args-delete --disable-gui configure.args-append --enable-gtk1 } variant fortran description {Enable fortran compiler support} { depends_lib-append port:gcc43 configure.compiler /opt/local/bin/gcc-mp-4.3 configure.f77 ${prefix}/bin/gfortran-mp-4.3 }