# -*- 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 perl5 1.0 perl5.branches 5.28 5.30 5.32 5.34 perl5.setup Alien-proj 1.29 revision 0 license {Artistic-1 GPL} maintainers {devans @dbevans} openmaintainer description Alien::proj - Find/Install the PROJ library, version 6.1+ long_description {*}${description} platforms {darwin any} supported_archs noarch checksums rmd160 181109230cf528cd446099912afa7fa4aba78b4d \ sha256 ffa35acf28fdf35d9ea493767dc8cc51740a3ad8f3b78812bffe2bdbff4be54a \ size 17285 # requires proj 7.1+ variant proj7 conflicts proj8 proj9 description {Build with support for the Proj7 projection library} {} variant proj8 conflicts proj7 proj9 description {Build with support for the Proj8 projection library} {} variant proj9 conflicts proj7 proj8 description {Build with support for the Proj9 projection library} {} if {![variant_isset proj7] && \ ![variant_isset proj8] && \ ![variant_isset proj9]} { default_variants +proj9 } if {${perl5.major} != ""} { depends_build-append \ port:pkgconfig \ port:p${perl5.major}-alien-build-plugin-cleanse-builddir \ port:p${perl5.major}-alien-build-plugin-pkgconfig-ppwrapper \ port:p${perl5.major}-alien-sqlite \ port:p${perl5.major}-file-find-rule \ port:p${perl5.major}-file-which \ port:p${perl5.major}-path-tiny \ port:p${perl5.major}-pkgconfig \ port:p${perl5.major}-sort-versions depends_lib-append \ port:p${perl5.major}-alien-build \ port:p${perl5.major}-alien-curl \ port:p${perl5.major}-ffi-checklib if {[variant_isset proj7]} {set proj_name proj7} if {[variant_isset proj8]} {set proj_name proj8} if {[variant_isset proj9]} {set proj_name proj9} depends_lib-append port:${proj_name} set proj_prefix ${prefix}/lib/${proj_name} set proj_env_items [list "ALIEN_INSTALL_TYPE=system" \ "PATH=${proj_prefix}/bin:${::env(PATH)}" \ "PKG_CONFIG_PATH=${proj_prefix}/lib/pkgconfig"] foreach item $proj_env_items { configure.env-append $item build.env-append $item test.env-append $item } }