Changeset 116694 for trunk/dports/gis


Ignore:
Timestamp:
Feb 3, 2014, 9:01:55 PM (6 years ago)
Author:
macsforever2000@…
Message:

gdal: Fix mrsid variant. Update for latest geoexpress-sdk. (#36496)

Location:
trunk/dports/gis/gdal
Files:
2 deleted
1 edited

Legend:

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

    r115709 r116694  
    66name                gdal
    77version             1.10.1
    8 revision            2
     8revision            3
    99categories          gis
    1010license             MIT BSD
     
    136136    depends_lib-append      port:geoexpress-sdk
    137137    configure.args-delete   --without-mrsid
    138     configure.args-append       --with-mrsid=${prefix}/share/Geo_DSDK
    139 
    140     # Fixes for Geo_DSDK 7.x - http://trac.osgeo.org/gdal/ticket/2410
    141     patchfiles-append       patch-frmts_mrsid_mrsiddataset.cpp \
    142                             patch-mrsid-configure
     138    configure.args-append       --with-mrsid=${prefix}/share/Geo_DSDK/Raster_DSDK
    143139}
    144140
     
    324320    xinstall -m 644 -W ${worksrcpath} HOWTO-RELEASE NEWS VERSION \
    325321        ${destroot}${prefix}/share/doc/${name}
     322
     323    if {[variant_isset mrsid]} {
     324         foreach f [list \
     325            bin/gdal_contour \
     326            bin/gdal_grid \
     327            bin/gdal_rasterize \
     328            bin/gdal_translate \
     329            bin/gdaladdo \
     330            bin/gdalbuildvrt \
     331            bin/gdaldem \
     332            bin/gdalenhance \
     333            bin/gdalinfo \
     334            bin/gdallocationinfo \
     335            bin/gdalmanage \
     336            bin/gdalserver \
     337            bin/gdalsrsinfo \
     338            bin/gdaltindex \
     339            bin/gdaltransform \
     340            bin/gdalwarp \
     341            bin/nearblack \
     342            bin/ogr2ogr \
     343            bin/ogrinfo \
     344            bin/ogrtindex \
     345            bin/testepsg \
     346            lib/libgdal.1.dylib] \
     347            {
     348                exec install_name_tool -change libltidsdk.9.dylib ${prefix}/share/Geo_DSDK/Raster_DSDK/lib/libltidsdk.9.dylib ${destroot}${prefix}/${f}
     349            }
     350    }
     351
    326352}
    327353
Note: See TracChangeset for help on using the changeset viewer.