Ticket #30778: Portfile.diff
File Portfile.diff, 1.8 KB (added by rmstonecipher@…, 13 years ago) |
---|
-
Portfile
old new 5 5 6 6 name xmedcon 7 7 version 0.10.6 8 revision 18 revision 2 9 9 categories science graphics 10 10 maintainers jameskyle 11 11 description an open source toolkit for medical image conversion … … 21 21 use_parallel_build yes 22 22 23 23 depends_lib port:libpng \ 24 p ort:glib224 path:lib/pkgconfig/glib-2.0.pc:glib2 25 25 26 26 depends_build port:pkgconfig 27 27 28 configure.args --disable-gui \ 29 --enable-png 30 31 if {![variant_isset gcc43] && ![variant_isset sysgcc]} { 32 default_variants +gcc44 33 } 28 configure.args --disable-gui 29 30 default_variants +gtk2 34 31 35 32 variant gtk2 conflicts gtk1 description {Enable gtk2 gui front end} { 36 33 configure.args-delete --disable-gui 37 38 depends_lib-append port:gtk2 \ 39 path:lib/pkgconfig/glib-2.0.pc:glib2 34 35 depends_lib-append port:gtk2 40 36 } 41 37 42 38 variant gtk1 conflicts gtk2 description {Enable gtk1 legacy gui} { 43 depends_lib-append port:gtk1 \ 44 port:gdk-pixbuf 39 depends_lib-append port:gdk-pixbuf 45 40 46 configure.args-delete --disable-gui47 41 configure.args-append --enable-gtk1 48 42 } 49 50 variant gcc43 conflicts gcc44 sysgcc universal description {Enable gcc43 compiler support} {51 depends_lib-append port:gcc4352 configure.compiler macports-gcc-4.353 universal_variant no54 }55 56 variant gcc44 conflicts gcc43 sysgcc universal description {Enable gcc44 compiler support} {57 depends_lib-append port:gcc4458 configure.compiler macports-gcc-4.459 universal_variant no60 }61 62 variant sysgcc conflicts gcc44 gcc43 description {Use system gcc compiler} {63 }