Skip to content
Permalink
Browse files

py-pyproj: uses PROJ versions from MacPorts instead of internally bun…

…dled one
  • Loading branch information
Veence committed Apr 10, 2018
1 parent bf9ea97 commit f0da6c0aebd471df2346cb20aff176d5afe03fae
Showing with 14 additions and 2 deletions.
  1. +14 −2 python/py-pyproj/Portfile
@@ -5,7 +5,7 @@ PortGroup python 1.0

name py-pyproj
version 1.9.5.1
revision 3
revision 4
categories-append devel
platforms darwin
license MIT
@@ -28,9 +28,21 @@ checksums rmd160 f1f3008fb452ac106310f8d4c73d7143f25690a3 \
sha256 53fa54c8fa8a1dfcd6af4bf09ce1aae5d4d949da63b90570ac5ec849efaf3ea8

if {${name} ne ${subport}} {
variant proj4 description {Uses proj4 4.9} {
depends_lib-append port:proj4
configure.env-append PROJ_DIR=${prefix}/lib/proj49
build.env-append PROJ_DIR=${prefix}/lib/proj49
destroot.env-append PROJ_DIR=${prefix}/lib/proj49
}
if {![variant_isset proj4]} {
depends_lib-append port:proj
configure.env-append PROJ_DIR=${prefix}/lib/proj5
build.env-append PROJ_DIR=${prefix}/lib/proj5
destroot.env-append PROJ_DIR=${prefix}/lib/proj5
}

depends_build-append \
port:py${python.version}-setuptools
depends_lib-append port:proj4

post-destroot {
xinstall -m 644 -W ${worksrcpath} \

0 comments on commit f0da6c0

Please sign in to comment.
You can’t perform that action at this time.