Skip to content
Permalink
Browse files

postgis2: step up to 2.4.4 and create +proj4 variant

  • Loading branch information
Veence committed Apr 10, 2018
1 parent 86585b7 commit edae202a3a96b55b575463c3f1bbf6a6d31a2ff5
Showing with 14 additions and 6 deletions.
  1. +14 −6 databases/postgis2/Portfile
@@ -5,9 +5,9 @@ PortSystem 1.0
name postgis2
categories databases gis
license GPL-2+
version 2.4.3
version 2.4.4
epoch 1
revision 2
revision 0
platforms darwin
maintainers vince openmaintainer

@@ -24,16 +24,16 @@ homepage http://postgis.refractions.net/
master_sites http://download.osgeo.org/postgis/source
distname postgis-${version}

checksums rmd160 0c0d4ca47a9a0cddfdc3127558d19a5a193d8c68 \
sha256 ea5374c5db6b645ba5628ddcb08f71d3b3d90a464d366b4e1d20d5a268bde4b9
checksums rmd160 f9d5274a25b9e9e05a6f25343c9185bcd1fa4b3a \
sha256 0663efb589210d5048d95c817e5cf29552ec8180e16d4c6ef56c94255faca8c2

depends_build port:autoconf \
port:automake \
port:libtool \
port:libxslt

depends_lib port:geos\
port:proj4\
port:proj\
port:libiconv\
port:libxml2\
port:json-c
@@ -105,6 +105,15 @@ variant gui description {Build the GUI import tool} {
configure.args-append --with-gui
}

configure.args-append --with-projdir=${prefix}/lib/proj5

variant proj4 description {Builds with PROJ4 4.9 instead of PROJ4 5+} {
depends_lib-delete port:proj
depends_lib-append port:proj4
configure.args-delete --with-projdir=${prefix}/lib/proj5
configure.args-append --with-projdir=${prefix}/lib/proj49
}

variant comments description {Build comments -- ! broken } {

ui_warn "The comments variant is currently broken. Use at your own risk."
@@ -131,7 +140,6 @@ configure.cflags-append \

# see https://trac.macports.org/wiki/UsingTheRightCompiler
configure.env-append CPPBIN=${configure.cpp}
configure.args-append --with-projdir=${prefix}/lib/proj49

post-configure {
if {[variant_isset universal]} {

0 comments on commit edae202

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