[139670] trunk/dports/gis/kealib
vince at macports.org
vince at macports.org
Mon Aug 24 04:12:45 PDT 2015
Revision: 139670
https://trac.macports.org/changeset/139670
Author: vince at macports.org
Date: 2015-08-24 04:12:45 -0700 (Mon, 24 Aug 2015)
Log Message:
-----------
kealib: bump to 1.4.4 and fixes #48677
Modified Paths:
--------------
trunk/dports/gis/kealib/Portfile
Added Paths:
-----------
trunk/dports/gis/kealib/files/
trunk/dports/gis/kealib/files/patch-gdal-CMakeLists.txt.diff
Modified: trunk/dports/gis/kealib/Portfile
===================================================================
--- trunk/dports/gis/kealib/Portfile 2015-08-24 10:07:13 UTC (rev 139669)
+++ trunk/dports/gis/kealib/Portfile 2015-08-24 11:12:45 UTC (rev 139670)
@@ -4,10 +4,8 @@
PortGroup cmake 1.0
PortGroup bitbucket 1.0
-bitbucket.setup chchrsc kealib c6d36f3
+bitbucket.setup chchrsc kealib 1.4.4
categories gis
-version 1.4.2.20140825
-revision 2
license MIT
maintainers vince
description KEAlib - Implements KEA file format into HDF5 format
@@ -17,28 +15,28 @@
built atop HDF5.
platforms darwin
homepage https://bitbucket.org/chchrsc/kealib
+bitbucket.tarball_from downloads
+checksums rmd160 75b2c52bfde30d7317edcded3647d10871e05f51 \
+ sha256 a7da510cc8df545fdb270ae509f7cec40d9ab5c98415459283cffb667d421063
+
depends_lib-append port:gdal \
port:hdf5
-fetch.type hg
+worksrcdir ${worksrcdir}/trunk
-pre-configure {
- reinplace -E "s/(gdalplugins)/lib\\/\\1/" ${worksrcpath}/trunk/gdal/CMakeLists.txt
-}
+patchfiles patch-gdal-CMakeLists.txt.diff
-configure.dir ${worksrcpath}/trunk
configure.args-append -DGDAL_INCLUDE_DIR=${prefix} \
-DGDAL_LIB_PATH=${prefix} \
-DHDF5_INCLUDE_DIR=${prefix} \
- -DHDF5_LIB_PATH=${prefix} \
- -DCMAKE_VERBOSE_MAKEFILE=ON
+ -DHDF5_LIB_PATH=${prefix}
-build.dir ${worksrcpath}/trunk
+cmake.out_of_source no
+
use_parallel_build no
-pre-install {
- ui_msg "To be able to use KEA format in GDAL, set and export\
- (or setenv) the variable GDAL_DRIVER_PATH to \
- ${prefix}/lib/gdalplugins."
-}
+notes "
+To be able to use KEA format in GDAL, set and export (or setenv) the\
+variable GDAL_DRIVER_PATH to ${prefix}/lib/gdalplugins.
+"
Added: trunk/dports/gis/kealib/files/patch-gdal-CMakeLists.txt.diff
===================================================================
--- trunk/dports/gis/kealib/files/patch-gdal-CMakeLists.txt.diff (rev 0)
+++ trunk/dports/gis/kealib/files/patch-gdal-CMakeLists.txt.diff 2015-08-24 11:12:45 UTC (rev 139670)
@@ -0,0 +1,11 @@
+--- gdal/CMakeLists.txt.orig 2015-01-08 01:48:57.000000000 -0600
++++ gdal/CMakeLists.txt 2015-08-22 21:40:49.000000000 -0500
+@@ -45,5 +45,5 @@
+
+ ###############################################################################
+ # Installation
+-install (TARGETS ${LIBKEA_GDAL_DRIVER} DESTINATION gdalplugins)
+-###############################################################################
+\ No newline at end of file
++install (TARGETS ${LIBKEA_GDAL_DRIVER} DESTINATION lib/gdalplugins)
++###############################################################################
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150824/077ba83c/attachment.html>
More information about the macports-changes
mailing list