Ticket #35791: inkscape-textext_Portfile.diff

File inkscape-textext_Portfile.diff, 1.2 KB (added by jjstickel (Jonathan Stickel), 12 years ago)
  • graphics/inkscape-textext/Portfile

    old new  
    55
    66name                    inkscape-textext
    77version                 0.4.4
     8revision                1
    89categories              graphics tex
    910maintainers             gmail.com:jjstickel
    1011license                 BSD
     
    2930                        port:pdf2svg \
    3031                        bin:pdflatex:texlive-latex
    3132
     33variant python26 conflicts python27 description {Configure to use Python version 2.6} {}
     34variant python27 conflicts python26 description {Configure to use Python version 2.7} {}
     35
     36if { ![variant_isset python26] } {
     37        default_variants      +python27
     38}
     39if {[variant_isset python26]} {
     40    set python.version 26
     41} elseif {[variant_isset python27]} {
     42    set python.version 27
     43}
     44
     45variant tkinter description {use py-tkinter backend} {
     46    depends_run-append  port:py${python.version}-tkinter
     47}
     48variant pygtk description {use py-gtk backend} {
     49    depends_run-append  port:py${python.version}-gtk
     50}
     51
     52default_variants-append    +pygtk
     53
    3254build {}
    3355
    3456destroot {