Ticket #42328: Portfile-geoexpress-sdk.diff

File Portfile-geoexpress-sdk.diff, 3.2 KB (added by mf2k (Frank Schima), 11 years ago)

Updated attempt

  • Portfile

    old new  
    22
    33PortSystem 1.0
    44name            geoexpress-sdk
    5 version         8.5.0.3422
     5version         9.0.0.3864
    66maintainers     landonf openmaintainer
    77platforms       darwin
    88description     LizardTech's SDK for reading MrSID and JPEG 2000 imagery
     
    1616master_sites    http://www.lizardtech.com/developer/
    1717categories      science
    1818
    19 distname        MrSID_DSDK-${version}-darwin10.universal.gccA42
    20 worksrcdir      MrSID_DSDK-${version}-darwin10.universal.gccA42
    21 
    22 checksums       md5     598c39ce8427b73d7126ffc4ff852454 \
    23                 sha1    94ebc0f28653eb470b9d58bb55ca0d8a00f36218 \
    24                 rmd160  7ddc2bdc4f7af7323575f4e4fc0e0239791de341
     19distname        MrSID_DSDK-${version}-darwin12.universal.gccA42
     20worksrcdir      MrSID_DSDK-${version}-darwin12.universal.gccA42
    2521
     22checksums           rmd160  8dfa4c95cd5f238b88e5629da097462a4fc77407 \
     23                    sha256  e8918b08571d7669cf44b363494de9767f61375f323bb6aab83069bd13d1f9bd
    2624
    2725fetch {
    2826        file mkdir ${distpath}
     
    3836        file copy ${worksrcpath} ${destroot}${prefix}/share/Geo_DSDK
    3937        system "ln -s ${prefix}/share/Geo_DSDK/bin/mrsiddecode ${destroot}${prefix}/bin"
    4038        system "ln -s ${prefix}/share/Geo_DSDK/bin/mrsidinfo ${destroot}${prefix}/bin"
     39
     40    #system "install_name_tool -change $wrongpath $correctpath $brokenbinary"
     41   
     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/bin/mrsiddecode"
     43
     44    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"
     45
     46    ui_msg "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"
     47
     48    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"
     49
     50    ui_msg "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"
     51
     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"
    4153}