Changeset 111638


Ignore:
Timestamp:
Sep 27, 2013, 5:00:07 PM (7 years ago)
Author:
vince@…
Message:

Rework the port file to be compatible with the framework installation of wxpython 3.0

Location:
trunk/dports/gis/saga
Files:
1 added
1 edited

Legend:

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

    r111622 r111638  
    4343                    port:unixodbc
    4444
     45set wx30frmwk ${frameworks_dir}/wxWidgets.framework/Versions/wxWidgets/2.9
     46
     47post-patch  {
     48    reinplace -E "s|wx-config|${wx30frmwk}/bin/wx-config|" ${worksrcpath}/configure.in
     49}
    4550
    4651use_autoreconf              yes
     
    4954configure.args              --disable-openmp
    5055configure.cppflags-append   -I${prefix}/lib/proj47/include
     56configure.cppflags-append   -I${wx30frmwk}/include/wx-2.9
     57configure.cppflags-append   -I${wx30frmwk}/lib/wx/include/osx_cocoa-unicode-2.9
    5158
    5259variant python27 {
     
    5663}
    5764
     65pre-build {
     66    set mkfiles [exec find ${worksrcpath} -type f -name Makefile]
     67    foreach makefile ${mkfiles} {
     68        reinplace -E "s|wx-config|${wx30frmwk}/bin/wx-config|" ${makefile}
     69    }
     70}
     71   
     72
    5873livecheck.type              regex
    5974livecheck.url               ${master_sites}
Note: See TracChangeset for help on using the changeset viewer.