Ticket #42328: geoexpress-sdk.diff

File geoexpress-sdk.diff, 4.6 KB (added by jsm@…, 11 years ago)
  • 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}
     
    3634
    3735destroot {
    3836        file copy ${worksrcpath} ${destroot}${prefix}/share/Geo_DSDK
    39         system "ln -s ${prefix}/share/Geo_DSDK/bin/mrsiddecode ${destroot}${prefix}/bin"
    40         system "ln -s ${prefix}/share/Geo_DSDK/bin/mrsidinfo ${destroot}${prefix}/bin"
     37        system "ln -s ${prefix}/share/Geo_DSDK/Raster_DSDK/bin/mrsiddecode ${destroot}${prefix}/bin/mrsiddecode"
     38        system "ln -s ${prefix}/share/Geo_DSDK/Raster_DSDK/bin/mrsidinfo ${destroot}${prefix}/bin/mrsidinfo"
     39       
     40        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"
     41
     42        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"
     43
     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_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"
     45
     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 ${prefix}/share/Geo_DSDK/Raster_DSDK/lib/libgeos.2.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/bin/mrsidinfo"
     49
     50        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"
     51
     52        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"
     53
     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.1.1.dylib"
     55
     56        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"
     57
     58        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"
     59
     60        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"
    4161}
     62
     63