Ticket #21729: Portfile-glade3.diff

File Portfile-glade3.diff, 1.1 KB (added by nodamage@…, 15 years ago)
  • Portfile

    old new  
    3030
    3131depends_lib     port:gtk2 \
    3232                port:libxml2 \
    33                 port:libgnomeui \
    34                 port:py25-gtk
     33                port:libgnomeui
    3534
    3635depends_run     port:hicolor-icon-theme \
    3736                port:devhelp
    3837
    3938configure.args  --disable-scrollkeeper
    4039
    41 configure.python ${prefix}/bin/python2.5
    42 
    4340post-activate   {
    4441        system "scrollkeeper-update"
    4542}
     
    5451         depends_run-delete port:devhelp
    5552}
    5653
     54variant python25 conflicts python26 description {Use Python 2.5} {
     55        depends_lib-append port:py25-gtk
     56        configure.python ${prefix}/bin/python2.5
     57}
     58
     59variant python26 conflicts python25 description {Use Python 2.6} {
     60        depends_lib-append port:py26-gtk
     61        configure.python ${prefix}/bin/python2.6
     62}
     63
     64if {![variant_isset python25]} {
     65    default_variants +python26
     66}
     67
    5768livecheck.type  regex
    5869livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
    5970livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}