source: trunk/dports/gis/kealib/Portfile @ 124602

Last change on this file since 124602 was 124602, checked in by vince@…, 6 years ago

Take into account several remarks by Ryan.

  • Property svn:executable set to *
File size: 1.5 KB
Line 
1# $Id: Portfile 114431 2013-12-08 09:48:42Z and.damore@macports.org $
2
3PortSystem          1.0
4PortGroup           cmake 1.0
5PortGroup           bitbucket 1.0
6
7bitbucket.setup     chchrsc kealib c6d36f3
8categories          gis
9version             1.4.2.20140825
10license             MIT
11maintainers         vince
12description         KEAlib - Implements KEA file format into HDF5 format
13long_description    The KEA file format developed by the OSGEO is a GIS \
14                    oriented format that supports the GDAL model and allows \
15                    raster attribute tables for raster GIS operations. It is \
16                    built atop HDF5.
17platforms           darwin
18homepage            https://bitbucket.org/chchrsc/kealib
19
20depends_lib-append  port:gdal \
21                    port:hdf5
22
23fetch.type          hg
24
25pre-configure {
26    reinplace -E "s/(gdalplugins)/lib\\/\\1/" ${worksrcpath}/trunk/gdal/CMakeLists.txt
27}
28
29configure.dir           ${worksrcpath}/trunk
30configure.args-append   -DGDAL_INCLUDE_DIR=${prefix} \
31                        -DGDAL_LIB_PATH=${prefix} \
32                        -DHDF5_INCLUDE_DIR=${prefix} \
33                        -DHDF5_LIB_PATH=${prefix} \
34                        -DCMAKE_VERBOSE_MAKEFILE=ON
35
36build.dir               ${worksrcpath}/trunk
37use_parallel_build      no
38
39pre-install {
40    ui_msg "To be able to use KEA format in GDAL, set and export\
41            (or setenv) the variable GDAL_DRIVER_PATH to \
42            ${prefix}/lib/gdalplugins."
43}
Note: See TracBrowser for help on using the repository browser.