Ticket #20666: Portfile.diff

File Portfile.diff, 1.3 KB (added by mdippery@…, 15 years ago)

A new version of the Portfile with changes from comments incorporated

  • Portfile

    old new  
    66categories-append  graphics math
    77name               py26-matplotlib
    88version            0.99.0
     9revision           1
    910maintainers        ram openmaintainer
    1011platforms          darwin
    1112
     
    2930                   port:libpng \
    3031                   port:py26-dateutil \
    3132                   port:py26-tz \
    32                    port:py26-numpy \
    33                    port:py26-configobj \
    34                    port:py26-pyobjc
     33                   port:py26-numpy
    3534
    3635patchfiles         patch-setupext.py.diff \
    3736                   patch-setup.cfg.diff \
     
    6362}
    6463
    6564platform darwin 9 {
    66   depends_lib-delete port:py26-pyobjc
    67   depends_lib-append port:py26-pyobjc2 port:py26-pyobjc2-cocoa
     65  if { [variant_isset cocoa] } {
     66    depends_lib-delete port:py26-pyobjc
     67    depends_lib-append port:py26-pyobjc2 port:py26-pyobjc2-cocoa
     68  }
    6869}
    6970
    7071variant cairo description "Enable Cairo backends" {
     
    102103  }
    103104}
    104105
     106variant cocoa description "Enable CocoaAgg backend" {
     107  depends_lib-append port:py26-pyobjc
     108  post-patch {
     109    reinplace "s|MP_MACOSX=False|MP_MACOSX=True|" ${worksrcpath}/setupext.py
     110  }
     111}
     112
    105113variant latex description "Enable LaTeX support" {
    106114  depends_lib-append port:texlive
    107115  post-patch {