1 | PortSystem 1.0 |
---|
2 | |
---|
3 | name xmedcon |
---|
4 | version 0.10.4 |
---|
5 | categories science graphics |
---|
6 | maintainers jameskyle@ucla.edu |
---|
7 | description an open source toolkit for medical image conversion |
---|
8 | 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. |
---|
9 | |
---|
10 | homepage http://xmedcon.sourceforge.net/ |
---|
11 | platforms darwin |
---|
12 | master_sites http://prdownloads.sourceforge.net/xmedcon/ |
---|
13 | checksums md5 45b6a305336b731ad216e09744bc946b \ |
---|
14 | sha1 d382ce055e1497d3cb66db649adcc107c5802aa3 \ |
---|
15 | rmd160 f7a691eca3f7c59230488a585e3c0a1e0cdc0567 |
---|
16 | use_parallel_build yes |
---|
17 | |
---|
18 | depends_lib port:libpng |
---|
19 | |
---|
20 | configure.pre_args |
---|
21 | configure.args --prefix=${prefix} \ |
---|
22 | --disable-gui \ |
---|
23 | --with-png-prefix=${prefix} |
---|
24 | |
---|
25 | |
---|
26 | |
---|
27 | variant gtk2 conflicts gtk1 description {Enable gtk2 gui front end} { |
---|
28 | configure.args-delete --disable-gui |
---|
29 | |
---|
30 | depends_lib-append port:gtk2 \ |
---|
31 | port:glib2 |
---|
32 | } |
---|
33 | variant gtk1 conflicts gtk2 description {Enable gtk1 legacy gui} { |
---|
34 | depends_lib-append port:gtk1 |
---|
35 | |
---|
36 | configure.args-delete --disable-gui |
---|
37 | configure.args-append --enable-gtk1 |
---|
38 | } |
---|
39 | |
---|
40 | variant fortran description {Enable fortran compiler support} { |
---|
41 | depends_lib-append port:gcc43 |
---|
42 | |
---|
43 | configure.compiler /opt/local/bin/gcc-mp-4.3 |
---|
44 | configure.f77 ${prefix}/bin/gfortran-mp-4.3 |
---|
45 | } |
---|
46 | |
---|