New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 79512


Ignore:
Timestamp:
06/15/11 21:49:09 (4 years ago)
Author:
mcalhoun@…
Message:

pdflib: Add support for Python 2.7.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/print/pdflib/Portfile

    r75704 r79512  
    7474} 
    7575 
    76 variant python25 description {Enable Python language binding using version 2.5} conflicts python24 python26 { 
     76variant python25 description {Enable Python language binding using version 2.5} conflicts python24 python26 python27 { 
    7777        set pyversion           2.5 
    7878        depends_lib-append                      port:python[strsed ${pyversion} {g/[.]//}] 
     
    9090} 
    9191 
    92 variant python26 description {Enable Python language binding using version 2.6} conflicts python24 python25 { 
     92variant python26 description {Enable Python language binding using version 2.6} conflicts python24 python25 python27 { 
    9393        set pyversion           2.6 
     94        depends_lib-append                      port:python[strsed ${pyversion} {g/[.]//}] 
     95        configure.args-delete   --without-py 
     96        configure.args-append \ 
     97        --with-py=${frameworks_dir}/Python.framework/Versions/${pyversion} \ 
     98        --with-pyincl=${frameworks_dir}/Python.framework/Versions/${pyversion}/include/python${pyversion} 
     99        configure.env-append    PYTHONBIN=${prefix}/bin/python${pyversion} 
     100} 
     101 
     102variant python27 description {Enable Python language binding using version 2.7} conflicts python24 python25 python26 { 
     103        set pyversion           2.7 
    94104        depends_lib-append                      port:python[strsed ${pyversion} {g/[.]//}] 
    95105        configure.args-delete   --without-py 
Note: See TracChangeset for help on using the changeset viewer.