source: trunk/dports/science/geoexpress-sdk/Portfile

Last change on this file was 142698, checked in by landonf@…, 2 years ago

Drop maintainership of (almost) all my ports, as I'm no longer using Mac OS X as my desktop OS.

The dict port here dates back to ~2002; it was the first port used as a test case when we were developing MacPorts.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 4.5 KB
Line 
1# $Id: Portfile 142698 2015-11-20 16:55:09Z ryandesign@macports.org $
2
3PortSystem 1.0
4name            geoexpress-sdk
5version         9.0.0.3864
6maintainers     nomaintainer
7platforms       darwin
8description     LizardTech's SDK for reading MrSID and JPEG 2000 imagery
9long_description \
10                LizardTech's SDK for reading MrSID and JPEG 2000 imagery. This \
11                SDK is NOT open source software, and must be downloaded \
12                manually from http://www.lizardtech.com/developer/ \
13                Please carefully review the SDK agreement prior to downloading \
14                and installing this software.
15homepage        http://www.lizardtech.com/developer/
16master_sites    http://www.lizardtech.com/developer/
17categories      science
18
19distname        MrSID_DSDK-${version}-darwin12.universal.gccA42
20worksrcdir      MrSID_DSDK-${version}-darwin12.universal.gccA42
21
22checksums       rmd160  8dfa4c95cd5f238b88e5629da097462a4fc77407 \
23                sha256 e8918b08571d7669cf44b363494de9767f61375f323bb6aab83069bd13d1f9bd
24
25fetch {
26        file mkdir ${distpath}
27        if {![file exists ${distpath}/${distfiles}]} {
28                error "NOTE: Due to licensing restrictions, '${distfiles}' must be manually downloaded from ${homepage} and placed in ${distpath}"
29        }
30}
31
32use_configure       no
33build {}
34
35destroot {
36        file copy ${worksrcpath} ${destroot}${prefix}/share/Geo_DSDK
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"
61}
Note: See TracBrowser for help on using the repository browser.