Changeset 79270


Ignore:
Timestamp:
Jun 7, 2011, 10:58:08 PM (8 years ago)
Author:
ryandesign@…
Message:

diffuse: add python27 variant and use it by default; indicate this is noarch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/diffuse/Portfile

    r73451 r79270  
    55name                diffuse
    66version             0.4.4
     7revision            1
    78categories          devel
    89platforms           darwin
    910maintainers         tommyd openmaintainer
     11supported_archs     noarch
     12
    1013description         diffuse is a graphical diffing and merging tool
    1114long_description    Ddiffuse is a small and simple text merge tool \
     
    2427set pythonexec ""
    2528
    26 variant python24 conflicts python25 python26 description {Use python24} {
     29variant python24 conflicts python25 python26 python27 description {Use python24} {
    2730    depends_lib-append    port:py-gtk2
    2831    set pythonexec        ${prefix}/bin/python2.4
    2932}
    3033
    31 variant python25 conflicts python24 python26 description {Use python25} {
     34variant python25 conflicts python24 python26 python27 description {Use python25} {
    3235    depends_lib-append    port:py25-gtk
    3336    set pythonexec        ${prefix}/bin/python2.5
    3437}
    3538
    36 variant python26 conflicts python24 python25 description {Use python26} {
     39variant python26 conflicts python24 python25 python27 description {Use python26} {
    3740    depends_lib-append    port:py26-gtk
    3841    set pythonexec        ${prefix}/bin/python2.6
    3942}
    4043
    41 if {![variant_isset python24] && ![variant_isset python25]} {
    42     default_variants +python26
     44variant python27 conflicts python24 python25 python26 description {Use python27} {
     45    depends_lib-append    port:py27-gtk
     46    set pythonexec        ${prefix}/bin/python2.7
     47}
     48
     49if {![variant_isset python24] && ![variant_isset python25] && ![variant_isset python26]} {
     50    default_variants +python27
    4351}
    4452
Note: See TracChangeset for help on using the changeset viewer.