# -*- 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.1 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 b1675c75af933af7ff84c51a6afbf709badc3fce \ sha256 ffe20170ee2b952207adf8a195e2141eab12cda181e49fdeb54425d98c7171d7 \ size 5665272 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}"