Changeset 87659


Ignore:
Timestamp:
Dec 1, 2011, 12:25:46 AM (8 years ago)
Author:
devans@…
Message:

gnome-panel: add +python2[567] variants, default +python27, increment revision.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/gnome/gnome-panel/Portfile

    r85719 r87659  
    55name            gnome-panel
    66version         2.30.2
    7 revision        2
     7revision        3
    88set branch      [join [lrange [split ${version} .] 0 1] .]
    99maintainers     devans openmaintainer
     
    2828                port:gnome-doc-utils \
    2929                port:gtk-doc \
    30                 port:shared-mime-info \
    31                 port:python26
     30                port:shared-mime-info
    3231
    3332depends_lib     port:gnome-desktop \
     
    4140
    4241patchfiles      patch-configure.diff
    43 
    44 configure.python ${prefix}/bin/python2.6
    4542 
    4643configure.args  --x-includes=${prefix}/include \
     
    5754universal_variant no
    5855
     56variant python25 conflicts python26 python27 description {Build using Python 2.5} {
     57    configure.python          ${prefix}/bin/python2.5
     58    depends_build-append      port:python25
     59}
     60
     61variant python26 conflicts python25 python27 description {Build using Python 2.6} {
     62    configure.python          ${prefix}/bin/python2.6
     63    depends_build-append      port:python26
     64}
     65
     66variant python27 conflicts python25 python26 description {Build using Python 2.7} {
     67    configure.python          ${prefix}/bin/python2.7
     68    depends_build-append      port:python27
     69}
     70
     71if {![variant_isset python25] && ![variant_isset python26]} {
     72    default_variants +python27
     73}
     74
    5975post-activate {
    6076    system " \
Note: See TracChangeset for help on using the changeset viewer.