Ticket #55764: Portfile-geoexpress-sdk.diff

File Portfile-geoexpress-sdk.diff, 7.2 KB (added by ForTozs, 7 years ago)

Portfile-geoexpress-sdk.diff

  • Portfile

    old new  
    11PortSystem 1.0
    22name            geoexpress-sdk
    3 version         9.0.0.3864
     3version         9.5.4.4709
    44maintainers     nomaintainer
    55platforms       darwin
    66description     LizardTech's SDK for reading MrSID and JPEG 2000 imagery
     
    1414master_sites    http://www.lizardtech.com/developer/
    1515categories      science
    1616
    17 distname        MrSID_DSDK-${version}-darwin12.universal.gccA42
    18 worksrcdir      MrSID_DSDK-${version}-darwin12.universal.gccA42
     17distname        MrSID_DSDK-${version}-darwin16.universal.clang80
     18worksrcdir      MrSID_DSDK-${version}-darwin16.universal.clang80
    1919
    20 checksums       rmd160  8dfa4c95cd5f238b88e5629da097462a4fc77407 \
    21                 sha256 e8918b08571d7669cf44b363494de9767f61375f323bb6aab83069bd13d1f9bd
     20checksums           rmd160  1afa1c4bf109712cfbc436c20431cf102ca7a175 \
     21                    sha256  086f5dd508484e7ad915fb76ab962e96099b37ca8d759a0112d51eaa007cb488
    2222
    2323fetch {
    2424        file mkdir ${distpath}
     
    3535        system "ln -s ${prefix}/share/Geo_DSDK/Raster_DSDK/bin/mrsiddecode ${destroot}${prefix}/bin/mrsiddecode"
    3636        system "ln -s ${prefix}/share/Geo_DSDK/Raster_DSDK/bin/mrsidinfo ${destroot}${prefix}/bin/mrsidinfo"
    3737       
    38         system "install_name_tool -change /data/builds/Bob/darwin12.universal.gccA42__default/xt_lib_geos/darwin12.universal.gccA42/Release/src/geos-2.2.3/../../../../dist/darwin12.universal.gccA42/Release/lib/libgeos_c.1.dylib  ${prefix}/share/Geo_DSDK/Raster_DSDK/lib/libgeos_c.1.dylib ${destroot}${prefix}/share/Geo_DSDK/Raster_DSDK/bin/mrsiddecode"
     38#        system "install_name_tool -change /data/builds/Bob/darwin16.universal.gccA42__default/xt_lib_geos/darwin12.universal.gccA42/Release/src/geos-2.2.3/../../../../dist/darwin12.universal.gccA42/Release/lib/libgeos_c.1.dylib  ${prefix}/share/Geo_DSDK/Raster_DSDK/lib/libgeos_c.1.dylib ${destroot}${prefix}/share/Geo_DSDK/Raster_DSDK/bin/mrsiddecode"
    3939
    4040        system "install_name_tool -change libtbb.dylib  ${prefix}/share/Geo_DSDK/Raster_DSDK/lib/libtbb.dylib ${destroot}${prefix}/share/Geo_DSDK/Raster_DSDK/bin/mrsiddecode"
    4141
    42         system "install_name_tool -change /data/builds/Bob/darwin12.universal.gccA42__default/xt_lib_geos/darwin12.universal.gccA42/Release/src/geos-2.2.3/../../../../dist/darwin12.universal.gccA42/Release/lib/libgeos_c.1.dylib ${prefix}/share/Geo_DSDK/Raster_DSDK/lib/libgeos_c.1.dylib ${destroot}${prefix}/share/Geo_DSDK/Raster_DSDK/lib/libgeos_c.1.1.1.dylib"
     42#        system "install_name_tool -change /data/builds/Bob/darwin16.universal.gccA42__default/xt_lib_geos/darwin12.universal.gccA42/Release/src/geos-2.2.3/../../../../dist/darwin12.universal.gccA42/Release/lib/libgeos_c.1.dylib ${prefix}/share/Geo_DSDK/Raster_DSDK/lib/libgeos_c.1.dylib /opt/local/lib/libgeos_c.1.dylib"
    4343
    44         system "install_name_tool -change /data/builds/Bob/darwin12.universal.gccA42__default/xt_lib_geos/darwin12.universal.gccA42/Release/src/geos-2.2.3/../../../../dist/darwin12.universal.gccA42/Release/lib/libgeos ${prefix}/share/Geo_DSDK/Raster_DSDK/lib/libgeos.2.dylib ${destroot}${prefix}/share/Geo_DSDK/Raster_DSDK/lib/libgeos_c.1.1.1.dylib"
     44#        system "install_name_tool -change /data/builds/Bob/darwin16.universal.gccA42__default/xt_lib_geos/darwin12.universal.gccA42/Release/src/geos-2.2.3/../../../../dist/darwin12.universal.gccA42/Release/lib/libgeos ${prefix}/share/Geo_DSDK/Raster_DSDK/lib/libgeos.2.dylib ${destroot}${prefix}/share/Geo_DSDK/Raster_DSDK/lib/libgeos_c.1.1.1.dylib"
    4545
    46         system "install_name_tool -change /data/builds/Bob/darwin12.universal.gccA42__default/xt_lib_geos/darwin12.universal.gccA42/Release/src/geos-2.2.3/../../../../dist/darwin12.universal.gccA42/Release/lib/libgeos_c.1.dylib  ${prefix}/share/Geo_DSDK/Raster_DSDK/lib/libgeos_c.1.dylib ${destroot}${prefix}/share/Geo_DSDK/Raster_DSDK/bin/mrsidinfo"
     46#        system "install_name_tool -change /data/builds/Bob/darwin16.universal.gccA42__default/xt_lib_geos/darwin12.universal.gccA42/Release/src/geos-2.2.3/../../../../dist/darwin12.universal.gccA42/Release/lib/libgeos_c.1.dylib  ${prefix}/share/Geo_DSDK/Raster_DSDK/lib/libgeos_c.1.dylib ${destroot}${prefix}/share/Geo_DSDK/Raster_DSDK/bin/mrsidinfo"
    4747
    4848        system "install_name_tool -change libtbb.dylib  ${prefix}/share/Geo_DSDK/Raster_DSDK/lib/libtbb.dylib ${destroot}${prefix}/share/Geo_DSDK/Raster_DSDK/bin/mrsidinfo"
    4949
    5050        system "install_name_tool -change libtbb.dylib  ${prefix}/share/Geo_DSDK/Raster_DSDK/lib/libtbb.dylib ${destroot}${prefix}/share/Geo_DSDK/Raster_DSDK/lib/libltidsdk.9.dylib"
    5151
    52         system "install_name_tool -change /data/builds/Bob/darwin12.universal.gccA42__default/xt_lib_geos/darwin12.universal.gccA42/Release/src/geos-2.2.3/../../../../dist/darwin12.universal.gccA42/Release/lib/libgeos.2.dylib ${prefix}/share/Geo_DSDK/Raster_DSDK/lib/libgeos.2.dylib ${destroot}${prefix}/share/Geo_DSDK/Raster_DSDK/lib/libgeos_c.1.1.1.dylib"
     52#        system "install_name_tool -change /data/builds/Bob/darwin16.universal.gccA42__default/xt_lib_geos/darwin12.universal.gccA42/Release/src/geos-2.2.3/../../../../dist/darwin12.universal.gccA42/Release/lib/libgeos.2.dylib ${prefix}/share/Geo_DSDK/Raster_DSDK/lib/libgeos.2.dylib ${destroot}${prefix}/share/Geo_DSDK/Raster_DSDK/lib/libgeos_c.1.1.1.dylib"
    5353
    54         system "install_name_tool -change /data/builds/Bob/darwin12.universal.gccA42__default/xt_lib_geos/darwin12.universal.gccA42/Release/src/geos-2.2.3/../../../../dist/darwin12.universal.gccA42/Release/lib/libgeos.2.dylib ${prefix}/share/Geo_DSDK/Raster_DSDK/lib/libgeos.2.dylib ${destroot}${prefix}/share/Geo_DSDK/Raster_DSDK/lib/libgeos_c.1.dylib"
     54#        system "install_name_tool -change /data/builds/Bob/darwin16.universal.gccA42__default/xt_lib_geos/darwin12.universal.gccA42/Release/src/geos-2.2.3/../../../../dist/darwin12.universal.gccA42/Release/lib/libgeos.2.dylib ${prefix}/share/Geo_DSDK/Raster_DSDK/lib/libgeos.2.dylib ${destroot}${prefix}/share/Geo_DSDK/Raster_DSDK/lib/libgeos_c.1.dylib"
    5555
    5656        system "install_name_tool -change libtbb.dylib  ${prefix}/share/Geo_DSDK/Raster_DSDK/lib/libtbb.dylib ${destroot}${prefix}/share/Geo_DSDK/Raster_DSDK/lib/libltidsdk.dylib"
    5757
    58         system "install_name_tool -change /data/builds/Bob/darwin12.universal.gccA42__default/xt_lib_geos/darwin12.universal.gccA42/Release/src/geos-2.2.3/../../../../dist/darwin12.universal.gccA42/Release/lib/libgeos.2.dylib ${prefix}/share/Geo_DSDK/Raster_DSDK/lib/libgeos.2.dylib ${destroot}${prefix}/share/Geo_DSDK/Raster_DSDK/lib/libgeos_c.dylib"
     58#        system "install_name_tool -change /data/builds/Bob/darwin16.universal.gccA42__default/xt_lib_geos/darwin12.universal.gccA42/Release/src/geos-2.2.3/../../../../dist/darwin12.universal.gccA42/Release/lib/libgeos.2.dylib ${prefix}/share/Geo_DSDK/Raster_DSDK/lib/libgeos.2.dylib ${destroot}${prefix}/share/Geo_DSDK/Raster_DSDK/lib/libgeos_c.dylib"
     59       
     60        system "install_name_tool -add_rpath "/opt/local/share/Geo_DSDK/Raster_DSDK/lib/" /opt/local/share/Geo_DSDK/Raster_DSDK/lib/libtbb.dylib"
     61
     62        system "install_name_tool -add_rpath "/opt/local/share/Geo_DSDK/Raster_DSDK/lib/" /opt/local/share/Geo_DSDK/Raster_DSDK/lib/libltidsdk.dylib"
     63
     64        system "install_name_tool -add_rpath "/opt/local/share/Geo_DSDK/Raster_DSDK/lib/" /opt/local/lib/libgdal.20.dylib"
     65
    5966}