Changeset 69450 for trunk/dports/tex


Ignore:
Timestamp:
Jul 6, 2010, 3:03:18 PM (9 years ago)
Author:
milosh@…
Message:

add conflicts in variants

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/tex/rubber/Portfile

    r69423 r69450  
    3030destroot.args   prefix=${destroot}${prefix}
    3131
    32 default_variants +python26
    33 
    34 variant python24 description {Use python2.4} {
     32variant python24 conflicts python25 python26 python27 description {Use python 2.4} {
    3533        depends_lib-append      port:python24
    3634        configure.args-append   --python=${prefix}/bin/python2.4
    3735}
    3836
    39 variant python25 description {Use python2.5} {
     37variant python25 conflicts python24 python26 python27 description {Use python 2.5} {
    4038        depends_lib-append      port:python25
    4139        configure.args-append   --python=${prefix}/bin/python2.5
    4240}
    4341
    44 variant python26 description {Use python2.6} {
     42variant python26 conflicts python24 python25 python27 description {Use python 2.6} {
    4543        depends_lib-append      port:python26
    4644        configure.args-append   --python=${prefix}/bin/python2.6
    4745}
    4846
    49 variant python27 description {Use python2.7} {
     47variant python27 conflicts python24 python25 python26 description {Use python 2.7} {
    5048        depends_lib-append      port:python27
    5149        configure.args-append   --python=${prefix}/bin/python2.7
    5250}
     51
     52if {![variant_isset python24] && ![variant_isset python25] && ![variant_isset python26] && ![variant_isset python27]} {
     53        default_variants +python26
     54}
Note: See TracChangeset for help on using the changeset viewer.