Changeset 111833 for trunk/dports/gis


Ignore:
Timestamp:
Oct 3, 2013, 6:43:51 AM (6 years ago)
Author:
vince@…
Message:

Correct tabs/spaces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/gis/qgis/Portfile

    r111832 r111833  
    3232patchfiles          patch-qgsmapcanvas_h.diff \
    3333                    patch-qgsmaplayerregistry_h.diff \
    34                                         patch-qgsfieldvalidator_sip.diff \
    35                                         patch-qgsattributedialog_h.diff \
    36                                         patch-qgsmessagelogviewer_h.diff
     34                    patch-qgsfieldvalidator_sip.diff \
     35                    patch-qgsattributedialog_h.diff \
     36                    patch-qgsmessagelogviewer_h.diff
    3737
    3838worksrcdir          ${name}-${version}
     
    6464
    6565if {![variant_isset python26] && ![variant_isset python27]} {
    66    
     66
    6767    default_variants    +python27
    6868}
     
    8585                            port:py26-spatialite
    8686
    87         set Py_FRM                              ${frameworks_dir}/Python.framework/Versions/2.6
     87    set Py_FRM              ${frameworks_dir}/Python.framework/Versions/2.6
    8888 
    8989    configure.args-append  "-DPYTHON_EXECUTABLE=${prefix}/bin/python2.6"
    9090    configure.args-append  "-DPYUIC4_PROGRAM=${prefix}/bin/pyuic4-2.6"
    9191    configure.args-append  "-DPYRCC4_PROGRAM=${prefix}/bin/pyrcc4-2.6"
    92         configure.args-append  "-DPYTHON_CUSTOM_FRAMEWORK=${Py_FRM}"
     92    configure.args-append  "-DPYTHON_CUSTOM_FRAMEWORK=${Py_FRM}"
    9393    configure.args-append  "-DSIP_BINARY_PATH=${Py_FRM}/bin/sip-2.6"
    9494   
    9595    pre-configure {
    96                 reinplace -E "s|Versions/Current|Versions/2.6|" \
    97                         ${worksrcpath}/cmake/FindPythonLibrary.cmake
    98         }
     96        reinplace -E "s|Versions/Current|Versions/2.6|" \
     97            ${worksrcpath}/cmake/FindPythonLibrary.cmake
     98    }
    9999}
    100100
     
    108108                            port:py27-spatialite
    109109
    110         set Py_FRM                              ${frameworks_dir}/Python.framework/Versions/2.7
     110    set Py_FRM              ${frameworks_dir}/Python.framework/Versions/2.7
    111111
    112112    configure.args-append  "-DPYTHON_EXECUTABLE=${prefix}/bin/python2.7"
    113113    configure.args-append  "-DPYUIC4_PROGRAM=${prefix}/bin/pyuic4-2.7"
    114114    configure.args-append  "-DPYRCC4_PROGRAM=${prefix}/bin/pyrcc4-2.7"
    115         configure.args-append  "-DPYTHON_CUSTOM_FRAMEWORK=${Py_FRM}"
     115    configure.args-append  "-DPYTHON_CUSTOM_FRAMEWORK=${Py_FRM}"
    116116    configure.args-append  "-DSIP_BINARY_PATH=${prefix}/bin/sip-2.7"
    117117
    118         pre-configure {
    119                 reinplace -E "s|Versions/Current|Versions/2.7|" \
    120                         ${worksrcpath}/cmake/FindPythonLibrary.cmake
    121         }
     118    pre-configure {
     119        reinplace -E "s|Versions/Current|Versions/2.7|" \
     120            ${worksrcpath}/cmake/FindPythonLibrary.cmake
     121    }
    122122}
    123123
     
    157157variant postgis2            description "Build postgis 2.x support" \
    158158                            conflicts postgis {
    159    
     159
    160160    depends_lib-append      port:postgis2
    161161}
     
    168168}
    169169
    170 configure.dir               ${worksrcpath}/build                                   
     170configure.dir               ${worksrcpath}/build
    171171configure.cmd               cmake ..
    172172
     
    188188        "-DSPATIALINDEX_LIBRARY=${prefix}/lib/libspatialindex.dylib"
    189189configure.args-append  "-DCMAKE_BUILD_TYPE=Release"
    190    
     190
    191191use_parallel_build          yes
    192192build.dir                   ${worksrcpath}/build
Note: See TracChangeset for help on using the changeset viewer.