# -*- 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 compiler_blacklist_versions 1.0 set realname proj name ${realname}9 version 9.4.0 revision 0 categories-append gis license MIT maintainers {stromnov @stromnov} openmaintainer description PROJ is a generic coordinate transformation software long_description PROJ is a generic coordinate transformation software \ that transforms geospatial coordinates from one \ coordinate reference system (CRS) to another. This \ includes cartographic projections as well as \ geodetic transformations. homepage https://proj.org/ master_sites https://download.osgeo.org/proj/ distname ${realname}-${version} checksums rmd160 f3e311781b58cd6870581187e67e525188ab6a16 \ sha256 3643b19b1622fe6b2e3113bdb623969f5117984b39f173b4e3fb19a8833bd216 \ size 5652874 compiler.cxx_standard 2011 # error: return type 'const nn<[...]>' must match previous return type # 'nn<[...]>' when lambda expression has unspecified explicit return type compiler.blacklist-append {clang < 602} depends_lib-append port:sqlite3 \ port:curl cmake.install_prefix ${prefix}/lib/proj9 configure.args-append \ -DENABLE_CURL=ON \ -DENABLE_TIFF=OFF \ -DENABLE_IPO=OFF \ -DBUILD_TESTING=OFF \ -DBUILD_EXAMPLES=OFF \ -DPROJ_DATA_ENV_VAR_TRIED_LAST=OFF variant tiff description {Enable TIFF I/O} { depends_lib-append port:tiff configure.args-replace -DENABLE_TIFF=OFF -DENABLE_TIFF=ON } variant lto description {Enable Link Time Optimization} { configure.args-replace -DENABLE_IPO=OFF -DENABLE_IPO=ON } default_variants +tiff livecheck.type regex livecheck.url ${master_sites} livecheck.regex "${realname}-(\\d+(?:\\.\\d+)*)${extract.suffix}"