Ticket #31852: Portfile-fontforge.diff

File Portfile-fontforge.diff, 1.3 KB (added by michael@…, 13 years ago)
  • Portfile

    old new  
    131131    configure.args-append   --with-freetype-src=${workpath}/freetype-${ftversion}
    132132}
    133133
     134variant python26 conflicts python27 description {Enable Python support (Python 2.6)} {
     135    configure.args-delete   --without-python
     136    configure.args-append   --enable-pyextension
     137    configure.args-append   --with-python=${prefix}/bin/python2.6
     138    configure.args-append   --with-python-headers=${frameworks_dir}/Python.framework/Versions/2.6/include/python2.6
     139    destroot.args-append    PYTHON=${prefix}/bin/python2.6 PYTHONPREFIX=${frameworks_dir}/Python.framework/Versions/2.6
     140    depends_lib-append      port:python26
     141}
     142
     143variant python27 conflicts python26 description {Enable Python support (Python 2.7)} {
     144    configure.args-delete   --without-python
     145    configure.args-append   --enable-pyextension
     146    configure.args-append   --with-python=${prefix}/bin/python2.7
     147    configure.args-append   --with-python-headers=${frameworks_dir}/Python.framework/Versions/2.7/include/python2.7
     148    destroot.args-append    PYTHON=${prefix}/bin/python2.7 PYTHONPREFIX=${frameworks_dir}/Python.framework/Versions/2.7
     149    depends_lib-append      port:python27
     150}
     151
    134152livecheck.regex     ${name}_full-(\\d+)\.