#-*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup cmake 1.1 PortGroup github 1.0 PortGroup boost 1.0 github.setup libLAS libLAS 7fc45ebf6f6d811a442b05f0637a0712da00d934 github.tarball_from archive version 1.8.1-20230311 revision 7 checksums rmd160 53cb0080e653155b79f7912fa37056cf5a3a0900 \ sha256 43b9e91ad31d5f76ae8af1a0665d0e95f0ccb177471024cf66eae2b46d99103a \ size 10743587 name liblas license BSD categories gis maintainers nomaintainer platforms darwin description LAS 1.0/1.1/1.2 ASPRS LiDAR data translation toolset long_description \ libLAS is a C/C++ library for reading and writing the very common LAS \ LiDAR format. The ASPRS LAS format is a sequential binary format used to \ store data from LiDAR sensors and by LiDAR processing software for data \ interchange and archival. homepage https://liblas.org/ compiler.cxx_standard 2011 patchfiles patch-gt_wkt_srs_cpp.diff \ patch-apps_CMakeLists.txt.diff configure.args-append \ -DWITH_GEOTIFF=ON \ -DWITH_GDAL=ON \ -DWITH_LASZIP=OFF configure.env-append GDAL_HOME=${prefix} # Set PROJ set proj_versions {6 7 8 9} set proj_variants {} foreach pjver ${proj_versions} { lappend proj_variants proj${pjver} } foreach proj_ver ${proj_versions} { set index [lsearch -exact ${proj_variants} proj${proj_ver}] set cflcts [lreplace ${proj_variants} ${index} ${index}] variant proj${proj_ver} description "Build with Proj${proj_ver}" conflicts {*}${cflcts} " depends_lib-append port:proj${proj_ver} configure.args-append -DPROJ4_INCLUDE_DIR=${prefix}/lib/proj${proj_ver} \ -DPROJ4_LIBRARY=${prefix}/lib/proj${proj_ver} " } set projdf "if {" foreach pv ${proj_versions} { set projdf "${projdf}!\[variant_isset proj${pv}\] && " } set projdf [string range ${projdf} 0 end-4] set projdf "${projdf}} { default_variants +proj${pv} }" eval ${projdf} depends_lib-append port:gdal \ port:libgeotiff \ port:tiff \ path:include/turbojpeg.h:libjpeg-turbo \ port:zlib \ port:laszip