Ticket #29989: gimp2-Portfile.diff
File gimp2-Portfile.diff, 2.4 KB (added by rmstonecipher@…, 13 years ago) |
---|
-
Portfile
old new 7 7 conflicts gimp2-devel 8 8 # please remember to update the gimp metapackage to match 9 9 version 2.6.11 10 revision 510 revision 6 11 11 categories graphics 12 12 maintainers devans 13 13 homepage http://www.gimp.org/ … … 52 52 port:libgnomeui \ 53 53 port:curl \ 54 54 port:libwmf \ 55 port:lcms \ 56 port:py26-gtk 55 port:lcms 57 56 58 57 platform darwin 9 { 59 58 post-patch { … … 62 61 } 63 62 } 64 63 65 configure.python ${prefix}/bin/python2.6 66 set python_framework ${frameworks_dir}/Python.framework/Versions/2.6 67 configure.pkg_config_path ${python_framework}/lib/pkgconfig 68 configure.env PATH=${python_framework}/bin:$env(PATH) 64 variant python27 conflicts python26 description {Build Bindings for Python 2.7} { 65 depends_lib-append port:py27-gtk 66 configure.python ${prefix}/bin/python2.7 67 set python_framework ${frameworks_dir}/Python.framework/Versions/2.7 68 configure.pkg_config_path ${python_framework}/lib/pkgconfig 69 configure.env PATH=${python_framework}/bin:$env(PATH) 70 } 71 72 variant python26 conflicts python27 description {Build Bindings for Python 2.6} { 73 depends_lib-append port:py26-gtk 74 configure.python ${prefix}/bin/python2.6 75 set python_framework ${frameworks_dir}/Python.framework/Versions/2.6 76 configure.pkg_config_path ${python_framework}/lib/pkgconfig 77 configure.env PATH=${python_framework}/bin:$env(PATH) 78 } 79 69 80 configure.args --build=${configure.build_arch}-apple-${os.platform}${os.version} \ 70 81 --enable-mp \ 71 82 --with-pdbgen \ … … 77 88 --without-gvfs \ 78 89 --without-webkit 79 90 80 variant no_python description {Disable Python scripts and filters} { 81 depends_lib-delete port:py26-gtk 91 variant no_python conflicts python26 python27 description {Disable Python scripts and filters} { 82 92 configure.args-append --disable-python 83 93 } 84 94 95 # default to python27 bindings 96 if {![variant_isset no_python] && ![variant_isset python27] && ![variant_isset python26]} { 97 default_variants +python27 98 } 99 85 100 variant gvfs description {Enable gvfs support} { 86 101 depends_lib-append port:gvfs 87 102 configure.args-delete --without-gvfs