Ignore:
Timestamp:
Aug 14, 2013, 1:07:28 PM (6 years ago)
Author:
elelay@…
Message:

py*-gtkspell: replace ports py26-gtkspell, py27-gtkspell with subports of new py-gtkspell

Location:
trunk/dports/gnome/py-gtkspell
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/dports/gnome/py-gtkspell/Portfile

    r106637 r109376  
    44PortSystem          1.0
    55
    6 name                py27-gtkspell
     6name                py-gtkspell
    77version             2.25.3
    88revision            2
     
    3232
    3333depends_build       port:pkgconfig
    34 depends_lib         port:py27-pygtk \
    35                                         port:gtkspell2
     34depends_lib         port:gtkspell2
    3635
    3736patchfiles          patch-configure.diff
     
    3938configure.args-append   --disable-allbindings --enable-gtkspell
    4039
    41 set python.branch   2.7
     40subport py27-gtkspell {
     41    depends_lib-append port:py27-pygtk
     42}
     43
     44subport py26-gtkspell {
     45    depends_lib-append port:py26-pygtk
     46}
     47
     48if {$subport == "py27-gtkspell"} {
     49    set python.branch   2.7
     50} elseif {"$subport" == "py26-gtkspell"} {
     51    set python.branch   2.6
     52} else {
     53    set python.branch dummy
     54}
     55
     56
    4257set python.prefix   ${frameworks_dir}/Python.framework/Versions/${python.branch}
    4358set python.bin      ${python.prefix}/bin/python${python.branch}
Note: See TracChangeset for help on using the changeset viewer.